1
0
Fork 0
mirror of https://github.com/italicsjenga/agb.git synced 2025-02-23 22:58:18 +11:00
Commit graph

1354 commits

Author SHA1 Message Date
Gwilym Inzani
85a8540d44 Add missing #[cfg(test)] 2023-10-24 20:22:43 +01:00
xokz
fdab4a3e6f
Update bitmap4.rs 2023-10-23 17:28:22 -04:00
xokz
fe90d4d8d7
Update bitmap4.rs 2023-10-23 17:26:20 -04:00
Brandon Atkinson
2f1ad07e43 allow TileSetting palette to be set 2023-10-18 23:28:13 -06:00
Gwilym Inzani
4ed2ea3784 Move the linkers scripts to the src directory so agb itself can change its script 2023-10-18 12:26:50 +01:00
Gwilym Inzani
eff075f50b Remove the need for a linker script and move multiboot to a feature 2023-10-18 12:08:12 +01:00
Corwin
41e192eff2
set interrupt handler to its own section 2023-10-18 00:17:24 +01:00
Gwilym Inzani
ce233f7d62 Always check the address to make sure that things work as expected 2023-10-17 23:51:40 +01:00
Gwilym Inzani
5feb67285d Add a test that multiboot works 2023-10-17 23:49:57 +01:00
Gwilym Inzani
aa33a46919 Remove trailing spaces 2023-10-17 23:45:08 +01:00
Gwilym Inzani
41bda0036f Make sure mgba recognises this as a GBA rom 2023-10-17 23:44:48 +01:00
Gwilym Inzani
c9c8d9e879 Don't put the entrypoint in the .text section 2023-10-17 23:22:04 +01:00
Gwilym Inzani
1c0e9f9a2a Maybe get multiboot to work? 2023-10-17 23:15:51 +01:00
Gwilym Inzani
ec6774ca6b Split into regular, multiboot and common 2023-10-17 23:14:18 +01:00
Gwilym Inzani
243e810150 Rename crt0 section to entrypoint 2023-10-17 22:22:48 +01:00
Gwilym Inzani
7afa19965c Rename to entrypoint.s 2023-10-17 22:12:50 +01:00
Corwin
8091e22b10
use macro for the grabbing linker variable 2023-10-17 22:09:15 +01:00
Corwin
0b747508a8
fixup the multiboot 2023-10-17 21:54:54 +01:00
Corwin
8e547c6783
derive the data ends 2023-10-17 21:53:50 +01:00
jmaargh
4a13d52faf Resolve TODOs about linker symbols 2023-10-16 22:50:53 +01:00
jmaargh
7a1f554b72 Fix symbols for RAM section locations
Using the ld functions is not only more readable, but more accurate.
Previous use of the `.` variable could occasionally have off-by-one
errors.
2023-10-16 22:46:27 +01:00
jmaargh
9040844854 Reserve IWRAM space for BIOS use 2023-10-16 22:45:59 +01:00
Gwilym Inzani
7454563325 Tests must come at the end 2023-10-07 20:28:09 +01:00
Gwilym Inzani
53685b0410 Release v0.17.1 2023-10-05 22:18:04 +01:00
Gwilym Inzani
c280316fa2 Update Cargo.toml files so docs.rs is happy 2023-10-04 16:36:46 +01:00
Gwilym Inzani
b6916d7e74 Release v0.17.0 2023-10-03 22:33:10 +01:00
Corwin
fc721ea060
Bitmap4 fix ()
Expands on  by updating example and updating changelog.

- [x] Changelog updated
2023-09-28 21:35:21 +01:00
Corwin
74ccdfcd7f
update example to excersise the broken case 2023-09-28 21:19:07 +01:00
xokz
575976bf52
Update bitmap4.rs 2023-09-28 15:03:24 -04:00
xokz
cf80e313b1
Update bitmap4.rs
colors of lower values can now overwrite colors of higher values.
2023-09-28 14:46:32 -04:00
Corwin
473181718b
remove outer loop 2023-09-14 13:28:00 +01:00
Corwin
c12ae4b5d9
add safety comments to public unsafe functions 2023-09-14 12:44:34 +01:00
Gwilym Inzani
5b3248ec5a Massively improve the code generation around tile sizes 2023-09-06 08:51:47 +01:00
Gwilym Inzani
ed2e7dec5c Let rust do the register allocation 2023-09-06 08:34:14 +01:00
Gwilym Inzani
bb57298c54 This has better code generation 2023-09-06 00:37:23 +01:00
Gwilym Inzani
77445b304f Custom assembly as thumb 2023-09-06 00:23:01 +01:00
Gwilym Inzani
e504b93fe3 Write a custom tile copy command 2023-09-05 23:52:35 +01:00
Gwilym Inzani
7431086b14 Try using memcpy4 for copying the tile data 2023-08-31 07:53:08 +01:00
Gwilym Inzani
d3c32ce351 Minor optimisation for the show entire screen case 2023-08-31 07:53:01 +01:00
Gwilym Inzani
2c556f9ce8 Fix docs for real this time 2023-08-30 17:02:06 +01:00
Gwilym Inzani
dc04785669 Fix doc examples 2023-08-30 16:46:05 +01:00
Gwilym Inzani
11fe4d92ac Delete the old toml file 2023-08-30 16:25:16 +01:00
Gwilym Inzani
3a1f8ed8ed Add a convienence fill_with method 2023-08-30 16:22:55 +01:00
Gwilym Inzani
f0ddfc96b4 Reference the TRANSPARENT_TILE_INDEX in the definition of BLANK 2023-08-30 16:18:08 +01:00
Gwilym Inzani
6853d36a9c Dynamic tile can also return the setting directly 2023-08-30 16:14:51 +01:00
Gwilym Inzani
5cfa64030a Generate the tileset directly 2023-08-30 16:08:43 +01:00
Gwilym Inzani
9abfa7f8e1 Update documentation 2023-08-29 16:20:54 +01:00
Gwilym Inzani
b5991d3ccc Copy all the tiles for a 256 colour map 2023-08-29 16:14:05 +01:00
Gwilym Inzani
a865240308 Start fixing 256 colours 2023-08-29 16:07:50 +01:00
Gwilym Inzani
9db4230aee Better error if we run out of VRam 2023-08-29 15:34:07 +01:00