Commit graph

208 commits

Author SHA1 Message Date
Lokathor 89def7331b Quick start of a background module 2018-12-25 16:45:26 -07:00
Lokathor ce3ddd3bb0 Improving newtype 2018-12-25 16:45:10 -07:00
Lokathor 1a19831373 Page1 always starts at +0xA000 2018-12-25 16:20:51 -07:00
Lokathor cdd330f22d start of tiled data types 2018-12-25 14:47:26 -07:00
Lokathor ae408931f5 make this look more normal 2018-12-25 14:46:34 -07:00
Lokathor 08ff34ae43 make the BIOS test safe 2018-12-25 14:46:08 -07:00
Lokathor ecc7ea940d palram 2018-12-25 14:45:51 -07:00
Lokathor d2260fc117 Move Mode3/4/5 into gba::video::bitmap 2018-12-25 14:44:05 -07:00
Lokathor b183e9b6b4 Allow limited unsafe access to DMA3
Possibly make a "DMA" trait to ensure that things stay uniform once we also have DMA0/1/2?
2018-12-24 17:56:46 -07:00
Lokathor 6a07f95973 TODO for later 2018-12-24 16:05:11 -07:00
Lokathor 1dcecb72cb added the downshifts. 2018-12-24 16:02:47 -07:00
Lokathor 51dbb749ef DMA first draft 2018-12-24 15:43:36 -07:00
Lokathor ce3b871728 more button info 2018-12-24 11:57:57 -07:00
Lokathor 7d8c82ddbc mgba panic handler 100% safe, justrelease only tho 2018-12-23 15:52:42 -07:00
Lokathor 7ab96c35f2 light cycle is also 100% safe now 2018-12-23 15:10:14 -07:00
Lokathor 35ed03cb44 cleanup, hello world runs 100% safe now 2018-12-23 14:45:38 -07:00
Lokathor b927a348bd sensible goals 2018-12-22 00:26:52 -07:00
Lokathor 4586d2d95f module organization 2018-12-20 18:08:54 -07:00
Lokathor 8ede9f524d begin IO Register classification, start with KEYINPUT 2018-12-20 16:15:23 -07:00
Lokathor fdf0eebb69 Drop the quickcheck usage
Some day we can split the software math into its own crate and do quickcheck there, until then the test code must be fully no_std because otherwise the examples won't build (sadly, dev-dependencies applies to both tests and examples)
2018-12-20 15:30:08 -07:00
Lokathor 1ff25ca2b7 whoops 2018-12-19 21:04:28 -07:00
Lokathor c3f62b1ab5 trying a commit but i think nightly is broked 2018-12-19 20:58:41 -07:00
Lokathor f372923bad added some tests
and they even pass
2018-12-18 12:09:04 -07:00
Lokathor 4d27005150 fixed point stuff 2018-12-18 02:05:59 -07:00
Lokathor 58d739dd9e fixed point and stuff 2018-12-17 17:00:22 -07:00
Lokathor 779770a187 cleanup and cleanup designations 2018-12-16 20:55:53 -07:00
Lokathor 71a2de023f all sorts of new bios 2018-12-16 20:55:02 -07:00
Lokathor c892ac9681 Once we use one proc-macro, we might use them all 2018-12-16 20:54:50 -07:00
Lokathor 5408a11f54 bit/byte mixup 2018-12-16 15:22:27 -07:00
Lokathor 74d50b9218 typos 2018-12-16 15:20:07 -07:00
Lokathor 09b936262f more BIOS 2018-12-16 15:17:30 -07:00
Lokathor fd681b182e fix our math terms (thanks ubsan!) 2018-12-16 00:59:36 -07:00
Lokathor 9c547a62b1 new aims 2018-12-08 01:53:37 -07:00
Lokathor e9b62f1832 more writing, but the demo just shows white 2018-12-04 23:27:35 -07:00
Lokathor 6ae1374412 closer 2018-11-28 18:18:23 -07:00
Lokathor 2e2aec6ec9 tiles fixes, clippy fixes 2018-11-20 23:44:58 -07:00
Lokathor e4318df495 clippy stuff 2018-11-20 04:10:48 -07:00
Lokathor 62abc3cbd2 make mode3 clear a little speedier 2018-11-20 03:41:42 -07:00
Lokathor 241fb1746c edits, cleanups, and a goal for ch3 2018-11-17 17:14:42 -07:00
Lokathor 3a355db578 cargo-make Makefile.toml 2018-11-16 00:39:47 -07:00
Lokathor 8aa1bb0065 partial intrinsic work 2018-11-15 01:23:04 -07:00
Lokathor 6cb50aa2eb more proc-macro 2018-11-14 20:38:43 -07:00
Lokathor cb5d856e00 correctness 2018-11-14 20:14:36 -07:00
Lokathor 7bbbba66de more proc-macro! 2018-11-14 19:53:53 -07:00
Lokathor 0a7da9e6d2 More mode3 2018-11-14 19:50:42 -07:00
Lokathor e962b893fc More cargo test friendly 2018-11-14 19:49:00 -07:00
Lokathor 3789e206f3 VolatilePtr should be testing safe now 2018-11-14 19:47:56 -07:00
Lokathor a4b6a4e8b2 Revert "Deploy rust-console/gba to github.com/rust-console/gba.git:master"
This reverts commit 2f1c243742.
2018-11-13 12:47:52 -07:00
DocsBot (from Travis CI) 2f1c243742 Deploy rust-console/gba to github.com/rust-console/gba.git:master 2018-11-13 19:43:53 +00:00
Lokathor 4b4fc31956 key input stuff added to the lib
I'm not sure this is the best key input interface, but this is _an_ interface to use for now at least.
2018-11-12 16:37:38 -07:00
Lokathor cdb9be13d6 keyinput section 2018-11-12 14:57:28 -07:00
Lokathor db00e1e24d Remove trivial commented out code
no need to "keep it for later" when it's just an import
2018-11-11 00:30:13 -07:00
Lokathor 0b9d8e9b29 hello world chapter is complete 2018-11-10 23:39:26 -07:00
Lokathor 097dd72124 almost chapter 1 2018-11-10 02:03:37 -07:00
Lokathor 5a49cbc713 Display Control 2018-11-08 22:08:13 -07:00
Lokathor 4c99082b20 triggered an ICE 2018-11-08 20:33:47 -07:00
Lokathor e9b26f838b io register groundwork
the current goal is to get enough done that we can write a sensical looking hello world game, and then put a writeup of that into the book.
2018-11-07 23:43:22 -07:00
Lokathor dfb56c21b2 crate start 2018-11-07 21:21:17 -07:00