Commit graph

677 commits

Author SHA1 Message Date
Lokathor a79c6eec03 changelog 2022-10-04 19:50:48 -06:00
Lokathor 2c3198aadc provide some builtin art. 2022-10-04 19:50:40 -06:00
Lokathor 50343253f2 remove macros 2022-10-04 19:50:20 -06:00
Lokathor da46fe5df1 BitUnPack 2022-10-04 19:50:02 -06:00
Lokathor 174d196d71 changes 2022-09-27 19:59:39 -06:00
Lokathor 39fd385200 changelog. 2022-09-27 19:54:15 -06:00
Lokathor c7ac655ecc more screenblock stuff. 2022-09-27 19:53:27 -06:00
Lokathor d9649bc2d5 dma helper. 2022-09-27 19:53:12 -06:00
Lokathor b029fc0dad (cargo-release) version 0.7.4 2022-09-27 18:10:39 -06:00
Lokathor 13d8b264da there's at least 2 users besides me, so i should probably keep a changelog. 2022-09-27 18:09:05 -06:00
Lokathor 10e8df8e82 comments 2022-09-27 18:07:17 -06:00
Lokathor a329763af7 explain the docs target selection. 2022-09-27 18:07:06 -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 b05938faf4 (cargo-release) version 0.7.3 2022-09-27 11:20:46 -06:00
Lokathor e31f796375 temporarily do not provide our own aeabi divisions 2022-09-27 11:20:05 -06:00
Lokathor 9d06d92067 (cargo-release) version 0.7.2 2022-09-27 11:01:09 -06:00
Lokathor 73863fcb54 docs.rs plz plz 2022-09-27 11:00:53 -06:00
Lokathor 99638e3dc0 (cargo-release) version 0.7.1 2022-09-27 10:54:04 -06:00
Lokathor 9c37c5ba69 Merge branch 'main' of https://github.com/rust-console/gba into main 2022-09-27 10:53:51 -06:00
Lokathor 4fec08ad5c doc.rs plz 2022-09-27 10:53:41 -06:00
Lokathor 75c6233c1c
Update README.md 2022-09-27 10:45:05 -06:00
Lokathor 8706c578b6 add repo to metadata. 2022-09-27 10:42:45 -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
Luna Mittelbach 380b3612b8
Cargo.toml: cargoflags -> cargo-args (#164)
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
2022-04-12 08:46:36 -06:00
Lokathor 5c5081ddc4
fix a critical typo 2022-01-10 15:40:11 -07:00
ShinySaana 456e4f4fc0
Include iwram section in linker script (#159) 2022-01-01 22:00:34 -07:00
Matt L 093146fd8a
Using asm and global_asm from core::arch module. (#157)
* Using asm and global_asm from core::arch module.

* Commenting out some broken code with higher registers.
2022-01-01 21:54:46 -07:00
ShinySaana 42e2836507
Use half-word write for WAITCNT access (#160)
Fixes Stub I/O warning in mGBA.
2022-01-01 12:40:21 -07:00
Lokathor 7471c0016d (cargo-release) version 0.5.2 2021-11-21 13:04:58 -07:00
Lokathor 28f81b51e4 JYN said this should work. 2021-11-21 13:04:45 -07:00
Lokathor 60ab38458c (cargo-release) version 0.5.1 2021-11-21 12:29:45 -07:00
Lokathor 81e557162c this should fix the docs.rs build issues. 2021-11-21 12:29:32 -07:00
Lokathor 37c4e82d71 (cargo-release) version 0.5.0 2021-11-11 20:22:32 -07:00
Lokathor b93589b8ac docs fix. 2021-11-11 20:07:22 -07:00
Lokathor 6c8213fed8
Update README.md 2021-07-09 10:27:02 -06:00
Lokathor 7df5f4737f
should work now (Nightly e4ca1662f 2021-05-22) (#149) 2021-05-23 19:07:26 -06:00
Alissa Rao 144dada16b
Added sound master control registers to mmio_addresses. (#144)
* Added sound master control registers to mmio_addresses.

* Merge FifioEnable into SoundStatus, reduce struct sizes.

* Rename SOUND_CHANNEL_CTL to something a bit simpler.
2021-05-23 16:41:11 -06:00
Hpmason ec0ca7d804
Add RNG (#142)
* Add random

* Add GBA random example

* switch macro_export to pub(crate)

* rename u32_to_u32 macro

* remove useless pub use

* Comment out extra u32 to u16 macro

* Comment random_color example

* formatting

* More commenting

* Add/fix some docs

* Fix some doc links

* Remove use of u64
- Halve bit widths where u64 was used

* Add Gen32::next_color()
2021-05-17 12:22:51 -06:00
Alissa Rao 2956493be9
Sets an initial WAITCNT in rsrt0.S (#147) 2021-05-17 12:00:05 -06:00
Alissa Rao 093edc703f
Bitfield fixes (#146)
* Fix incorrect bit for `chained_counting` field in TimerControl.

* Fixes incorrect bitfield manipulation math in mmio_types.
2021-05-17 11:50:42 -06:00
Lokathor 127f31ecf2 fix macros. 2021-05-01 19:45:55 -06:00
Lokathor 6a709689ed this is the commit that gave the ICE. 2021-05-01 18:38:52 -06:00
Lokathor 8f4847306d add rust toolchain file, Closes https://github.com/rust-console/gba/issues/139 2021-05-01 18:38:34 -06:00
Lokathor bff42750eb
Update README.md 2021-04-19 11:30:20 -06:00
Lokathor b071b8dbdf dumb. 2021-04-19 11:21:37 -06:00
Lokathor d0dc0306ee try just using cargo-publish on 0.4.0 2021-04-19 11:21:06 -06:00
Lokathor 8b1d2d2220 (cargo-release) start next development iteration 0.4.3-alpha.0 2021-04-19 11:20:10 -06:00
Lokathor 37e54e00e4 (cargo-release) version 0.4.2 2021-04-19 11:20:09 -06:00
Lokathor 43b231d5c9 (cargo-release) start next development iteration 0.4.2-alpha.0 2021-04-19 10:56:20 -06:00