Commit graph

28 commits

Author SHA1 Message Date
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
Lokathor 6c8213fed8
Update README.md 2021-07-09 10:27:02 -06:00
Lokathor bff42750eb
Update README.md 2021-04-19 11:30:20 -06:00
Lokathor fd3a308e8a
remove proc macro usage and finish out the mmio (#125)
* .

* 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.
2021-04-08 23:57:30 -06:00
Lokathor 8efef6ebc5
No more old book stuff (#123)
* stop with the book, we should focus on the crate.

* Update README.md

* Update README.md
2021-04-05 18:11:42 -06:00
Lokathor 7b2a067aad
move to a tri-license (adds Zlib and MIT options) (#116) 2021-03-01 08:36:39 -07:00
Neil P 5114f89448
Simplify build process (#106)
* 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
2021-02-20 11:49:40 -07:00
Lokathor 100ded7da6 readme update 2019-01-02 20:50:05 -07:00
Lokathor 09b4c8804c YABU: Yet Another Book Update 2018-12-29 20:18:09 -07:00
Lokathor ac5353b773 Introduction and Limits chapters updated 2018-12-14 22:57:14 -07:00
Shadlock0133 4145517b8f
Change GBA to GameBoy Advance in README
I saw somebody on twitter saying they couldn't figure out what GBA stands for.
Given that full name isn't currently used anywhere, this change could help people not familiar video games abbreviations.
2018-12-14 11:03:03 +01:00
Julian Laubstein 9fe10cb4d7 Fixed dead link + convenience additions 2018-12-13 14:31:11 +01:00
Lokathor 2e2aec6ec9 tiles fixes, clippy fixes 2018-11-20 23:44:58 -07:00
Lokathor fdda573c0f
Merge pull request #10 from Sendoushi/init-file
[new] Initialization file
2018-11-20 00:19:31 -07:00
Lokathor 97ef185c1c
link fix 2018-11-19 11:55:39 -07:00
Lokathor 06e8e61eb2 fixes 2018-11-18 13:09:23 -07:00
Joel Santos b36c27ab69 [upd] README with the right pipe to shell 2018-11-18 15:41:06 +00:00
Joel Santos 326db6990a [fix] Initializer usage 2018-11-18 15:33:08 +00:00
Joel Santos 9ad09cf9f2 [new] Initializtion file 2018-11-18 15:25:32 +00:00
Lokathor 9df17a5b26 More badges 2018-11-14 19:48:45 -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 c07d4360a0 readme update to direct folks to the book. 2018-11-12 16:40:13 -07:00
Lokathor 0b9d8e9b29 hello world chapter is complete 2018-11-10 23:39:26 -07:00
Lokathor f838103528 better target name 2018-11-10 13:44:47 -07:00
Lokathor c99a85bf39 readme 2018-11-07 21:26:03 -07:00
Lokathor dfb56c21b2 crate start 2018-11-07 21:21:17 -07:00
Lokathor 0ff1e971dd
Initial commit 2018-11-07 20:23:11 -07:00