Skip to content

Commit

Permalink
fix(*): change register number
Browse files Browse the repository at this point in the history
  • Loading branch information
alekmaul committed Mar 24, 2024
1 parent 20e9f80 commit adc3168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snes-examples/memory_mapping/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ endif

# Tell the compiler to export a Mode 21 (HiROM) memory mapped ROM
HIROM=1
# Tell the compiler to use FastROM. $4206 reg is enabled on start and reset, nmi and vectors jumps with an ofset of $80 banks
# Tell the compiler to use FastROM. $420D reg is enabled on start and reset, nmi and vectors jumps with an ofset of $80 banks
FASTROM=1

include ${PVSNESLIB_HOME}/devkitsnes/snes_rules
Expand Down
2 changes: 1 addition & 1 deletion wiki/HiRom-and-FastRom.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ We declared that we are using Fast and Hi rom in **Makefile**, just before inclu
# Tell the compiler to export a Mode 21 (HiROM) memory mapped ROM
HIROM=1
# Tell the compiler to use FastROM.
# $4206 reg is enabled on start and reset, nmi and vectors jumps with an ofset of $80 banks
# $420D reg is enabled on start and reset, nmi and vectors jumps with an ofset of $80 banks
FASTROM=1

include ${PVSNESLIB_HOME}/devkitsnes/snes_rules
Expand Down

0 comments on commit adc3168

Please sign in to comment.