fox32rom: Add memory copy/compare routines to the jump table
This commit is contained in:
parent
dddfd8b706
commit
8cb29104bb
|
@ -49,6 +49,12 @@ menu_update_event: jmp [0xF004401C]
|
|||
read_sector: jmp [0xF0045000]
|
||||
write_sector: jmp [0xF0045004]
|
||||
|
||||
; memory copy/compare jump table
|
||||
copy_memory_bytes: jmp [0xF0046000]
|
||||
copy_memory_words: jmp [0xF0046004]
|
||||
compare_memory_bytes: jmp [0xF0046008]
|
||||
compare_memory_words: jmp [0xF004600C]
|
||||
|
||||
; event types
|
||||
const MOUSE_CLICK_EVENT_TYPE: 0x00000000
|
||||
const MENU_BAR_CLICK_EVENT_TYPE: 0x00000001
|
||||
|
|
7
main.asm
7
main.asm
|
@ -200,6 +200,13 @@ get_rom_version:
|
|||
data.32 read_sector
|
||||
data.32 write_sector
|
||||
|
||||
; memory copy/compare jump table
|
||||
org.pad 0xF0046000
|
||||
data.32 copy_memory_bytes
|
||||
data.32 copy_memory_words
|
||||
data.32 compare_memory_bytes
|
||||
data.32 compare_memory_words
|
||||
|
||||
org.pad 0xF004F000
|
||||
standard_font_width:
|
||||
data.16 8
|
||||
|
|
Loading…
Reference in New Issue
Block a user