2022-05-22 01:55:56 +02:00
|
|
|
; fox32os routine definitions
|
|
|
|
|
|
|
|
; system jump table
|
2022-10-06 01:15:36 +02:00
|
|
|
get_os_version: jmp [0x00000810]
|
2023-03-07 02:29:06 +01:00
|
|
|
get_os_api_version: jmp [0x00000814]
|
|
|
|
get_current_disk_id: jmp [0x00000818]
|
|
|
|
set_current_disk_id: jmp [0x0000081C]
|
2022-05-22 01:55:56 +02:00
|
|
|
|
|
|
|
; FXF jump table
|
2022-10-06 01:15:36 +02:00
|
|
|
parse_fxf_binary: jmp [0x00000910]
|
2023-03-23 06:18:33 +01:00
|
|
|
launch_fxf_from_disk: jmp [0x00000914]
|
2022-05-22 01:55:56 +02:00
|
|
|
|
|
|
|
; task jump table
|
2022-10-06 01:15:36 +02:00
|
|
|
new_task: jmp [0x00000A10]
|
|
|
|
yield_task: jmp [0x00000A14]
|
|
|
|
end_current_task: jmp [0x00000A18]
|
|
|
|
get_current_task_id: jmp [0x00000A1C]
|
|
|
|
get_unused_task_id: jmp [0x00000A20]
|
|
|
|
is_task_id_used: jmp [0x00000A24]
|
2023-02-08 00:58:13 +01:00
|
|
|
save_state_and_yield_task: jmp [0x00000A28]
|
2022-05-22 01:55:56 +02:00
|
|
|
|
|
|
|
; memory jump table
|
2022-10-06 01:15:36 +02:00
|
|
|
allocate_memory: jmp [0x00000B10]
|
|
|
|
free_memory: jmp [0x00000B14]
|
|
|
|
|
|
|
|
; window jump table
|
|
|
|
new_window: jmp [0x00000C10]
|
|
|
|
destroy_window: jmp [0x00000C14]
|
|
|
|
new_window_event: jmp [0x00000C18]
|
|
|
|
get_next_window_event: jmp [0x00000C1C]
|
|
|
|
draw_title_bar_to_window: jmp [0x00000C20]
|
|
|
|
move_window: jmp [0x00000C24]
|
|
|
|
fill_window: jmp [0x00000C28]
|
|
|
|
get_window_overlay_number: jmp [0x00000C2C]
|
|
|
|
start_dragging_window: jmp [0x00000C30]
|
2023-01-22 22:47:55 +01:00
|
|
|
new_messagebox: jmp [0x00000C34]
|
2023-01-25 02:10:48 +01:00
|
|
|
get_active_window_struct: jmp [0x00000C38]
|
2022-10-15 01:39:40 +02:00
|
|
|
|
|
|
|
; VFS jump table
|
|
|
|
open: jmp [0x00000D10]
|
|
|
|
seek: jmp [0x00000D14]
|
|
|
|
tell: jmp [0x00000D18]
|
|
|
|
read: jmp [0x00000D1C]
|
|
|
|
write: jmp [0x00000D20]
|
2023-03-31 07:16:31 +02:00
|
|
|
get_size: jmp [0x00000D24]
|
2022-10-15 01:53:41 +02:00
|
|
|
|
2022-12-28 03:01:55 +01:00
|
|
|
; widget jump table
|
2023-01-21 09:17:10 +01:00
|
|
|
draw_widgets_to_window: jmp [0x00000E10]
|
|
|
|
handle_widget_click: jmp [0x00000E14]
|
2022-12-28 03:01:55 +01:00
|
|
|
|
|
|
|
; event types
|
|
|
|
const EVENT_TYPE_BUTTON_CLICK: 0x80000000
|
|
|
|
|
|
|
|
; widget types
|
|
|
|
const WIDGET_TYPE_BUTTON: 0x00000000
|