Commit graph

743 commits

Author SHA1 Message Date
GBA bot 42be969c1f Autofix a bunch of lints 2022-01-01 12:11:21 +00:00
GBA bot 6bd4a52f01 Fix warnings 2022-01-01 12:10:14 +00:00
GBA bot 92d63999e8 Add the hat chooses the wizard example 2022-01-01 12:09:21 +00:00
GBA bot 2e181ad0ea Fix warnings 2022-01-01 12:07:16 +00:00
GBA bot a8ba0c4d7d Add the purple night example 2022-01-01 12:05:48 +00:00
Gwilym Kuiper 285643a973
Merge pull request #139 from gwilymk/import-asm-macro
Import the new asm macro required in newer versions of nightly
2022-01-01 11:41:01 +00:00
GBA bot fa88bc40c6 Add another missing must_use 2022-01-01 11:35:49 +00:00
GBA bot 5f13c69fcf Replace .map.flatten with .flat_map 2022-01-01 11:35:17 +00:00
GBA bot afe69b98b8 Add a bunch of must_use now requested by clippy 2022-01-01 11:34:43 +00:00
GBA bot 21c934623d Import the new asm macro required in newer versions of nightly 2022-01-01 11:20:30 +00:00
Gwilym Kuiper b63181f883
Merge pull request #138 from corwinkuiper/number-alpha-max-plus-beta-min
Alpha max + beta min
2021-12-31 23:34:46 +00:00
Corwin Kuiper 38703c7cb8 add different implementation of sqrt 2021-12-06 23:31:42 +00:00
Corwin Kuiper 3800be4dcb test for accuracy of magnitude function 2021-12-06 22:51:43 +00:00
Corwin Kuiper affa27c8e0 remove unused crate 2021-12-06 22:43:58 +00:00
Corwin Kuiper 9a25274bb0 switched the magnitude function to use the alpha max + beta min algorithm 2021-12-06 19:49:27 +00:00
Corwin f5ae6ac579
Merge pull request #136 from corwinkuiper/num-macro-test-fix
actually test base B in test base
2021-12-04 13:58:47 +00:00
Corwin Kuiper b347f9338e actually test base B in test base 2021-12-04 13:52:47 +00:00
Corwin 453e098703
Merge pull request #135 from corwinkuiper/number-macro
create a number macro that can use floating point numbes
2021-12-04 03:11:26 +00:00
Corwin Kuiper ecd04190fa remove unused stuff 2021-12-04 02:57:51 +00:00
Corwin Kuiper 6e0cbbe9eb create a number macro that can use floating point numbes 2021-12-04 02:44:57 +00:00
Corwin 6c154b02dc
Merge pull request #134 from gwilymk/book
Start writing the agb book
2021-11-26 21:48:28 +00:00
Corwin e27bcc8d3e
Merge pull request #133 from gwilymk/update-template-repo-on-release
Update template repo on release
2021-11-26 21:48:07 +00:00
GBA bot 6988b51583 Update template repo on release of agb 2021-11-24 22:44:11 +00:00
GBA bot 8d6d24598f Add gitignore for template 2021-11-24 22:42:55 +00:00
Gwilym Kuiper 73957a394c Move some files around 2021-11-24 20:24:11 +00:00
Gwilym Kuiper fb67cadbc7 Add some setup guide stuff 2021-11-24 20:20:17 +00:00
Gwilym Kuiper 2b5d5a5f41 Minor rewording 2021-11-24 19:44:39 +00:00
Gwilym Kuiper cab07edf1b Add the hardware introduction 2021-11-23 22:39:40 +00:00
Gwilym Kuiper 89afcc02a6 Apparently Game Boy is correct 2021-11-23 22:17:07 +00:00
Gwilym Kuiper d21c0e372a Add an introduction 2021-11-23 22:16:12 +00:00
Gwilym Kuiper f7f8bf88e1 Add mdbook template 2021-11-23 21:57:07 +00:00
Gwilym Kuiper c6504343a4
Merge pull request #132 from gwilymk/add-timer-support
Add first-class timer support
2021-11-23 21:50:49 +00:00
Gwilym Kuiper 69e3c299ca Fix clippy lint 2021-11-22 19:33:09 +00:00
Gwilym Kuiper a331909370 Assert that gba struct is zero sized 2021-11-22 19:28:58 +00:00
Gwilym Kuiper 75bd475f08 Split out to a timer controller to keep the GBA struct zero sized 2021-11-22 19:27:08 +00:00
Gwilym Kuiper f7a10677dd Allow use of timer again after mixer is done 2021-11-22 19:14:51 +00:00
Gwilym Kuiper bfc02e0aa8 Make sound now take the first class timer object 2021-11-18 22:28:26 +00:00
Gwilym Kuiper 8876c47aa9 Remove the generics (sorry that GBA is no longer zero sized...) 2021-11-18 22:28:26 +00:00
Gwilym Kuiper 8ef46279c8 set overflow amount should take a mut self 2021-11-18 22:28:26 +00:00
Gwilym Kuiper 20511843ca Move timers to be fields in the controller 2021-11-18 22:28:26 +00:00
Gwilym Kuiper fd610d8cc1 Add support for timers 2021-11-18 22:28:26 +00:00
Corwin b88cf39a67
Merge pull request #130 from gwilymk/fix-printing-of-negative-numbers
Fix printing of negative numbers
2021-11-18 22:16:34 +00:00
Corwin ba96091cf8
Merge pull request #131 from corwinkuiper/clippy-mutex
fix clippy lint
2021-11-18 22:15:45 +00:00
Corwin Kuiper 8143d43149 fix clippy lint 2021-11-18 21:30:35 +00:00
Gwilym Kuiper e1e4318c38 Add comment explaining how the fiddle works 2021-11-18 21:11:29 +00:00
Gwilym Kuiper 89f89803dd GREEN: Fudge fractional and integral bits to get negative numbers to work 2021-11-18 21:05:29 +00:00
Gwilym Kuiper 413a819e64 Fix compiler warning for tests 2021-11-18 20:57:18 +00:00
Gwilym Kuiper 2eec47f31a RED: Add failing tests for negative number printing 2021-11-18 20:57:18 +00:00
Corwin Kuiper 7ba84b7691 add registers to sqrt clobber list
will need to go through the other syscalls and find out whether we need
to add registers to the clobber list. We probably need to add all per
the call convention (r0, r1, r2, r3 are callee saved).
2021-10-31 20:14:41 +00:00
Gwilym Kuiper 5c10af2f72 Add methods for getting and setting a palette colour 2021-10-30 21:16:40 +01:00