Commit graph

76 commits

Author SHA1 Message Date
Lokathor dbc19119bc chore: Release gba version 0.10.1 2023-02-12 00:43:58 -07:00
Lokathor 8385504db6
Remove usage of global_asm (#175)
* message

* finish memory function re-arrangement.
2022-12-04 16:44:27 -07:00
Lokathor 5de0f5e9f2 cleanup, make MIR inlining work in dev 2022-12-01 19:13:31 -07:00
Lokathor adc69ff6dc (cargo-release) version 0.10.0 2022-11-02 14:15:05 -06:00
Lokathor a7ac5d508a fix affine stuff. 2022-10-24 14:38:38 -06:00
Lokathor ee925d5a4d (cargo-release) version 0.9.3 2022-10-24 10:55:28 -06:00
Lokathor 9851afc563 (cargo-release) version 0.9.2 2022-10-24 10:22:38 -06:00
Lokathor 2c67e4457f (cargo-release) version 0.9.1 2022-10-18 09:58:23 -06:00
Lokathor 0fe5422674 (cargo-release) version 0.9.0 2022-10-17 12:10:19 -06:00
Lokathor 789d75f419 misc updates 2022-10-16 12:26:09 -06:00
Lokathor 90aa01d205 make the default cga font easier to unpack. 2022-10-13 20:19:39 -06:00
Lokathor 14a68fec14 (cargo-release) version 0.8.0 2022-10-07 00:29:52 -06:00
Lokathor b029fc0dad (cargo-release) version 0.7.4 2022-09-27 18:10:39 -06:00
Lokathor a329763af7 explain the docs target selection. 2022-09-27 18:07:06 -06:00
Lokathor b05938faf4 (cargo-release) version 0.7.3 2022-09-27 11:20:46 -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 4fec08ad5c doc.rs plz 2022-09-27 10:53:41 -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 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 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 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
Lokathor 27f95bb2a3 (cargo-release) version 0.4.1 2021-04-19 10:56:19 -06:00
Lokathor 12823a8b58 (cargo-release) start next development iteration 0.4.1-alpha.0 2021-04-09 00:13:58 -06:00
Lokathor d0d802d231 (cargo-release) version 0.4.0 2021-04-09 00:13:58 -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 99f80d2b9a update to release voladdress-0.4 2021-03-31 20:53:47 -06:00
Lokathor 3bcd64f28c
update to voladdress-0.4 (#120)
* update to voladdress-0.4 (via git)

* restore the imports rust-analyzer told me to break.
2021-03-31 20:22: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
Michael Mogenson 51c870281c
Add Serial and GPIO registers and implement embedded_hal traits (#96)
* 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.
2020-12-26 11:28:07 -07:00
Nicola Papale 1696c66b1b
Use RFC 2873 asm syntax (#93)
The new syntax is way safer and more ergonomic. In fact, it renders
obsolete some of the warnings in the docs related to the use of `asm!`.
2020-06-14 01:22:59 -06:00
Lokathor 273a8bd676 commit the changes 2019-02-14 19:16:09 -07:00
Lokathor dcd7e40b15 Start towards 0.4 2019-02-04 20:25:40 -07:00
Lokathor fd5c74e199 Update the version
there was already a 0.3.1 with some amount of patches but not the latest.
2019-02-02 00:29:05 -07:00
Lokathor edfffbb704
v0.3.1 patches (#53)
* 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!
2019-02-02 00:26:08 -07:00
Lokathor e29453f8d8
Mid January 0.3.1 fixes batch (#52)
* mGBA output wasn't resetting its length used

* admonish people to stay updated

* IWRAM fix

* version bump

* fix to work with latest nightly.
2019-01-13 00:00:59 -07:00