You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use labels instead of constants for HRAM
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
This commit is contained in:
@@ -7,6 +7,7 @@ sed \
|
||||
-e "s/^..:[A-B]/3_SRAM@&/g" \
|
||||
-e "s/^00:[C-D]/4_WRAM0@&/g" \
|
||||
-e "s/^..:[D-D]/5_WRAMX@&/g" \
|
||||
-e "s/^..:[F-F]/6_HRAM@&/g" \
|
||||
$1 \
|
||||
| sort \
|
||||
| sed -e "s/^.*@//g" > $TEMP_FILE
|
||||
|
Reference in New Issue
Block a user