Ian Pickering
d15168068b
Add __IRQ_HANDLER symbol to hello_magic example
...
The hello_magic example does not depend on the gba crate, but the crt0
now assumes that the symbol for the interrupt handler which is defined
in it will be present, as interrupts ought to be handled in some
manner. If neither the symbol or the crate are added then the linker
will give an error, but if anything in the gba crate is used also then
the symbol will be brought in, so defining it manually also would
cause a duplicate definition error. In the future something like
cortex-m-rt's `exception!` macro could be used to better document how
to define this symbol (all their examples depend on at least one
symbol from their runtime library, so they don't have this problem).
2019-02-13 18:27:27 -08:00
Ian Pickering
0d654032bb
Add module for interrupt request (IRQ) handling
2019-02-13 17:08:57 -08:00
Ian Pickering
dc2127b2ce
Fix incorrect opcode of VBlankIntrWait BIOS function
...
It should be `swi 0x05` instead of `swi 0x04`.
2019-02-13 17:06:18 -08:00
Lokathor
5113a5a1f2
Merge pull request #64 from rust-console/lokathor
...
Lokathor
2019-02-11 13:55:17 -07:00
Lokathor
1094794ef8
no more auto-clippy
2019-02-10 12:54:29 -07:00
Lokathor
298e195d28
hardware memory map!
2019-02-09 16:32:50 -07:00
Lokathor
da6ce44345
shouldn't this be pub?
2019-02-09 14:35:48 -07:00
Lokathor
84a4b4b89b
Explain this better because even I forgot
2019-02-09 12:50:00 -07:00
Lokathor
dfadb5ba9f
part of a hardware memory map explanation
2019-02-09 04:56:20 -07:00
Lokathor
2dcf5bfe18
Quick explanation of Volatile
...
We actually don't need to bore the reader with how fancy it is, they can go read the source of the crate it they want.
2019-02-09 03:52:52 -07:00
Lokathor
7f27d83b6e
Start of more book work
2019-02-09 03:25:50 -07:00
Lokathor
4d56fa3a37
book stuff
2019-02-06 00:05:02 -07:00
Lokathor
83f3496261
Merge pull request #55 from rust-console/lokathor
...
Starting towards a v0.4
2019-02-05 01:46:21 -07:00
Lokathor
fc642c064d
Convert to using the recently split off voladdress
lib
2019-02-05 00:47:06 -07:00
Lokathor
dcd7e40b15
Start towards 0.4
2019-02-04 20:25:40 -07:00
Lokathor
20cd551198
Merge branch 'master' into lokathor
2019-02-02 00:30:06 -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
2da8ad7afa
Merge branch 'master' into lokathor
2019-02-02 00:21:39 -07:00
Lokathor
c933e43dd6
mgba 0.7 came out!
2019-02-02 00:20:38 -07:00
Lokathor
87b4e513ec
??
2019-02-01 23:44:50 -07:00
Lokathor
ddf6593f8b
Delete the builtins module
...
The `__clzsi2` function is now part of the compiler-builtins crate, so it's part of all of Rust.
2019-02-01 23:36:17 -07:00
Lokathor
13d9dbcdc2
don't know what this is or why we have it
2019-02-01 19:34:54 -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
ed7f830ad4
fix to work with latest nightly.
2019-01-12 21:06:38 -07:00
Lokathor
a15b865951
version bump
2019-01-12 16:19:26 -07:00
Lokathor
0fb9994131
IWRAM fix
2019-01-12 13:42:18 -07:00
Lokathor
a1e35a9ed1
Merge branch 'master' into lokathor
2019-01-12 13:38:16 -07:00
Lokathor
bc10122d58
admonish people to stay updated
2019-01-12 13:35:56 -07:00
Lokathor
0e363477b7
mGBA output wasn't resetting its length used
2019-01-12 13:34:43 -07:00
Lokathor
de62113e86
Merge pull request #49 from ketsuban/bss-section
...
Add .bss section to linker script
2019-01-08 21:06:24 -07:00
Thomas Winwood
1f75cf025d
Add symbol for the end of the .bss section
2019-01-09 04:00:36 +00:00
Thomas Winwood
800e538a58
Add .bss section to linker script
2019-01-09 03:44:34 +00:00
Lokathor
bef430dc30
Merge pull request #47 from eevee/oam-public
...
Make ObjectAttributes's and AffineParameters's fields public
2019-01-08 18:25:13 -07:00
Eevee (Evelyn Woods)
91d40f0c5b
Make ObjectAttributes's and AffineParameters's fields public
2019-01-08 18:20:08 -07:00
Lokathor
096eed2abb
Merge pull request #45 from eevee/fix-bg1ofs-addresses
...
Fix addresses for BG1HOFS and BG1VOFS
2019-01-08 17:38:29 -07:00
Eevee (Evelyn Woods)
cdd4a3d109
Fix addresses for BG1HOFS and BG1VOFS
2019-01-08 17:23:11 -07:00
Lokathor
ea05c33e3a
Merge pull request #44 from rust-console/lokathor
...
BIOS module patch to allow publishing
2019-01-02 22:50:05 -07:00
Lokathor
8ff32b0304
Update bios module to just build on x86
...
the actual functions are all unimplemented!() but oh well
2019-01-02 22:43:52 -07:00
Lokathor
e3c3b572dd
allow us to publish
2019-01-02 22:32:24 -07:00
Lokathor
dc1d412ad3
Merge pull request #43 from rust-console/lokathor
...
readme update
2019-01-02 20:57:35 -07:00
Lokathor
100ded7da6
readme update
2019-01-02 20:50:05 -07:00
Lokathor
a1c3c66bc2
Merge pull request #41 from rust-console/lokathor
...
0.3 canidate
2019-01-02 20:36:54 -07:00
Lokathor
70b752f82b
make docs be hosted in a separate branch
2019-01-02 20:27:15 -07:00
Lokathor
e0c76417b3
Merge branch 'master' into lokathor
2018-12-31 16:44:25 -07:00
Lokathor
f825d78e71
More registers!
2018-12-31 16:28:20 -07:00
Lokathor
4217a2b795
add sound
2018-12-31 01:07:33 -07:00
Lokathor
d62fbae4f0
more const!
2018-12-30 23:29:58 -07:00
Lokathor
d0b44e7390
Add the agb
env value, we might cfg on it somehow
2018-12-30 20:01:58 -07:00
Lokathor
dfca52a079
newtype_enum, and other updates
2018-12-29 22:39:53 -07:00