Add some missing routines to the jump table

This commit is contained in:
Ry 2022-10-05 16:54:52 -07:00
parent f10b1d5635
commit e3ec282185
3 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ new_event: jmp [0xF004000C]
wait_for_event: jmp [0xF0040010]
get_next_event: jmp [0xF0040014]
panic: jmp [0xF0040018]
get_mouse_button: jmp [0xF004001C]
; generic drawing jump table
draw_str_generic: jmp [0xF0041000]
@ -50,6 +51,7 @@ move_overlay: jmp [0xF0043034]
resize_overlay: jmp [0xF0043038]
set_overlay_framebuffer_pointer: jmp [0xF004303C]
get_unused_overlay: jmp [0xF0043040]
make_coordinates_relative_to_overlay: jmp [0xF0043044]
; menu bar jump table
enable_menu_bar: jmp [0xF0044000]

View File

@ -180,6 +180,7 @@ get_rom_version:
data.32 wait_for_event
data.32 get_next_event
data.32 panic
data.32 get_mouse_button
; generic drawing jump table
org.pad 0xF0041000
@ -225,6 +226,7 @@ get_rom_version:
data.32 resize_overlay
data.32 set_overlay_framebuffer_pointer
data.32 get_unused_overlay
data.32 make_coordinates_relative_to_overlay
; menu bar jump table
org.pad 0xF0044000

View File

@ -11,6 +11,7 @@ panic:
ifz mov r0, panic_string
call debug_print
call print_string_to_monitor
call redraw_monitor_console
call invoke_monitor
rjmp 0