* 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>
Per https://docs.rs/about/metadata this hopefully fixes builds on docs.rs. Minor version bump so that docs.rs can pick up the new version from crates.io
* .
* more updates, much more to do soon.
* hello world works again.
* fix key interrupts.
* remove the old book
* don't forget timers.
* we can just use search, duh.
* cleanup
* more bios
* finished most mmio, finished bios.
* dump some old macros that shouldn't have been pub to begin with.
* Update README.md
* for now, just make this a u16
* timers
* fix hello_world
* timer fix
* docs on timers
* block resetting work ram for now.
* put preserves_flags on bios calls as appropriate
* add a code page 437 tile sheet.
* docs.
* sound :( it's all bad but we'll fix it in 0.5
* move most backup files back into the lib.
* CI might work now?
* fix up non-serial examples.
* oops, gotta check out the repo.
* readme.
* Simplify build process
- Remove dependencies on DevkitPro
- Use linker similarly to min-gba
- Update cargo.toml so that dev builds will build
- Update cargo config so that std builds can run without the linker for
testing purposes
- Update CI flow to remove xbuild dependency
* Add windows toolchain install
* Add windows section to toolchain install instructions
* Add Serial and GPIO registers and implement embedded_hal traits
Use VolAddress and phantom_fields to populate the SIOCNT, RCNT, and
SIODATA8 registers. Implement embedded_hal serial traits around an empty
SioSerial struct.
Hide serial read and write traits behind a "serial" feature flag
to make embedded-hal and nb dependencies optional.
* UART echo example
Enable the serial feature for this example. Provide a pinout
diagram to assist people with wiring up a USB to UART adapter.
* mGBA output wasn't resetting its length used
* admonish people to stay updated
* IWRAM fix
* version bump
* fix to work with latest nightly.
* don't know what this is or why we have it
* Delete the builtins module
The `__clzsi2` function is now part of the compiler-builtins crate, so it's part of all of Rust.
* ??
* mgba 0.7 came out!
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)