Commit graph

49 commits

Author SHA1 Message Date
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
Lokathor
e3c3b572dd allow us to publish 2019-01-02 22:32:24 -07:00
Lokathor
70b752f82b make docs be hosted in a separate branch 2019-01-02 20:27:15 -07:00
Lokathor
f825d78e71 More registers! 2018-12-31 16:28:20 -07:00
Lokathor
d62fbae4f0 more const! 2018-12-30 23:29:58 -07:00
Lokathor
6466a53475 Move to the phantom_fields! proc-macro 2018-12-29 00:06:08 -07:00
Lokathor
bee2d16a5b More docs, and also less no-docs warnings 2018-12-27 23:34:12 -07:00
Lokathor
d6a6301815 CLOSE to another release 2018-12-25 23:19:16 -07:00
Lokathor
35ed03cb44 cleanup, hello world runs 100% safe now 2018-12-23 14:45:38 -07:00
Lokathor
fdf0eebb69 Drop the quickcheck usage
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)
2018-12-20 15:30:08 -07:00
Lokathor
c3f62b1ab5 trying a commit but i think nightly is broked 2018-12-19 20:58:41 -07:00
Lokathor
58d739dd9e fixed point and stuff 2018-12-17 17:00:22 -07:00
Lokathor
827ae55355 legal name applied to the cargo file 2018-12-10 10:10:03 -07:00
Lokathor
00e14960c6 ch 00: rewrite done 2018-12-10 01:48:06 -07:00
Lokathor
3a355db578 cargo-make Makefile.toml 2018-11-16 00:39:47 -07:00
Lokathor
8aa1bb0065 partial intrinsic work 2018-11-15 01:23:04 -07:00
Lokathor
6cb50aa2eb more proc-macro 2018-11-14 20:38:43 -07:00
Lokathor
7bbbba66de more proc-macro! 2018-11-14 19:53:53 -07:00
Lokathor
8be6836e3e all set for a 0.2 2018-11-13 13:19:44 -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
b45cc2c56d Added the necessary fields to allow publishing
also a keyword
2018-11-11 00:49:48 -07:00
Lokathor
f0121f683a version bump, ready to publish if this PR is accepted 2018-11-10 23:41:38 -07:00
Lokathor
097dd72124 almost chapter 1 2018-11-10 02:03:37 -07:00
Lokathor
5a49cbc713 Display Control 2018-11-08 22:08:13 -07:00
Lokathor
4c99082b20 triggered an ICE 2018-11-08 20:33:47 -07:00
Lokathor
dfb56c21b2 crate start 2018-11-07 21:21:17 -07:00