fox32rom: Add memory copy/compare routines to the jump table

This commit is contained in:
Ry 2022-03-25 18:04:07 -07:00
parent dddfd8b706
commit 8cb29104bb
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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