Commit graph

727 commits

Author SHA1 Message Date
Gwilym Kuiper
7062610aba Start a basic allocator with a super simple test 2021-08-16 21:02:55 +01:00
Gwilym Kuiper
1c07268f11 Include alloc 2021-08-16 21:02:36 +01:00
Gwilym Kuiper
a500c9dbb1 Make mutex new constant and reduce unsafe block size 2021-08-16 21:02:03 +01:00
Corwin Kuiper
87705514a7 Merge branch 'master' of github.com:agbrs/agb into affine-double-warning 2021-08-16 19:31:07 +01:00
Corwin Kuiper
4d45ca4203 remove warning 2021-08-16 19:31:04 +01:00
Corwin Kuiper
fe9461e5c5 redraw everything if there is no overlap 2021-08-15 23:40:57 +01:00
Corwin Kuiper
631bf2bae2 add collision function 2021-08-15 23:40:25 +01:00
Gwilym Kuiper
1b40fe2b03
Merge pull request #106 from gwilymk/half-multiplications-in-sound-mixing
Halve the number multiplications in sound mixing
2021-08-15 23:36:21 +01:00
Gwilym Kuiper
5d255fddea Add asm_include.s to the rerun-if-changed in build.rs 2021-08-15 23:27:39 +01:00
Gwilym Kuiper
dffd57204c Remove trailing space 2021-08-15 23:04:02 +01:00
Gwilym Kuiper
a2f0c43f26 Reduce the number of registers stored and used 2021-08-15 23:00:17 +01:00
Gwilym Kuiper
1be6dfbf36 Unwind loop 4 times 2021-08-15 22:36:32 +01:00
Gwilym Kuiper
0c48975fa0 Do 2 mulitplications at once 2021-08-15 22:18:02 +01:00
Gwilym Kuiper
a2da434013 Rename the directory 2021-08-15 20:39:17 +01:00
Gwilym Kuiper
4a6ef023f5 Rename agb-entry to agb-macro in cargo.tomls 2021-08-15 20:37:36 +01:00
Corwin Kuiper
2974711a38 update more 2021-08-08 00:01:58 +01:00
Corwin Kuiper
7708ccc4e1 remove unused import 2021-08-07 23:51:07 +01:00
Corwin Kuiper
36c6ab1914 correct the commit routine 2021-08-07 23:50:28 +01:00
Corwin Kuiper
0ccde7d328 satisfy linter 2021-08-07 18:41:28 +01:00
Corwin Kuiper
724147ecfa commit step required now 2021-08-07 18:20:08 +01:00
Corwin Kuiper
7798f4c95f nicer way of using mutable backing storages 2021-08-07 18:15:46 +01:00
Corwin Kuiper
d6b388e1d6 simplify the generics 2021-08-07 18:14:41 +01:00
Corwin Kuiper
6652bdbd70 make to generics 2021-08-07 18:14:05 +01:00
Corwin Kuiper
e176e986ad part way implementation of background 2021-08-07 18:14:02 +01:00
Corwin Kuiper
f9014a0bf9 started work on new background implementation 2021-08-07 18:12:49 +01:00
Gwilym Kuiper
503b7262ca May as well call this version 0.1 2021-08-07 16:45:08 +01:00
Gwilym Kuiper
739f81dd30 rename agb-entrypoint to agb-entry 2021-08-07 16:40:09 +01:00
Gwilym Kuiper
861ecc626a Use the new entrypoint macro in all the examples 2021-08-07 16:37:32 +01:00
Gwilym Kuiper
d2a4d0d1c3 Export the new macro in agb 2021-08-07 16:33:17 +01:00
Gwilym Kuiper
c59f063b2b Rename crate with an _ to be consistent with the image converter 2021-08-07 16:33:17 +01:00
Corwin Kuiper
ff51341679 print in interrupt 2021-08-07 14:16:41 +01:00
Corwin Kuiper
477b0465fb add docs for vblank interrupt 2021-08-07 14:14:06 +01:00
Corwin Kuiper
fa250cee60 remove allow warning 2021-08-07 14:14:06 +01:00
Corwin Kuiper
b559b0eb54 add some docs 2021-08-07 14:14:06 +01:00
Corwin Kuiper
c60eaaaff0 doesn't need to be public 2021-08-07 14:14:06 +01:00
Corwin Kuiper
5093884612 move enable and disable to impl 2021-08-07 14:14:06 +01:00
Corwin Kuiper
476b030b41 rename wait for vblank functions 2021-08-07 14:14:06 +01:00
Corwin Kuiper
99f992353a fix wave example 2021-08-07 14:14:06 +01:00
Corwin Kuiper
da6ff40a32 add docs 2021-08-07 14:14:06 +01:00
Corwin Kuiper
1b971b8993 add lock with key 2021-08-07 14:14:06 +01:00
Corwin Kuiper
00a5b2487c change to using extern in linker 2021-08-07 14:14:06 +01:00
Corwin Kuiper
013522f642 setting lto to thin works? 2021-08-07 14:14:06 +01:00
Corwin Kuiper
4467d0cf18 fix incorrect label from rebase 2021-08-07 14:14:06 +01:00
Corwin Kuiper
3b26c0b262 acknowledge requests after handling them 2021-08-07 14:14:06 +01:00
Corwin Kuiper
7b46bc9703 change name to "get" 2021-08-07 14:14:04 +01:00
Corwin Kuiper
37c29b7ec3 should enable interrupts by writing a 1 2021-08-07 14:13:23 +01:00
Corwin Kuiper
47f8ee5b70 satisfy linter 2021-08-07 14:13:20 +01:00
Corwin Kuiper
f8fb6ba7b4 change implementation of vblank to use new interrupt handler
also fixes all examples
2021-08-07 14:12:00 +01:00
Corwin Kuiper
7b05da4783 change name of interrupt handler
it is no longer simple
2021-08-07 14:12:00 +01:00
Corwin Kuiper
007d4d3ff8 handler does not need to be public to be exposed 2021-08-07 14:12:00 +01:00