fox32os/fox32os.def

51 lines
1.5 KiB
Modula-2

; fox32os routine definitions
; system jump table
get_os_version: jmp [0x00000810]
; FXF jump table
parse_fxf_binary: jmp [0x00000910]
; task jump table
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]
; memory jump table
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]
; VFS jump table
open: jmp [0x00000D10]
seek: jmp [0x00000D14]
tell: jmp [0x00000D18]
read: jmp [0x00000D1C]
write: jmp [0x00000D20]
; shell jump table
new_shell_task: jmp [0x00000E10]
; widget jump table
draw_widgets_to_window: jmp [0x00000F10]
handle_widget_click: jmp [0x00000F14]
; event types
const EVENT_TYPE_BUTTON_CLICK: 0x80000000
; widget types
const WIDGET_TYPE_BUTTON: 0x00000000