mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-25 17:34:06 +00:00
67 lines
1.2 KiB
Modula-2
67 lines
1.2 KiB
Modula-2
|
|
;*****************************************************
|
|
;*
|
|
;* XIOS function jump table offsets
|
|
;*
|
|
;*****************************************************
|
|
|
|
if ccpm
|
|
|
|
io_const equ 0 ;func 50, direct BIOS
|
|
io_conin equ 1 ;can access io_funcs 0-6
|
|
io_conout equ 2
|
|
io_listst equ 3
|
|
io_list equ 4
|
|
io_auxin equ 5
|
|
io_auxout equ 6
|
|
io_switch equ 7
|
|
io_statline equ 8
|
|
io_seldsk equ 9
|
|
io_read equ 10
|
|
io_write equ 11
|
|
io_flush equ 12
|
|
io_polldev equ 13
|
|
|
|
nxiosfuncs equ io_flush
|
|
endif
|
|
|
|
if mpm
|
|
io_const equ 0
|
|
io_conin equ 1
|
|
io_conout equ 2
|
|
io_list equ 3
|
|
;io_punch equ 4 ;not used
|
|
;io_reader equ 5 ;not used
|
|
io_home equ 6
|
|
io_seldsk equ 7
|
|
io_settrk equ 8
|
|
io_setsec equ 9
|
|
io_setdma equ 10
|
|
io_read equ 11
|
|
io_write equ 12
|
|
;io_listst equ 13 ;not used
|
|
io_sectran equ 14
|
|
io_setdmab equ 15
|
|
;io_getsegt equ 16 ;not used
|
|
io_polldev equ 17
|
|
io_strtclk equ 18
|
|
io_stopclk equ 19
|
|
io_maxconsole equ 20
|
|
io_maxlist equ 21
|
|
io_selmemory equ 22
|
|
io_idle equ 23
|
|
io_flush equ 24
|
|
nxiosfuncs equ io_flush
|
|
endif
|
|
|
|
;*****************************************************
|
|
;*
|
|
;* XIOS Parameter Block for CALL XIOS functions
|
|
;*
|
|
;*****************************************************
|
|
|
|
xcb_func equ 0
|
|
xcb_cx equ word ptr xcb_func + byte
|
|
xcb_dx equ word ptr xcb_cx + word
|
|
xcblen equ xcb_dx + word
|