Commit graph

1163 commits

Author SHA1 Message Date
Corwin Kuiper 2ff9644310 disable interrupts during the interrupt handler 2021-08-07 14:12:00 +01:00
Corwin Kuiper dacdf51dca remove unused debug counter 2021-08-07 14:12:00 +01:00
Corwin Kuiper ebfd637300 satisfy linter by removing elidable lifetime 2021-08-07 14:12:00 +01:00
Corwin Kuiper 2cc0bee7c3 example first version of an interrupt handler implemented with closures 2021-08-07 14:12:00 +01:00
Corwin 8cd5055e80
Merge pull request #99 from agbrs/println-macro
add println macro for mgba
2021-08-07 14:10:50 +01:00
Corwin Kuiper 42647b7373 add println macro for mgba 2021-08-07 13:21:54 +01:00
Gwilym Kuiper c265a95996 Release agb v0.6.0 2021-08-01 21:50:18 +01:00
Gwilym Kuiper 7229e9012d Update agb's agb-image-converter to 0.6.0 2021-08-01 21:46:08 +01:00
Gwilym Kuiper 4bd05718ee Release agb-image-converter v0.6.0 2021-08-01 21:40:49 +01:00
Gwilym Kuiper 85aac9dede
Merge pull request #97 from gwilymk/make-it-clear-you-need-cmake
Add CMake to the test runner instructions
2021-08-01 21:35:31 +01:00
Gwilym Kuiper de360f5dbc
Merge pull request #95 from gwilymk/attempt-speedup-mixer-in-asm
Speed up the mixer by writing the core loops in ASM
2021-08-01 21:35:07 +01:00
Gwilym Kuiper ac8e2dfe9d Go back to the other way of addressing as they aren't equivalent 2021-08-01 21:29:44 +01:00
Gwilym Kuiper ec65b18fd2 Make the str consistent with the ldr 2021-08-01 21:23:31 +01:00
Gwilym Kuiper 6e97bffeae Add CMake to the test runner instructions 2021-08-01 21:16:57 +01:00
Gwilym Kuiper 809d3f52ee update the comment about what's kept between iterations 2021-08-01 21:01:59 +01:00
Gwilym Kuiper cce3ecdde5 Use r9 rather than lr 2021-08-01 21:00:49 +01:00
Gwilym Kuiper 2db696f8bf reuse r4 2021-08-01 20:59:01 +01:00
Gwilym Kuiper 18d96e4349 Update comments now I understand what's happening 2021-08-01 20:50:52 +01:00
Gwilym Kuiper 451f38604d Add an explicit .pool at the end of the mixer 2021-08-01 20:45:57 +01:00
Gwilym Kuiper d1c312ab79 Remove loads of whitespace 2021-08-01 20:44:37 +01:00
Gwilym Kuiper 09ad082f3f Furter rearranging for more sense making 2021-08-01 20:41:56 +01:00
Gwilym Kuiper 80e03073fd Reorder the asm instructions to make better sense 2021-08-01 20:29:45 +01:00
Gwilym Kuiper 1af53aacb4 Done check makes sense to go at the end 2021-08-01 20:23:39 +01:00
Gwilym Kuiper cc99aad4c5 Move the comments to a nicer place in the file 2021-08-01 20:23:05 +01:00
Gwilym Kuiper 5bc3844a14
Merge pull request #92 from gwilymk/proc-macro-for-agb-image-converter
Proc macro for agb image converter
2021-08-01 20:07:17 +01:00
Corwin c5dd1ada6c
Merge pull request #96 from agbrs/test-runner-char
change to use c_char for arm compat
2021-08-01 20:01:23 +01:00
Corwin Kuiper d2f5ab3e12 share deps with image-converter 2021-08-01 18:03:13 +01:00
Corwin Kuiper a8f67dacd3 error on build fail of mgba 2021-08-01 18:02:52 +01:00
Corwin Kuiper b63bc2d25c change to use c_char for arm compat 2021-08-01 17:50:06 +01:00
Gwilym Kuiper 9f259fdc0a Make clippy happy by using .add rather than .offset 2021-07-31 23:18:26 +01:00
Gwilym Kuiper f1b6b1035b Reduce mixer_collapse by 1 instruction 2021-07-31 22:01:20 +01:00
Gwilym Kuiper 8cffa4ae3d Better comparison 2021-07-31 22:00:41 +01:00
Gwilym Kuiper f5d771d349 Use asm for the tight loops in the sound mixer 2021-07-31 21:47:05 +01:00
Gwilym Kuiper e3510a73f7 Re-export the image converter macro 2021-07-26 23:42:28 +01:00
Gwilym Kuiper 0796247a2e Finalize the code generation 2021-07-26 23:38:22 +01:00
Gwilym Kuiper 3626e2cb18 Feels cleaner with a bunch of for loops 2021-07-26 23:30:46 +01:00
Gwilym Kuiper fdff081c32 Switch entirely to using quote to generate the code 2021-07-26 23:27:16 +01:00
Gwilym Kuiper aa32be1a27 Move parsing 1 level up 2021-07-22 19:04:30 +01:00
Gwilym Kuiper d7a24d9659 Start switching to the quote crate for generating the code 2021-07-22 19:03:49 +01:00
Gwilym Kuiper 19e0a0527b Use syn crate rather than litrs 2021-07-22 18:43:27 +01:00
Corwin e372123ba1
Merge pull request #91 from gwilymk/add-myself-to-authors
Add myself as an author for agb
2021-07-22 10:44:17 +01:00
Gwilym Kuiper 21a11a4e41 Run rustfmt on modified files in agb 2021-07-21 22:48:23 +01:00
Gwilym Kuiper 061b8be368 Run rustfmt 2021-07-21 22:46:22 +01:00
Gwilym Kuiper bc46764e2f Fix clippy linter errors 2021-07-21 22:19:28 +01:00
Gwilym Kuiper 8466e9eaa4 Remove usage of typed_builder 2021-07-21 22:15:46 +01:00
Gwilym Kuiper 8713f514be Switch to a proc macro for generating the image data 2021-07-21 22:07:29 +01:00
Gwilym Kuiper 47c5c0f86e Extract variable for output_variable_name 2021-07-21 21:01:24 +01:00
Gwilym Kuiper 53952d8e34 Add support for reading config data from a toml file 2021-07-21 20:59:25 +01:00
Gwilym Kuiper 383c5454ea Start work for new proc macro by generating a TileData 2021-07-21 20:27:04 +01:00
Gwilym Kuiper 4a9f98e09c Allow agb-image-converter from the path 2021-07-21 20:26:38 +01:00