Commit graph

1442 commits

Author SHA1 Message Date
Gwilym Kuiper
ffde16abd9 Remove crate::println! 2022-10-01 15:31:19 +01:00
Gwilym Kuiper
ccc3823085 Remove unused import 2022-10-01 15:30:46 +01:00
Gwilym Kuiper
cde3bca0ea Make the background rotate again 2022-10-01 15:30:37 +01:00
Gwilym Kuiper
dd2030d354 Use the fact that tris turn into integers nicely 2022-10-01 15:29:42 +01:00
Gwilym Kuiper
63b0fa63c6 packed(4) to ensure alignment 2022-10-01 15:28:53 +01:00
Gwilym Kuiper
83c28254a1 Update to be closer to the API I actually want but currently only works in release mode 2022-09-22 23:29:58 +01:00
Gwilym Kuiper
59673206b3 Make the example work the way I expect it to 2022-09-22 21:34:03 +01:00
Gwilym Kuiper
496b4a4953 repr packed 2022-09-22 21:33:59 +01:00
Gwilym Kuiper
84c87a8088 Merge remote-tracking branch 'origin/master' into affine 2022-09-22 20:13:23 +01:00
Alissa Rao
b920d94f83
Remove agb-tests in favor of putting the tests directly in agb. 2022-09-15 23:28:38 -07:00
Alissa Rao
8f3e438070
Final round of bugfixes, documentation fixes and clippy warning fixes. 2022-09-15 23:25:17 -07:00
Alissa Rao
821098dd26
Implement EEPROM save media.
Fix EEPROM implementation.
2022-09-15 23:25:16 -07:00
Alissa Rao
8dd0f4768a
Add support for flash save media. 2022-09-15 23:25:16 -07:00
Alissa Rao
4397bb0d66
Add tests for cartridge save access. 2022-09-15 23:25:16 -07:00
Alissa Rao
2be44c12e5
Improve codestyle in asm_routines.s, remove unsafe save implementation in hyperspace-roll. 2022-09-15 23:25:16 -07:00
Alissa Rao
ec41db2fc9
Reintegrate SRAM save media reader. 2022-09-15 23:25:13 -07:00
Alissa Rao
d50413a3cc
Update the code style of the save module to better match agb's philosophy. 2022-09-15 23:25:08 -07:00
Alissa Rao
217f42a635
Initial work on porting gba save code to agb codebase. 2022-09-15 23:20:07 -07:00
Alissa Rao
6d51d1bef3
Rework a simpler example to use agb::sync instead of bare_metal. 2022-09-15 23:14:30 -07:00
Alissa Rao
89c76616b6
Implement a new sync API allowing for mutexes that don't require disabling IRQs. 2022-09-15 23:14:27 -07:00
Gwilym Kuiper
654bff0cb7 Mark ignore on test runner docs 2022-09-15 22:47:08 +01:00
Gwilym Kuiper
68fb9c7e02 Remove reference to the testing feature 2022-09-15 22:39:44 +01:00
Gwilym Kuiper
d6c5099209 Make testing a default feature 2022-09-15 22:37:36 +01:00
Gwilym Kuiper
45e9c860df Fix small issues from latest clippy version 2022-09-15 21:04:10 +01:00
Gwilym Kuiper
fcde651821 Allow movement of the affine background 2022-08-12 00:02:10 +01:00
Gwilym Kuiper
97e3948f32 Fix warnings and remove debug logs 2022-08-11 23:49:51 +01:00
Gwilym Kuiper
ff89f7f425 Get first example working 2022-08-11 23:49:51 +01:00
Gwilym Kuiper
9a5ecc5cda Assert replace tile is passed two tiles of the same size 2022-08-11 23:49:51 +01:00
Gwilym Kuiper
d106b0a82b Simplify map.rs 2022-08-11 23:49:51 +01:00
Gwilym Kuiper
affea47a32 Remove const and rustfmt::skip 2022-08-11 23:49:51 +01:00
Gwilym Kuiper
31f85cf6b9 Simplify tiled0-2 2022-08-11 23:49:51 +01:00
Gwilym Kuiper
d59e2672c0 Remove features 2022-08-11 23:49:51 +01:00
lifning
ee576597c2 Add rudimentary affine background layer support. 2022-08-11 23:49:51 +01:00
Corwin
d5c9312dc4 add convenience functions for performing multiple actions on one layer 2022-08-09 19:16:12 +01:00
Corwin
afa9ef9109 add docs for blend 2022-08-09 19:16:12 +01:00
Corwin
921c26f7c2 add blending to the window example 2022-08-09 19:16:12 +01:00
Corwin
7ad160e30f use struct newtypes 2022-08-09 19:16:12 +01:00
Corwin
cae71ff249 add blend to distributor 2022-08-09 19:16:12 +01:00
Corwin
41ccd56919 new function for blend 2022-08-09 19:16:12 +01:00
Corwin
d0b3d9e7b3 add blend abstraction 2022-08-09 19:16:12 +01:00
Corwin
ca9c898c14 add general set bits 2022-08-09 19:16:12 +01:00
Corwin
4a5f77ddd6 fix doc comment to link correctly 2022-08-06 21:16:11 +01:00
Corwin
12d4a8cd81 add module level docs 2022-08-06 12:51:59 +01:00
Corwin
e1448f7d81 write docs for windows 2022-08-06 12:36:28 +01:00
Corwin
78ff4011c7 merge imports 2022-08-06 12:36:28 +01:00
Corwin
dbbd7a3d34 add some inlines to small functions 2022-08-06 12:36:28 +01:00
Corwin
e318898197 add example for window 2022-08-06 12:36:28 +01:00
Corwin
2b4a95a4a9 clamp the position before converting to u8 2022-08-06 12:36:28 +01:00
Corwin
648ce375d5 enabling and disabling windows 2022-08-06 12:36:28 +01:00
Corwin
f9d9220ead function to reset the window 2022-08-06 12:36:28 +01:00