Commit graph

2915 commits

Author SHA1 Message Date
Corwin e92e8d39a5 implement allocators as zsts 2022-07-31 01:06:36 +01:00
Gwilym Kuiper acf33a5058 Update include_gfx! documentation 2022-07-31 00:04:52 +01:00
Corwin 9f3079ecef don't run cargo update on the template 2022-07-30 23:40:14 +01:00
Gwilym Kuiper 3ec95a0277
Merge pull request #265 from gwilymk/gc-vram-at-the-correct-time
Run the GC after copying the tiles rather than before
2022-07-30 23:22:07 +01:00
Corwin cc17d4e78d
Merge pull request #262 from corwinkuiper/allocator-trait
implement allocator api so we can allocate to (ew/iw)ram
2022-07-30 23:12:30 +01:00
Corwin 955acaab83
Merge pull request #264 from corwinkuiper/readme-support
Where to go for help
2022-07-30 23:12:17 +01:00
Corwin 703d05cc66 add a link to create discussion in the right category 2022-07-30 22:59:09 +01:00
Corwin ec546555c7
Update README.md
Co-authored-by: Gwilym Kuiper <email@gwilym.dev>
2022-07-30 22:50:29 +01:00
Corwin b39b6f43b3 correct end address of range 2022-07-30 22:49:26 +01:00
Gwilym Kuiper 5f5cdf7c33
Merge pull request #263 from corwinkuiper/bearable-template
Better defaults for dev mode and release mode in the template
2022-07-30 22:44:48 +01:00
Gwilym Kuiper 14e371c911 Run the GC after copying the tiles rather than before 2022-07-30 22:42:01 +01:00
Corwin 6c4d6f7dcf where to go for help 2022-07-30 22:07:54 +01:00
Corwin 5725ea6613 better defaults for dev mode and release mode 2022-07-30 20:35:26 +01:00
Corwin 0c25eb6bee fix doc examples 2022-07-30 19:47:34 +01:00
Corwin 7f760d4404 add some doc comments to explain the allocators 2022-07-30 19:34:40 +01:00
Corwin feea7d2af1 privatise agb_alloc crate 2022-07-30 19:34:30 +01:00
Corwin cd000ca767 use the end of all assigned iwram data 2022-07-30 17:21:46 +01:00
Corwin a3de583d40 fix 2022-07-30 17:07:18 +01:00
Corwin 433fad15a1 mark function as pub crate so it's not used outside agb 2022-07-30 16:52:41 +01:00
Corwin 002ccc64dd implement allocator api so we can allocate to (ew/iw)ram 2022-07-30 16:40:48 +01:00
Gwilym Kuiper 97c4115973
Merge pull request #246 from gwilymk/add-ability-for-subcrates-to-test
Make it possible to run tests in target crates (and add a basic tests in hat-wizard)
2022-07-25 23:00:17 +01:00
Gwilym Kuiper b951c38638 Do this in the correct place (made a mistake when rebasing) 2022-07-25 22:53:03 +01:00
Gwilym Kuiper ecf43f738b Only download mgba if it doesn't exist 2022-07-25 22:52:05 +01:00
Gwilym Kuiper 8d08f18349 Fix shellcheck issues 2022-07-25 22:52:05 +01:00
Gwilym Kuiper 0b6af6dbd2 Can't do this as it breaks agb 2022-07-25 22:52:05 +01:00
Gwilym Kuiper 0f9d83887f This should now always be included 2022-07-25 22:52:05 +01:00
Gwilym Kuiper 8cfcda9b54 Make it harder to use #entry incorrectly 2022-07-25 22:52:05 +01:00
Gwilym Kuiper c15d24ad45 Template agb version needs updating twice now 2022-07-25 22:51:53 +01:00
Gwilym Kuiper 208104d036 Update the template to have testing available 2022-07-25 22:49:18 +01:00
Gwilym Kuiper 0111ec43bb agb_start_tests can now be doc(hidden) 2022-07-25 22:49:18 +01:00
Gwilym Kuiper 20aebd349a Provide an empty #[entry] in lib.rs 2022-07-25 22:49:17 +01:00
Gwilym Kuiper 2e505f9684 Remove the need for a special test implementation 2022-07-25 22:49:17 +01:00
Gwilym Kuiper 9231d16071 Add some documentation for the test runner 2022-07-25 22:49:17 +01:00
Gwilym Kuiper 553a625c91 Mkae it possible to run tests in target crates (and add a basic tests in hat-wizard) 2022-07-25 22:49:17 +01:00
Corwin 79e78b7fc3
Merge pull request #261 from corwinkuiper/hyperspace-roll
Introduce Hyperspace Roll to examples
2022-07-25 21:34:35 +01:00
Corwin 9209cbf199 add build hyperspace 2022-07-25 20:25:56 +01:00
Corwin 2539d1ef43 cleanup hyperspace roll directory 2022-07-25 20:25:56 +01:00
Corwin 8bb2094e34 jam version of hyperspace roll 2022-07-25 20:25:56 +01:00
Corwin 2df0481519
Merge pull request #260 from corwinkuiper/fix-sprite-example
Fix sprite example
2022-07-24 21:42:20 +01:00
Corwin 29c74f6286 move commit 2022-07-24 21:30:45 +01:00
Corwin cdba323b39
Merge pull request #258 from agbrs/gmtk22
Changes made for Gmtk22
2022-07-21 20:53:11 +01:00
Gwilym Kuiper 8df9f4b5c4 Go back to using DMA for sprites 2022-07-21 20:52:07 +01:00
Gwilym Kuiper c2a4845a2e Add a must_use to pos 2022-07-21 20:34:26 +01:00
Gwilym Kuiper 3de22df7a2 Add get and set position on sound channels 2022-07-17 10:32:01 +01:00
Gwilym Kuiper a5e0e145d2 Attempt to support changing the volume of stereo sound 2022-07-16 18:47:39 +01:00
Gwilym Kuiper 3d579390c8 Make the num macro work if you don't depend on agb_macros yourself 2022-07-16 18:02:55 +01:00
Corwin 1be10ba450 align sprite data to 2 byte boundaries 2022-07-16 13:36:33 +01:00
Gwilym Kuiper 2026e49569 Start the tile ram one tile in to prevent overwriting the transparent tile 2022-07-16 09:12:15 +01:00
Corwin 8a55fc7f0e support larger sprites 2022-07-16 09:08:35 +01:00
Corwin ebc4e15f3d constify sprite function 2022-07-15 21:59:36 +01:00