Commit graph

731 commits

Author SHA1 Message Date
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
Gwilym Kuiper a92a2f503c Reduce maximum number of sound channels to 8 2021-10-30 21:16:32 +01:00
Corwin Kuiper 301e2c115a fix tile ids 2021-10-30 20:33:54 +01:00
Corwin Kuiper d0808cb7f2 added helpful functions 2021-10-30 18:38:57 +01:00
Gwilym Kuiper ad82fe291f Add suuport for 32x32 tiles 2021-10-30 18:22:09 +01:00
Gwilym Kuiper 6ed9b06b22 Ensure that the buffer size isn't actually the first instruction in add 2021-10-30 16:02:40 +01:00
Gwilym Kuiper 6ac3789d11 Export ChannelId 2021-10-30 15:38:59 +01:00
Corwin Kuiper b492f3d43d fix rect issue with touching 2021-10-30 12:24:43 +01:00
Corwin ac64d0a36f
Merge pull request #129 from corwinkuiper/touches-reference
add useful derives
2021-10-30 10:27:48 +01:00
Corwin Kuiper be44dbed3d add useful derives 2021-10-30 10:12:45 +01:00
Corwin 3734d01709
Merge pull request #128 from corwinkuiper/hadamard
add more maths
2021-10-29 19:08:02 +01:00
Corwin Kuiper 2838ea5f32 add more maths 2021-10-29 18:34:42 +01:00
Gwilym Kuiper 225689b13d
Merge pull request #127 from gwilymk/make-it-easier-to-configure-sound-frequencies
Make it easier to configure sound frequencies
2021-10-29 16:23:37 +01:00