Commit graph

16 commits

Author SHA1 Message Date
Lokathor ab806bc9d6 we can pass in a bigger than necessary region. 2022-10-13 20:36:56 -06:00
Lokathor 5c40787c7b ln 2022-10-13 20:20:57 -06:00
Lokathor 90aa01d205 make the default cga font easier to unpack. 2022-10-13 20:19:39 -06:00
Lokathor 5059ceb7d4 try to keep the ideas of the addresses for blocks and the block data itself separate. 2022-10-13 19:41:29 -06:00
Lokathor 342d8fc25a cleanup 2022-10-09 12:32:14 -06:00
Lokathor 335d8c0455 first draft of an unpack wrapper, we probably want to use VolRegion or similar 2022-10-09 12:21:23 -06:00
Lokathor 1af762bde6 make the tile layout during const time. 2022-10-09 01:40:26 -06:00
Lokathor 1f79340c28 going back and forth on this, let's try calling it text mode for a while 2022-10-07 22:16:54 -06:00
Lokathor 710d35e207 begin improving the VRAM interface 2022-10-07 20:52:50 -06:00
Lokathor 64ab0f05f0 make the demo do a little more. 2022-10-06 22:11:13 -06:00
Lokathor 0840f9a6f7 update example 2022-10-06 17:23:32 -06:00
Lokathor ff16e0bbc6 test out BitUnpack, fix bugs. 2022-10-06 17:14:34 -06:00
Lokathor c3aa7591b2 i forgot we're not using this any more. 2022-09-27 17:58:06 -06:00
Lokathor 546b6e782e adds mgba logging support. 2022-09-27 17:57:09 -06:00
Lokathor e31f796375 temporarily do not provide our own aeabi divisions 2022-09-27 11:20:05 -06:00
Lokathor bf853b71d6
v0.7.0-remake (#168)
* Literally clear the repo to nothing for starters

* The screen color changes with key presses

There's enough code here that the screen color can change when you press the keys. Right now it's most all unsafe code directly in the example file. The strange thing is that llvm is making us define atomic helper functions when it's not supposed to do that, so we need to investigate more before proceeding too much.

* can't tell if this is broken or if mgba is busted on mac

* unix dumper

* don't panic

* oops

* GbaCell into its own file, also i had broken the rt irq handler.

* closer to an acceptable demo.

* make IrqFn into just an alias.

* wrap most current mmio types.

* more stuff

* Use paste to remove a whole bunch of repetition (#166)

* gba cells are "unwind safe", they can't be in a bad intermediate state, that's the point

* Once again we must thank Yandros for saving us from ourselves.

* assembly updates.

* oops

* finish video MMIO basics, no docs yet.

* small note.

* simplify asm irq handler stack usage.

* ewram support.

* more cell stuff.

* Remove the non-Zlib dependency, sorry Sp00ph :(

* add proper dma support.

* small docs improvement.

* bitmap and oam declarations

* more macros

* single bit constants will be extremely useful

* add `IntrWait`

* rename for clarity

* improvements

* use the new constant

* improve sound support

* timers

* key support

* add a prelude module.

* fix doc

* more and more assembly (mem fns will need global_asm probably)

* more comments.

* comment updates.

* readme

* more video support, and put IrqFn alias into interrupts module.

* finish working in the EABI code.

* CI config.

* funding file.

* rustc plz inline these functions when you can :3

* "rt0" is unnecessarily cryptic

* overhaul the readme.

* phrasing

Co-authored-by: Sp00ph <61327188+Sp00ph@users.noreply.github.com>
2022-09-27 10:40:05 -06:00