Commit graph

105 commits

Author SHA1 Message Date
Lokathor 9491249089 typo 2019-03-06 19:41:03 -07:00
Lokathor ac031627c8 Update IME to be u16 sized, avoid newtype_enum
newtype_enum makes an enum, but an enum can be UB if it's no a valid bit pattern. We should avoid having registers mapped to enum types.
2019-02-14 22:11:23 -07:00
Lokathor 3b688b907c Get all the code lined up 2019-02-14 19:39:34 -07:00
Lokathor 89b7cc0eaa Merge branch 'dev' into lokathor 2019-02-14 19:17:02 -07:00
Lokathor 273a8bd676 commit the changes 2019-02-14 19:16:09 -07:00
Ian Pickering 0d654032bb Add module for interrupt request (IRQ) handling 2019-02-13 17:08:57 -08:00
Ian Pickering dc2127b2ce Fix incorrect opcode of VBlankIntrWait BIOS function
It should be `swi 0x05` instead of `swi 0x04`.
2019-02-13 17:06:18 -08:00
Lokathor d43c66c0d9 new lib file 2019-02-13 01:47:25 -07:00
Lokathor 9e7937b956 tag TODOs in docs 2019-02-13 01:46:47 -07:00
Lokathor 5d89414c13 Update the Mode 3/4/5 abstractions 2019-02-13 01:45:48 -07:00
Lokathor 61218d99f2 Update mGBA usage, stuff it in a macros module 2019-02-13 01:45:23 -07:00
Lokathor 2ca888b572 Fix rustfmt to get things a little more compact 2019-02-12 10:00:16 -07:00
Lokathor 2929076e55 jump to 120
Picking this because it makes the `hello_magic.rs` lines all stay on one line.
2019-02-12 09:42:17 -07:00
Lokathor b67bdc80a1 io registers lesson, +cargo fmt with lin length down to 100 2019-02-11 21:59:17 -07:00
Lokathor da6ce44345 shouldn't this be pub? 2019-02-09 14:35:48 -07:00
Lokathor 84a4b4b89b Explain this better because even I forgot 2019-02-09 12:50:00 -07:00
Lokathor fc642c064d Convert to using the recently split off voladdress lib 2019-02-05 00:47:06 -07:00
Lokathor dcd7e40b15 Start towards 0.4 2019-02-04 20:25:40 -07:00
Lokathor c933e43dd6 mgba 0.7 came out! 2019-02-02 00:20:38 -07:00
Lokathor ddf6593f8b Delete the builtins module
The `__clzsi2` function is now part of the compiler-builtins crate, so it's part of all of Rust.
2019-02-01 23:36:17 -07:00
Lokathor ed7f830ad4 fix to work with latest nightly. 2019-01-12 21:06:38 -07:00
Lokathor 0fb9994131 IWRAM fix 2019-01-12 13:42:18 -07:00
Lokathor a1e35a9ed1 Merge branch 'master' into lokathor 2019-01-12 13:38:16 -07:00
Lokathor bc10122d58 admonish people to stay updated 2019-01-12 13:35:56 -07:00
Lokathor 0e363477b7 mGBA output wasn't resetting its length used 2019-01-12 13:34:43 -07:00
Eevee (Evelyn Woods) 91d40f0c5b Make ObjectAttributes's and AffineParameters's fields public 2019-01-08 18:20:08 -07:00
Eevee (Evelyn Woods) cdd4a3d109 Fix addresses for BG1HOFS and BG1VOFS 2019-01-08 17:23:11 -07:00
Lokathor 8ff32b0304 Update bios module to just build on x86
the actual functions are all unimplemented!() but oh well
2019-01-02 22:43:52 -07:00
Lokathor f825d78e71 More registers! 2018-12-31 16:28:20 -07:00
Lokathor 4217a2b795 add sound 2018-12-31 01:07:33 -07:00
Lokathor d62fbae4f0 more const! 2018-12-30 23:29:58 -07:00
Lokathor dfca52a079 newtype_enum, and other updates 2018-12-29 22:39:53 -07:00
Lokathor 4c7ec468d0 Modules and newtypes, joy! 2018-12-29 20:17:48 -07:00
Lokathor 6466a53475 Move to the phantom_fields! proc-macro 2018-12-29 00:06:08 -07:00
Lokathor bee2d16a5b More docs, and also less no-docs warnings 2018-12-27 23:34:12 -07:00
Lokathor f99da154e8 minor fixes 2018-12-27 23:22:48 -07:00
Lokathor e475253dcf small cleanups 2018-12-27 11:51:53 -07:00
Lokathor 147a2bc45c better vram, still not the best 2018-12-27 11:51:35 -07:00
Lokathor e10491eb8c OAM module 2018-12-27 11:51:07 -07:00
Lokathor cc8d4376f8 Add timer support 2018-12-27 01:05:21 -07:00
Lokathor 72bbe412b6 clearer module organization 2018-12-26 23:13:10 -07:00
Lokathor 6271614335 backgrounds and OAM start 2018-12-26 20:19:53 -07:00
Lokathor 01ac3ec09e travisCI fix 2018-12-25 23:52:30 -07:00
Lokathor d6a6301815 CLOSE to another release 2018-12-25 23:19:16 -07:00
Lokathor 0f1fa8269f More tiled data types 2018-12-25 16:46:01 -07:00
Lokathor c440be7467 reduce the use visibility 2018-12-25 16:45:51 -07:00
Lokathor 0a6a089e70 docs fixes 2018-12-25 16:45:40 -07:00
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