Commit graph

3320 commits

Author SHA1 Message Date
Gwilym Inzani b76781799a Use anyhow for errors 2023-04-06 23:16:38 +01:00
Gwilym Inzani d278d50528 Extract function 2023-04-06 23:13:42 +01:00
Gwilym Inzani 07318256e0 Generate correct 0 bytes 2023-04-06 23:09:19 +01:00
Gwilym Inzani a111a41deb Extract constant 2023-04-06 21:55:11 +01:00
Gwilym Inzani dce7a6726e Add the correct header 2023-04-06 21:54:26 +01:00
Corwin d08ce9c85b
note allocator change 2023-04-06 21:53:18 +01:00
Corwin 44ef68d1ea
note the breaking change 2023-04-06 21:49:30 +01:00
Corwin 69b1ea5e47
fix brackets 2023-04-06 21:47:21 +01:00
Corwin c608458247
start on writing docs. A long way to go... 2023-04-06 21:45:32 +01:00
Corwin c84e81299b
improve the migration 2023-04-06 21:45:32 +01:00
Corwin 78eebdd270
add combo to workspace 2023-04-06 21:45:32 +01:00
Corwin cdc2eed01d
unsafe arena added (may remove later) 2023-04-06 21:45:30 +01:00
Corwin e690dda0f5
add test that my ordering code is right 2023-04-06 21:45:03 +01:00
Corwin e7caff3776
use new names in games 2023-04-06 21:45:03 +01:00
Corwin d6006c7808
rename parts of objects 2023-04-06 21:45:03 +01:00
Corwin d183b8373d
pull out where to write 2023-04-06 21:45:03 +01:00
Corwin 875d53c040
add rotation to sprite example 2023-04-06 21:45:03 +01:00
Corwin 7265576e2a
fix affine matrix copying 2023-04-06 21:45:03 +01:00
Corwin 0e9910c517
copy affine matricies at copy time 2023-04-06 21:45:03 +01:00
Corwin 354cf7addc
keep and drain affine matricies 2023-04-06 21:45:03 +01:00
Corwin 63088f2907
affine matricies! 2023-04-06 21:45:03 +01:00
Corwin 8d23af010f
remove unused import 2023-04-06 21:45:03 +01:00
Corwin 26b9a50e4e
manage sprites better 2023-04-06 21:45:03 +01:00
Corwin 63e87b046b
correctly initialise before iteration 2023-04-06 21:45:03 +01:00
Corwin e6937bbb61
be able to clear sprite 0 on drop 2023-04-06 21:45:03 +01:00
Corwin e0af614cac
correctly initialise as not visible 2023-04-06 21:45:03 +01:00
Corwin 6007b95926
deallocate palettes 2023-04-06 21:45:03 +01:00
Corwin 57f24acdf9
use drop of iterator to clear rest of objects 2023-04-06 21:45:03 +01:00
Corwin d8f0d78d4b
unsafe is unsafe 2023-04-06 21:45:03 +01:00
Corwin 82b68fc335
mark function that can be used unsafely unsafe 2023-04-06 21:45:03 +01:00
Corwin f86bf9c07a
woah there, that shouldn't be public! 2023-04-06 21:45:03 +01:00
Corwin 660adbe961
fix games 2023-04-06 21:45:00 +01:00
Corwin c03c1664cb
move static sprite loader into managed oam 2023-04-06 21:43:49 +01:00
Corwin ab082c59a1
a mad redo of how objects work 2023-04-06 21:43:49 +01:00
Corwin 686ded4377
fix doc example 2023-04-06 21:28:52 +01:00
Corwin 96a321504c
correct doc sections 2023-04-06 21:17:33 +01:00
Corwin dffda47985
resolve interrupts unsoundness 2023-04-06 21:16:13 +01:00
Gwilym Inzani aa77255720 Correct error message 2023-04-06 21:10:03 +01:00
Gwilym Inzani 16c3395524 Really basic elf parser 2023-04-06 21:09:44 +01:00
Corwin d3834ed2ff
allocator unsound to use in interrupt 2023-04-06 20:48:04 +01:00
Corwin 3e2c57f838
Allocator growth (#407)
Adds growth to the block allocator.

- [x] No changelog update needed
2023-04-06 20:30:20 +01:00
Corwin 182bae100c
remove unused function 2023-04-06 19:23:55 +01:00
Corwin 46faff254f
add grow to block allocator 2023-04-06 19:23:42 +01:00
Corwin 7030d65d9f
extract mutable and staticable parts 2023-04-06 17:31:02 +01:00
Corwin af168f709b
update lock files 2023-04-06 17:17:12 +01:00
Gwilym Inzani 812e99cef5
Reduce codegen units to 1 to ensure build works (#406)
Workaround for #393 

- [x] Changelog updated / no changelog update needed
2023-04-05 17:20:42 +01:00
Gwilym Inzani 6c4f1bcc11 Add changelog entry for codegen-units=1 2023-04-05 17:07:50 +01:00
Gwilym Inzani e07a080aad Reduce codegen units to 1 to ensure build works 2023-04-05 17:06:56 +01:00
Gwilym Inzani 33620aaf09
Add shstrtab section for lld (#403)
Now required since you can use lld as the linker. However, still have
the 'cannot represent a difference across sections' error :(.

- [x] Changelog updated / no changelog update needed
2023-04-03 19:10:39 +01:00
Gwilym Inzani 64620afa10 Add changelog entry 2023-04-02 20:40:41 +01:00