75 lines
2.0 KiB
NASM
75 lines
2.0 KiB
NASM
functable:
|
|
|
|
dw clear
|
|
dw detect_video
|
|
dw print_string
|
|
dw print_symbol
|
|
dw input_string
|
|
dw compare_strings
|
|
dw copy_string
|
|
dw calculate_string_len
|
|
dw os_print_digit
|
|
dw os_print_1hex
|
|
dw os_print_2hex
|
|
dw print_hex
|
|
dw print_registers
|
|
dw string_to_int
|
|
dw int_to_string
|
|
dw dbg_halt_cpu
|
|
dw halt_cpu
|
|
dw its
|
|
dw find_file
|
|
dw remove_file
|
|
dw write_table
|
|
dw cmd.userinput_arg1
|
|
dw cmd.userinput_arg2
|
|
dw cmd.userinput_arg3
|
|
dw reset_buffer
|
|
dw append_file
|
|
dw rename_file
|
|
dw load_file
|
|
dw save_file
|
|
dw wait_key
|
|
dw copy_memory
|
|
dw get_cursor_pos
|
|
dw set_cursor_pos
|
|
dw read_table
|
|
dw change_table
|
|
dw 0
|
|
|
|
times 1024 - ($-$$) db 0
|
|
|
|
; FUNCTABLE EQU 7E00h
|
|
; clear EQU word [7E00h]
|
|
; detect_video EQU word [7E02h]
|
|
; print_string EQU word [7E04h]
|
|
; print_symbol EQU word [7E06h]
|
|
; input_string EQU word [7E08h]
|
|
; compare_strings EQU word [7E0Ah]
|
|
; copy_string EQU word [7E0Ch]
|
|
; calculate_string_len EQU word [7E0Eh]
|
|
; os_print_digit EQU word [7E10h]
|
|
; os_print_1hex EQU word [7E12h]
|
|
; os_print_2hex EQU word [7E14h]
|
|
; print_hex EQU word [7E16h]
|
|
; print_registers EQU word [7E18h]
|
|
; string_to_int EQU word [7E1Ah]
|
|
; int_to_string EQU word [7E1Ch]
|
|
; dbg_halt_cpu EQU word [7E1Eh]
|
|
; halt_cpu EQU word [7E20h]
|
|
; its EQU word [7E22h]
|
|
; find_file EQU word [7E24h]
|
|
; remove_file EQU word [7E26h]
|
|
; write_table EQU word [7E28h]
|
|
; arg1 EQU word [7E2Ah]
|
|
; arg2 EQU word [7E2Ch]
|
|
; arg3 EQU word [7E2Eh]
|
|
; reset_buffer EQU word [7E30h]
|
|
; append_file EQU word [7E32h]
|
|
; rename_file EQU word [7E34h]
|
|
; load_file EQU word [7E36h]
|
|
; save_file EQU word [7E38h]
|
|
; wait_key EQU word [7E3Ah]
|
|
; copy_memory EQU word [7E3Ch]
|
|
; get_cursor_pos EQU word [7E3Eh]
|
|
; set_cursor_pos EQU word [7E40h] |