
bin io_orig.sys 0h
out .dasm




; temporary - doesn't appear there is code for these

subf 01da4h READ_AC_CURRENT
subf 01dfch WRITE_AC_CURRENT
subf 01e37h WRITE_C_CURRENT
subf 01e5ch WRITE_TTY
subf 01fd9h WRITE_A_CURRENT
subf 0201ah OMNI_SCROLL
subf 0231ah GR_SET_CTYPE
subf 0235eh GR_SET_CPOS
subf 02368h GR_READ_CURSOR
subf 0267fh GR_SCROLL_UP
subf 02839h GR_SCROLL_DOWN
subf 02385h GR_READ_AC_CURRENT
subf 023cah GR_WRITE_AC_CURRENT
subf 024d9h GR_WRITE_C_CURRENT
subf 02aeah GR_SET_COLOR
subf 02ba1h GR_WRITE_DOT
subf 02ccbh GR_READ_DOT
subf 02543h GR_WRITE_TTY
subf 02494h GR_CHANGE_A_CURRENT
subf 028aeh GR_OMNI_SCROLL
subf 02bb1h GR_WRITE_LINE
subf 02d1ch GR_GET_PUT







; from kb.lst
;------------------------------------------------------------------
subf 05a80h KB_SETUP
; formerly _isr_16h_51h
subf 00d3ah KB_SVC
datf 00d50h KB_SVC_TBL_SIZE
subf 00d5ch KB_SVC_READ
loc  00d61h KB_SVC_READ_1
subf 00d70h KB_SVC_SCAN
loc  00d86h KB_SVC_SCAN_0
loc  00d88h KB_SVC_SCAN_X
subf 00d8fh KB_SVC_SHIFT
subf 00d98h KB_SVC_FLUSH
subf 00da3h KB_SVC_RESET
loc  00dach KB_SVC_RESET_1
subf 00dech RESET_DELAY
loc  00defh RESET_DELAY_LP
; formerly _isr_78h_keyboard
subf 00df2h KB_INT
loc  00e2ah 
loc  00e2fh 
loc  00e42h 
loc  00e5eh 
loc  00e68h 
loc  00e6bh 
loc  00e75h 
loc  00eabh 
loc  00eaeh KB_INT_X

locf 00eb2h KEY_ALT
loc  00eb4h KEY_ALT_P
loc  00ebbh KEY_ALT_R
loc  00ec7h KEY_ALT_X
loc  00ec9h CAT_SHIFT
loc  00ecbh CAT_SHIFT_P
loc  00ed5h CAT_SHIFT_R
loc  00ee2h CAT_SHIFT_R_1
loc  00ee4h CAT_SHIFT_X
loc  00ee6h CAT_SPECIAL
loc  00ef6h CAT_SPECIAL_1
loc  00ef8h CAT_ALPHA
loc  00efah CAT_ALPHA_P
loc  00efeh CAT_ALPHA_R
loc  00f01h CAT_NUMER
loc  00f03h CAT_NUMER_P
loc  00f1ah CAT_NUMER_P_1
loc  00f28h CAT_NUMER_X
loc  00f2bh CAT_NUMER_R
loc  00f2eh CAT_NORMAL
loc  00f30h CAT_NORMAL_P
loc  00f32h CAT_NORMAL_P_1
loc  00f37h CAT_NORMAL_P_2
loc  00f3ch CAT_NORMAL_P_3
loc  00f42h CAT_NORMAL_R
loc  00f44h CAT_NORMAL_X
loc  00f46h PUT_ALT
loc  00f4fh PUT_CTL
loc  00f58h PUT_UCS
loc  00f61h PUT_LCS
loc  00f68h PUT_ASK
loc  00f72h PUT_ASE
loc  00f78h PUT_ASN
loc  00f7ch PUT_ASC
loc  00f90h PUT_ASC_1
loc  00f96h PUT_ASC_Q
loc  00fafh PUT_ASC_D1
loc  00fb6h PUT_ASC_D2
loc  00fbdh PUT_ASC_Q2
loc  00fc6h PUT_ASC_X
loc  00fcbh PUT_ASX
loc  00fcdh SP_KB_OTH
loc  00fcfh KEY_DEADKEY1
loc  00fd1h KEY_DEADKEY1_P
loc  00fe1h PUT_UNSH_DDKY1
loc  00fe9h PUT_SHIFT_DDKY1
loc  00ff1h KEY_DEADKEY2
loc  00ff3h KEY_DEADKEY2_P
loc  01003h PUT_UNSH_DDKY2
loc  0100bh PUT_SHIFT_DDKY2
loc  01013h KEY_DEADKEY_R
loc  01016h PUT_ALT_L
loc  01019h PUT_CTL_L
loc  0101ch KB_DEADKY1
loc  0102ch KB_DEADKY1_EX
loc  01034h KB_DEADKY2
loc  01044h KB_DEADKY2_EX
loc  0104dh KB_DEADKY_1
loc  0105dh KB_DEADKY_2
loc  01061h KB_DEADKY_EX
loc  01062h KEY_BREAK
loc  01064h KEY_BREAK_P
loc  0106eh KEY_BREAK_F
loc  01076h KEY_BREAK_X
loc  01079h KEY_BREAK_N
loc  0107ch KEY_BREAK_R
loc  0107fh KEY_DELETE
loc  01081h KEY_DELETE_P
loc  0108bh KEY_DELETE_F
loc  01090h KEY_DELETE_X
loc  01093h KEY_DELETE_N
loc  01096h KEY_DELETE_R
loc  01099h KEY_EXCLAM
loc  010a5h KEY_EXCLAM_F
loc  010aah KEY_EXCLAM_X
loc  010adh KEY_EXCLAM_N
loc  010b0h KEY_EXCLAM_R
loc  010b3h KEY_HOLD
loc  010b5h KEY_HOLD_P
loc  010bdh KEY_HOLD_F
loc  010c4h KEY_HOLD_X
loc  010c7h KEY_HOLD_R
loc  010cah KEY_PRINT
loc  010cch KEY_PRINT_P
loc  010d6h KEY_PRINT_F
loc  010dbh KEY_PRINT_X
loc  010deh KEY_PRINT_N
loc  010e1h KEY_PRINT_R
loc  010e4h KEY_RIGHT
loc  010e6h KEY_RIGHT_P
loc  010ebh KEY_RIGHT_F
loc  010f6h KEY_RIGHT_X
loc  010f9h KEY_RIGHT_N
loc  010fch KEY_RIGHT_R
loc  010ffh NO_EOI
bssf 01408h LC_DEADKY1 31
bssf 01427h UC_DEADKY1 31
bssf 01446h LC_DEADKY2 31
bssf 01465h UC_DEADKY2 31
datf 01108h KB_SCAN_TBL BYTE 768 4

jtf 00d52h KB_SVC_TBL 5




; from fdisk.lst
;------------------------------------------------------------------
subf 06d1ah FDISK_SETUP
; formerly _isr_40h
subf 03fdeh FDISK_IO
subf 0400ah J1
loc  04027h J3a
loc  0402fh J3b
loc  04037h J3c
loc  0403fh J3d
loc  04047h J3
subf 0404dh DISK_STATUS
subf 04051h DISK_RESET
loc  04065h rwait
loc  04070h roloop
loc  04073h riloop
subf 04079h j6
loc  0408fh j6a
loc  04094h j6b
subf 04096h FDISK_READ
loc  040a4h fdr1
loc  040b9h fdr2
subf 040bah FDISK_WRITE
loc  040c8h fdw1
loc  040e1h W_TRIM
loc  040e4h fdw2
subf 040e5h FDISK_FORMAT
loc  0410ch F_TRIM
loc  0410fh fdf1
subf 0410fh FDISK_MEDIA
loc  04122h fdm1
subf 04123h FDISK_OP
loc  04154h write
loc  0415eh write_prot
loc  0416ah moto
loc  04183h hop
loc  04186h spinup
loc  0419bh outx
loc  041cdh j15e
loc  041ffh J16
loc  04222h j16b
loc  04225h j17
loc  0425ch j18
loc  0425eh j19
loc  04266h j21
loc  04269h j21a
loc  0426ch j22
subf 04272h media_check
loc  04284h mc1
subf 04285h get_bpb_ptr
loc  04290h bp0
subf 04291h sense_media
loc  0429fh drv_test
loc  042b1h j8
loc  042d0h bad_sense
loc  042d7h bad_sense1
loc  042e4h tp1a
loc  042e8h sense_end
subf 042ech parm_output
subf 042f3h FDC_OUTPUT
loc  042f7h jwait
loc  042f9h J23
loc  04301h J24
loc  04309h J25
loc  0430ch J26
loc  04316h J27
subf 0431ch GET_PARM
subf 04330h SEEK
loc  04379h J28
loc  04396h sk_drv
loc  0439eh s_drv
loc  043a7h J32
subf 043a9h DMA_CONT
loc  043b8h DMA_CA
subf 043beh DMA_FTMT
loc  043cdh dmac1
subf 043ceh WAIT_INT
loc  043d5h J36
loc  043e5h J36a
loc  043f0h J36b
loc  043f1h J37
; formerly _isr_74h_fdc
subf 043fah DISK_INT
loc  04413h bad
loc  0441ah j5
loc  04439h j5a
loc  04448h fd1
loc  0444eh j11x
loc  04455h int_result
loc  04458h j11
loc  0445dh j11a
subf 04463h not_result_phase
subf 0446bh result_phase
loc  04471h j38
loc  04478h J39
loc  0447fh J40
loc  04487h J40a
loc  0448eh J42
loc  04496h J43
loc  0449fh J44
subf 044a5h drive_select
subf 044b1h NUM_TRANS
loc  044c4h J45
subf 044c7h dma_xfer
loc  044d4h dma_setup
loc  04519h save_dma0_cb
loc  04526h output_control
subf 04530h dma_wait
loc  04535h dma_wait_1
loc  0453bh wait_up
loc  0453dh wait_loop_out
loc  04540h wait_loop
loc  04550h wait_loop_1
loc  0455eh dma_error
loc  0455fh dma_reset
loc  0456dh dma_exit
loc  04577h dma_return
subf 0457ah cvt_add
loc  0458ch addnc
subf 04591h ger_dma_ptr
loc  0459ch got_ptr
subf 0459dh clear_dma_halt
; formerly _isr_0ah_dma0
subf 045ach dma0_int
; formerly _isr_0ah_dma1
subf 045c5h dma1_int
subf 045deh set_drq_ch
loc  045edh ch_busy
loc  045f8h ch_busy_loop
loc  045feh ch_loop_bot
loc  0460dh ch_enable
loc  04611h ch_enable_loop
loc  04624h setup_drq_ch
loc  04638h setup_drq_ch1
loc  0463ah setup_drq
loc  0464ch drq_exit
subf 0464fh reset_drq
loc  04674h reset_drq_exit
; formerly _isr_7eh_dma_error
subf 04678h ext_drq_int








; from hdisk.lst
;------------------------------------------------------------------
datf 05620h HD_PTR WORD
dat  05622h HD_DRIVE BYTE
dat  05623h HD_NUM BYTE
dat  05624h HD_INT_FLAG BYTE
dat  05625h DISK_STATUS BYTE
dat  05626h HD0_HERE BYTE
dat  05627h HD1_HERE BYTE
dat  05628h RESET_PRT WORD
dat  0562ah DATA_PRT WORD
dat  0562ch ERR_PRT WORD
dat  0562eh WPC_PRT WORD
dat  05630h SECNT_PRT WORD
dat  05632h SECNO_PRT WORD
dat  05634h CYLLO_PRT WORD
dat  05636h CYLHI_PRT WORD
dat  05638h SDH_PRT WORD
dat  0563ah STS_PRT WORD
dat  0563ch CMD_PRT WORD

subf 06e08h HDISK_SETUP
loc  06e6ah HD_SET_10

subf 06e71h HD_SETUP_1
loc  06e9ch MATCH_LOOP
loc  06eb1h BOOT_MOVE
loc  06eb7h HD_BPB_SET
loc  06ec7h HD_SETUP_EX_GD
loc  06ec8h HD_SETUP_EXIT



; formerly _isr_13h_56h_disk
subf 046bah HDISK
loc  046c4h HD_HDISK
loc  046cfh HD_DO_SVC

; formerly _isr_76h_hdc
subf 04a0ch HDIO0_INT
loc  04a25h HDIO0_EXIT

subf 046f0h HD_RESET
loc  04703h DO_RECAL
loc  0473dh HD_R1

subf 04740h HD_STATUS

subf 04747h HD_READ
loc  0475ah HD_RD_LP
loc  04776h HD_RD_EXIT

subf 04779h HD_WRITE
loc  0478ch HD_WRT_LP
loc  047a8h HD_WRT_EXIT

subf 047abh HD_VERIFY
loc  047beh HD_VER_LP
loc  047d8h HD_VER_EXIT

subf 047dbh HD_FMTTRK
loc  04800h HD_FMTTRK_EXIT

subf 0489ah BAD_COMMAND

subf 04803h HD_GET_PARMS

subf 04836h HD_INIT

subf 04853h HD_SEEK

subf 0486bh HD_RBUFF
loc  04877h HD_RBUFF_EXIT

subf 0487ah HD_WBUFF
loc  04886h HD_WBUFF_EXIT

subf 04889h HD_TEST_BUSY
loc  04897h HD_TST_EXIT

subf 0489fh GOOD_RETURN

sub 0489fh _hdc_func12h
sub 0489fh _hdc_func13h
sub 0489fh _hdc_func14h

subf 048a4h HD_EXIT
loc  048b7h HD_EXIT_1

subf 048beh HD_INPUT
loc  048c7h HD_IN_LP1
loc  048d4h HD_INPUT_1
loc  048dch HD_INP_LP2
loc  048e5h HD_INP_EXIT

subf 048e8h HD_OUTPUT
loc  048f1h HD_OUT_LP1
loc  048feh HD_OUT1
loc  04906h HD_OUT_LP2
loc  0490fh HD_OUT_EXIT

subf 04912h HD_SELECT

subf 0495dh HD_POINT_PRM
loc  0496ah HD_POINT_RET

subf 0496bh HD_RES_CTLR
loc  04975h RES_LOOP

subf 0497dh OUT_CMD
loc  0498ch OUT_LP

subf 04998h WAIT_RDY
loc  049a0h WAIT_RDY_LP
loc  049b8h WAIT_RDY_ERR_CHK
loc  049c5h WAIT_RDY_ER1
loc  049cdh WAIT_RDY_ER15
loc  049d7h WAIT_RDY_ER2
loc  049dah WAIT_RDY_GD
loc  049dch WAIT_RDY_XT

subf 049dfh HD_ERROR
loc  049e6h HD_ER1
loc  049edh HD_ER2
loc  049f4h HD_ER3
loc  049fbh HD_ER5
loc  04a02h HD_ER7
loc  04a09h HD_ERX

strzf 06ec9h TANDYMSG

jtf  04690h HD_SVC_TBL 21

datf 05684h HD_BPB_PTR WORD
datf 05688h HD_BPB_0 BYTE
datf 0569bh HD_BPB_1 BYTE
datf 056aeh HD_MEDIA_FLAG BYTE




; from v19007.lst
;------------------------------------------------------------------
subf 016ceh SET_CTYPE
loc  016deh BLANK_CHECK
loc  016f9h SIZE_CHECK
loc  0170bh SET_UNDERLINE
loc  01712h SET_BLOCK
loc  01717h SC_RET

subf 0171ch SET_DEF_CUR

subf 01720h SET_DEFAULT
loc  01735h ATTRIB_LD

subf 01745h SET_CPOS
loc  0174eh PAGE_VALID
loc  01758h ROW_MOD
loc  01760h COL_CHECK
loc  01768h COL_MOD
loc  0176eh STORE_CURS
loc  0179bh CPOS_ERROR
loc  0179eh CPOS_RETURN

subf 017a1h WRITE_NEW_CURSOR
loc  017c2h WRITE_NEW_RET

subf 017c3h READ_CURSOR
loc  017dbh SET_CURSOR_END
loc  017e7h newtag
loc  017f1h SAVE_CX

subf 017f7h ACT_DISP_PAGE
loc  01805h VALID_PAGE
loc  0180bh NEW_ACTIVE
loc  0182eh MT_1
loc  0183fh ACT_PARAM_ERROR
loc  01841h ACT_RETURN





; from pprn.lst
;------------------------------------------------------------------
subf 06c7ch PRN_SETUP
; formerly _isr_17h_54h
subf 03d3ah PRN_SVC
datf 03d50h PRN_SVC_TBL_SIZE WORD
subf 03d58h PRN_SVC_WRITE
loc  03d7bh PRN_SVC_WRITE_0
loc  03d80h PRN_SVC_WRITE_1
loc  03d95h PRN_SVC_WRITE_2
loc  03da0h PRN_SVC_WRITE_X
subf 03da2h PRN_SVC_RESET
subf 03da6h PRN_SVC_STATUS
loc  03da9h PRN_SVC_STATUS_1
loc  03dadh PRN_SVC_STATUS_2
; formerly _isr_7bh_lpt
subf 03db4h PRN_INT
subf 03db5h GET_STAT
subf 03dc4h XLT_STAT


jtf 03d52h PRN_SVC_TBL 3



; from aaux.lst
;------------------------------------------------------------------
subf 06c16h AUX_SETUP
; formerly _isr_14h_53h
subf 03a5ah AUX_SVC
datf 03a6eh AUX_SVC_TBL_SIZE WORD
subf 03a7ah AUX_SVC_INIT
loc  03a8eh AUX_SVC_INIT_LP
subf 03a94h AUX_SVC_SEND
loc  03aa1h AUX_SVC_SEND_1
loc  03aaah AUX_SVC_SEND_2
subf 03aaeh AUX_SVC_RECV
loc  03ab2h AUX_SVC_RECV_1
loc  03acbh AUX_RP_XON
loc  03afeh AUX_RP_XON_X
subf 03affh AUX_SVC_STAT
loc  03b0dh AUX_SVC_STAT_0
loc  03b12h AUX_SVC_STAT_1
loc  03b20h AUX_SVC_STAT_X
subf 03b24h AUX_SVC_FLUSH
; formerly _isr_72h_uart_txrx
subf 03b2fh AUX_INT
loc  03b45h AUX_INT_S
subf 03bf3h AUX_RESET
loc  03c00h AUX_RESET_0
loc  03c07h AUX_RESET_1
loc  03c0eh AUX_RESET_2
loc  03c15h AUX_RESET_3
loc  03c1ch AUX_RESET_4
datf 03c42h WEIRD_NOPS BYTE 40 10
subf 03c89h AUX_FLUSH
loc  03cach AUX_STATUS_DEF
subf 03caeh AUX_STATUS
loc  03cb7h AUX_STATUS_0
loc  03cbeh AUX_STATUS_1
loc  03cc5h AUX_STATUS_2
loc  03ccch AUX_STATUS_3
loc  03cd3h AUX_STATUS_4
loc  03cdah AUX_STATUS_5
loc  03ce1h AUX_STATUS_6
loc  03ce8h AUX_STATUS_7
subf 03cfdh AUX_SEND
loc  03d0ah AUX_SEND_1
loc  03d16h AUX_SEND_2
loc  03d24h AUX_SEND_X
subf 03d25h OUT_DELAY
datf 03d2ah BAUD_RATE_TBL WORD 8

jtf 03a70h AUX_SVC_TBL 5


; from v29007.lst
;------------------------------------------------------------------
subf 01842h SCROLL_UP
loc  0185eh SMOOTH_CHECK
loc  01871h NOT_SMOOTH_UP
loc  01874h SU_RETURN
subf 01875h BLANK_PAGE
loc  01882h CALL_BLANK
subf 0188ch MEMORY_POSN
loc  0189bh ACTIVE
subf 018d4h MAP_ATTRIB
loc  018deh TEST_INTEN
loc  018e6h TEST_REVID
loc  018f1h TEST_3
loc  018f9h TEST_UNDER
loc  01904h ANY_SET
loc  0190ch SET_ATTRIB
subf 0190fh SCROLL_DOWN
loc  0192bh CHECK_SMOOTH
loc  0193eh NOT_SMOOTH_DOWN
loc  01941h SD_RETURN


; from v39007.lst
;------------------------------------------------------------------
subf 01942h WINDOW_SIZE
loc  01956h NOT_FULL_HEIGHT
loc  0195bh WIDTH_CHECK
loc  01971h NOT_FULL_WIDTH
loc  01976h WS_RETURN
subf 01977h WINDOW_VALID
loc  01981h ROWS_OK
loc  0198dh PARAM_OK
loc  01993h WV_RETURN
subf 01994h SMOOTH_UP
loc  01a12h LOK_CHECK
subf 01a24h SMOOTH_SCROLL_UP
loc  01a4fh MOVE_MEM_DOWN
loc  01a85h OFF_INC
loc  01a9ch CLEAR_OFF
loc  01ac4h MOVE_MEM_UP
loc  01ae2h LAST_CALL
subf 01af1h SMOOTH_DOWN
loc  01b73h CHECK_LOK
subf 01b85h SMOOTH_SCROLL_DOWN
loc  01bb2h SHIFT_MEM_DOWN
loc  01bf1h DEC_OFF
loc  01c08h SET_OFFSET
loc  01c32h SHIFT_MEM_UP
loc  01c50h FINI


; from v49007.lst
;------------------------------------------------------------------
subf 01c60h JUMP_UP
loc  01c96h BLANK_WIN
loc  01ca0h AL_OK
loc  01ca5h UP_ONE
loc  01cbbh JUMP_UP_RET
subf 01cbch SCROLL_ONE_UP
loc  01cc4h WINDOW_LOOP
subf 01ceeh BLANK_ROW
subf 01d0eh SCROLL_ONE_DOWN
loc  01d16h DOWN_LOOP
subf 01d45h JUMP_DOWN
loc  01d7bh BLANK_WINDOW
loc  01d85h NO_BLANK
loc  01d8eh DOWN_ONE
loc  01da2h JUMP_DOWN_RET


; from vgfont.lst
;------------------------------------------------------------------
subf 0390eh CMP_FONT
loc  03944h CMP_HI
loc  03959h CMP_FONT_10
loc  0396bh CMP_FONT_15
loc  0396eh CMP_FONT_20
loc  03972h CMP_FONT_30
loc  0397bh CMP_FONT_35
loc  03989h CMP_FONT_50
loc  03993h CMP_FONT_60
loc  0399eh CMP_FONT_65
subf 039abh READ_FONT
loc  039eeh READ_FONT_15
loc  039f4h READ_FONT_20
loc  039feh READ_FONT_EXIT
subf 03a06h RESTORE_FONT


; from vgmode.lst
;------------------------------------------------------------------
subf 03714h GR_40
loc  03747h GR_40_3PL
loc  0374dh GR_S9007_40
subf 03750h GR_80
loc  03783h GR_80_3PL
loc  03789h GR_S9007_80
subf 0378ch GR_320X200C
loc  037b6h GR_320X200C_EXIT
subf 037b9h GR_320X200B
loc  037cah GR_320X200B_20
loc  037f4h GR_320X200B_EXIT
subf 037f7h GR_640X200B
loc  0380ch GR_640X200B_10
loc  0383fh GR_640X200B_EXIT
subf 03842h GR_640X400C
loc  0386ch GR_640X400C_EXIT
subf 0386fh GR_640X400B
loc  03880h GR_640X400B_10
loc  038aah GR_640X400B_20
subf 038adh GR_SETUP_40X25
subf 038ddh GR_SETUP_80X25


; from vgpal.lst
;------------------------------------------------------------------
subf 03564h CLEAR_GRAPHICS_MEMORY
loc  0357ch CLEAR_GR_XX
loc  035b7h CLEAR_GR_01
loc  035bbh CLEAR_GR_03
loc  035c3h CLEAR_GR_05
loc  035cbh CLEAR_GR_10
loc  035d0h CLEAR_GR_20
loc  035e3h CLEAR_GR_30
loc  035e6h CLEAR_GR_40
loc  035eah CLEAR_GR_50
loc  035f1h CLEAR_GR_EXIT
loc  03621h CLEAR_GR_EXIT_10
subf 03628h CONFIG_PALETTE
loc  03634h CONFIG_EXIT
subf 0363ah LOAD_GRAPHIC_PALETTE
loc  0364bh LGP_20
subf 0365dh LOAD_PALETTE
loc  0367fh LOAD_PALETTE_10
loc  03683h LOAD_PALETTE_20
loc  036a6h LOAD_PALETTE_30
datf 036beh PALETTE_CONFIG_TABLE WORD 7
datf 036cch CONFIG_HI_1 WORD 4
datf 036d6h CONFIG_HI_3 WORD 4
datf 036e6h CONFIG_BW_HI WORD 4
datf 036f6h CONFIG_PALETTE_0 WORD 4
datf 03705h CONFIG_PALETTE_1 WORD 4


; from vmain.lst
;------------------------------------------------------------------
; formerly _isr_10h_52h_video
subf 014dch VIDEO_IO
loc  014e9h VIDEO_IO_20
datf 01484h TABLE1_SIZE WORD
datf 014b0h TABLE2_SIZE WORD
subf 01500h SET_MODE
loc  0150fh ERROR3
subf 01512h VIDEO_STATE
subf 0152eh VD_GEN_CHR
loc  01548h VD_GEN_GET
loc  01552h VD_GEN_SET
loc  0155dh VD_GEN_PGM
loc  01566h VD_GEN_PGM_1
loc  0156ah VD_GEN_EXIT
subf 0156eh READ_LPEN
subf 01571h ERROR1
subf 01574h S9007_40
loc  01585h S9007_40_10
loc  015b3h WRITE_FOUR_TABLES
loc  015cdh TEMP_JOR
loc  015bfh S9007_UNREACHABLE
loc  015c4h WRITE_NEXT_FOUR
subf 01604h WRT_ROW_TBL
loc  0160dh STORE_IT
subf 01614h SET_ACTIVE
subf 01624h S9007_80
loc  01635h S9007_80_10
loc  01663h WRITE_FOUR_ONLY
subf 0169eh LOAD_MODE
subf 016aeh SET_COLOR_ALPHA

jtf  01486h TABLE1 21
jtf  014b2h TABLE2 21
jtf  014ech SET_TABLE 10


; from vsetup.lst - INCOMPLETE
;------------------------------------------------------------------
subf 05ad8h VD_SETUP
loc  05b28h SET_FOR_1
loc  05b3fh PAGES_SET
loc  05b81h GR_SETUP_30
loc  05b9dh GR_SETUP_40
loc  05ba2h NO_GR_BOARD


; from vgplne.lst
;------------------------------------------------------------------
subf 03a20h CHANGE_PLANE
loc  03a22h CHANGE_PLANE_OFF
loc  03a27h CHANGE_PLANE_0
loc  03a2eh GRAPHICS_OFF
loc  03a37h CHANGE_PLANE_ON
loc  03a3ah CHANGE_PLANE_CM
loc  03a4dh CHANGE_PLANE_FRC


; from klock.lst
;------------------------------------------------------------------
subf 06caah CLOCK_SETUP
loc  06cdbh CLOCK_SETUP_1
; formerly _isr_1ah_55h
subf 03dfah CLOCK_SVC
datf 03e0ah CLOCK_SVC_TBL_SIZE
subf 03e18h TIME_SVC_READ
subf 03e36h TIME_SVC_WRITE
loc  03e43h TIME_SVC_WRITE_1
subf 03e58h CLOCK_SVC_READ
subf 03e73h CLOCK_SVC_WRITE
subf 03e99h START_EGG_TIMER
loc  03ea7h START_EGG_TIMER_1
loc  03eb7h START_EGG_TIMER_2
loc  03ec1h START_EGG_TIMER_X
subf 03ec8h STOP_EGG_TIMER
loc  03ed9h STOP_EGG_TIMER_1
loc  03edeh STOP_EGG_TIMER_2
loc  03ee2h STOP_EGG_TIMER_X
; formerly _isr_08h_timer0
subf 03ee3h CLOCK_INT
loc  03f1fh CLOCK_INT_1
loc  03f48h CLOCK_INT_2
loc  03f4ah CLOCK_INT_3
loc  03f64h CLOCK_INT_X
subf 03f6bh CLOCK_ROLLOVER
subf 03f6fh CLOCK_STORE
loc  03f71h CLOCK_STORE_TIME
subf 03f78h CLOCK_LOAD
loc  03f7ah CLOCK_LOAD_TIME
subf 03f81h CLOCK_TO_TIME
subf 03fbch TIME_TO_CLOCK

jtf 03e0ch CLOCK_SVC_TBL 6





; from procs.lst
;------------------------------------------------------------------
subf 05a2ah PROCS_SETUP
subf 00a56h ALLOC_QUEUE
subf 00a69h ALLOC
subf 00a93h CVT_PTR_ADR
subf 00aa0h CVT_ADR_PTR
loc  00ab1h CVT_ADR_PTR_X
subf 00ab2h SET_CRIT
subf 00ac1h CLR_CRIT
loc  00acfh CLR_CRIT_X
subf 00ad2h DELAY
loc  00adfh DELAY_0
loc  00ae2h DELAY_1
subf 00aeeh DUMMY_NEAR
subf 00aefh DUMMY_FAR
subf 00af0h DUMMY_INT
; formerly _isr_02h_nmi
subf 00af1h DUMMY_NMI
subf 00af2h DUMMY_EOI
subf 00af8h DUMMY_EOI0
; formerly _isr_79h_7ch_7fh
subf 00afeh DUMMY_EOI1
subf 00b04h ISSUE_EOI0
subf 00b0bh ISSUE_EOI1
loc  00b10h ISSUE_EOI_S
subf 00b1ch ISSUE_EOI
loc  00b24h ISSUE_EOI_X
; formerly _isr_19h_49h
subf 00b26h BOOT_SVC
; formerly _isr_11h_4bh
subf 00b36h EQUIP_SVC
; formerly _isr_12h_4ch
subf 00b48h MEM_SVC
; formerly _isr_05h_4ah
subf 00b64h PRINT_SVC
loc  00b92h PRINT_SVC_0
loc  00ba1h PRINT_SVC_1
loc  00ba3h PRINT_SVC_2
loc  00bcbh PRINT_SVC_3
loc  00bd5h PRINT_SVC_R
loc  00bdch PRINT_SVC_X
subf 00be3h PRINT_CRLF
subf 00bech PRINT_CHAR
loc  00befh PRINT_CHAR_1
loc  00bfdh PRINT_CHAR_X
; formerly _isr_4dh
subf 00bfeh GRAPH_SVC
subf 00c00h OUT_VD_ADDR
subf 00c08h OUT_VD_SPKR
subf 00c10h OUT_DRQ_CTL
subf 00c16h OUT_PORT
subf 00c2bh Q_INIT
subf 00c46h Q_STORE
loc  00c6bh Q_STORE_1
loc  00c70h Q_STORE_2
loc  00c79h Q_STORE_X
subf 00c83h Q_FETCH
loc  00ca8h Q_FETCH_1
loc  00cadh Q_FETCH_2
loc  00cb0h Q_FETCH_X
subf 00cbah Q_LOOK
loc  00cceh Q_LOOK_X
subf 00cd5h Q_SETUP
subf 00cdbh Q_PUT
loc  00ce6h Q_PUT_2
loc  00ceah Q_PUT_1
subf 00ceeh Q_GET
loc  00cf9h Q_GET_2
loc  00cfdh Q_GET_1
subf 00d01h Q_INC
loc  00d0fh Q_INC_X
subf 00d10h Q_DEC
loc  00d18h Q_DEC_X
subf 00d1fh SWITCH
loc  00d36h SWITCH_X




; from bios.lst
;------------------------------------------------------------------
locf 00000h VEC_INIT
locf 00003h VEC_RE_INIT
subf 00010h FAR_PROCEDURES
loc  00014h FAR_SET_CRIT
loc  00018h FAR_CLR_CRIT
loc  0001ch FAR_DELAY
loc  00020h FAR_ISSUE_EOI
loc  00024h FAR_ISSUE_EOI0
loc  00028h FAR_ISSUE_EOI1
loc  0002ch FAR_UNREFERENCED_2C
loc  00030h FAR_ALLOC
loc  00034h FAR_ALLOC_QUEUE
loc  00038h FAR_CVT_ADR_PTR
loc  0003ch FAR_CVT_PTR_ADR
loc  00040h FAR_Q_INIT
loc  00044h FAR_Q_STORE
loc  00048h FAR_Q_FETCH
loc  0004ch FAR_Q_LOOK
loc  00050h FAR_OUT_PORT
loc  00054h FAR_OUT_VD_SPKR
loc  00058h FAR_OUT_VD_ADDR
loc  0005ch FAR_OUT_DRQ_CTL
loc  00060h FAR_UNREFERENCED_60
loc  00064h FAR_UNREFERENCED_64
loc  00068h FAR_UNREFERENCED_68
loc  0006ch FAR_UNREFERENCED_6C
loc  00070h FAR_UNREFERENCED_70
loc  00074h FAR_UNREFERENCED_74
loc  00078h FAR_UNREFERENCED_78
loc  0007ch FAR_UNREFERENCED_7C
locf 0013fh BIOS_INIT
subf 0015ah MEMORY_SETUP
; formerly _isr_70h_main_parity
subf 0018fh INH_RAMPTY0
loc  00199h INH_RAMPTY0_HALT
loc  0019bh INH_RAMPTY0_UNREACHABLE
; formerly _isr_7dh_ext_partiy
subf 001a2h INH_RAMPTY1
loc  001ach INH_RAMPTY1_HALT
loc  001aeh INH_RAMPTY1_UNREACHABLE
; formerly _isr_71h_io_timeout
subf 001b5h INH_RAMTIME
loc  001bfh INH_RAMTIME_HALT
loc  001c1h INH_RAMTIME_UNREACHABLE
subf 001c8h DISPLAY_STRING
subf 0026eh STRATEGY
loc  00280h CON_ENTRY
loc  00287h AUX_ENTRY
loc  0028eh PRN_ENTRY
loc  00295h CLOCK_ENTRY
loc  0029ch NUL_ENTRY
loc  002a3h FDISK_ENTRY
loc  002aah HDISK_ENTRY
subf 002afh ENTRY_FAR
loc  002c9h ENTRY_EXEC
loc  002f3h ENTRY_EXIT
loc  003cdh ERROR_WRITE_PROTECT
loc  003d1h ERROR_UNKNOWN_UNIT
loc  003d5h ERROR_DRIVE_NOT_READY
loc  003d9h ERROR_COMMAND
loc  003ddh ERROR_CRC
loc  003e1h ERROR_DRIVE_REQUEST
loc  003e5h ERROR_SEEK
loc  003e9h ERROR_UNKNOWN_MEDIA
loc  003edh ERROR_SECTOR_NOT_FOUND
loc  003f1h ERROR_OUT_OF_PAPER
loc  003f5h ERROR_WRITE_FAULT
loc  003f9h ERROR_READ_FAULT
loc  003fdh ERROR_MISC
loc  003ffh ERROR
loc  00403h EXIT_BUSY
loc  00407h EXIT_DONE
loc  00409h EXIT
subf 0040ah CHAR_DVC_INIT
subf 0041dh BLOCK_DVC_INIT
subf 0044ah KBD_READ
loc  0045eh KB_READ_1
loc  0047dh KB_READ_2
loc  00483h KB_READ_X
subf 00485h KB_SCAN
loc  0049ah KB_SCAN_1
loc  0049eh KB_AVAIL
subf 004a1h KB_STATUS
loc  004a7h KB_BUSY
subf 004aah KB_FLUSH
subf 004b1h VD_WRITE
loc  004c4h VD_WRITE_1
loc  004cch VD_WRITE_X
subf 004cfh VD_STATUS
subf 004d2h VD_FLUSH
subf 004f0h AUX_READ
loc  00502h AUX_READ_1
loc  0050fh AUX_READ_X
loc  00512h AUX_READ_E
subf 0051ah AUX_SCAN
subf 00536h AUX_STATUS
loc  00543h AUX_BUSY
loc  00546h AUX_DONE
subf 00549h AUX_FLUSH
subf 00558h AUX_WRITE
loc  0056ah AUX_WRITE_1
loc  00576h AUX_WRITE_X
loc  00579h AUX_WRITE_E
subf 0059ah PRN_WRITE
loc  005a8h PRN_WRITE_1
loc  005b7h PRN_WRITE_X
loc  005bah PRN_WRITE_E
loc  005c6h PRN_WRITE_P
subf 005c9h PRN_STAT
loc  005d8h PRN_BUSY
subf 005dbh PRN_FLUSH
subf 005fch CLOCK_READ
subf 00613h CLOCK_WRITE
subf 0065eh FD_INIT
subf 00685h FD_MEDIAC
loc  00696h fd_m1
subf 0069eh GET_FD_BPB
loc  006a1h get_1
loc  006c8h get_err
loc  006cbh get_2
loc  006d8h get_1x
loc  00701h get_2x
loc  0070ah get_2a
loc  00714h what_media
loc  00725h good_ole_blue
loc  0072ah get_3
loc  00731h get_3a
loc  00740h right
loc  00746h get_loop
subf 0075bh read_trk_0
subf 007a9h FD_READS
subf 007adh FD_WRITES
loc  007afh FD_COM
loc  007bch com_bpb_0
loc  007bfh set_ds
loc  007f5h FD_IO1
loc  0082bh FD_IO2
loc  00833h FD_IO3
loc  00863h ADD_PTR
loc  00875h fexit
loc  0087eh FDQ_ERROR
loc  00891h FD_ERROR2
loc  0089ch FD_ERRV
loc  008a2h FD_ERROR3
datf 008adh DERRTAB BYTE 13 1
subf 008d4h HDISK_INIT
subf 008f9h HDISK_MEDIA
loc  00905h HDISK_MED1
subf 00920h HDISK_BUILD
subf 0092fh HDISK_READ
subf 00933h HDISK_WRITE
loc  00935h HD_COM
loc  00945h HD_COM_0
loc  00979h HD_IO1
loc  009b8h HD_IO2
loc  009c0h HD_IO3
loc  009e7h HD_ADD_PTR
loc  009fbh HD_FEXIT
loc  00a03h HDQ_ERROR
loc  00a06h HD_ERROR
loc  00a16h HD_ERROR2
loc  00a21h HD_ERRv
loc  00a27h HD_ERROR3
datf 00a2ch HD_ETAB BYTE 13
subf 00a3ch HDISK_ERR0
subf 00a40h HDISK_PNT_BPB
loc  00a54h HDISK_PNT_RET

locf 05800h FAR_INIT
subf 05817h BIOS_SETUP
subf 05827h IVT_SETUP
subf 05873h IVT_SETUP_WRT
subf 0587dh BCA_SETUP
subf 058d2h ICC_SETUP
loc  058d8h ICC_SETUP_1
subf 058e4h DVC_SETUP
subf 05900h DUMMY_SETUP
subf 05904h CON_SETUP
subf 05914h EQ_SETUP
loc  05938h EQ_SETUP_1
subf 05949h EQ_HARD
loc  0595dh EQ_HARD_LR_HR
loc  05968h EQ_HARD_HR
loc  05977h EQ_HARD_HR3
loc  0597eh EQ_HARD_HR4
loc  05983h EQ_HARD_X
subf 05987h EQ_KEY
loc  0598bh EQ_KEY_0
loc  0598eh EQ_KEY_1
loc  059ach EQ_KEY_2
loc  059aeh EQ_KEY_X
subf 059b3h EQ_SOFT
subf 059e2h MSDOS_SETUP

datf 059c8h EQ_KEY_TBL BYTE 10 2
datf 059d2h EQ_SOFT_TBL BYTE 16 2

strzf 00006h BIOS_VERSION
strzf 00080h MSG_COPYRIGHT
strzf 000aeh
strzf 000c5h
strzf 000e7h
strzf 00101h MSG_PARITY_ERROR
strzf 00120h MSG_TIMEOUT_ERROR

jtf 00430h CON_TBL 13
jtf 004d6h AUX_TBL 13
jtf 00580h PRN_TBL 13
jtf 005e2h CLOCK_TBL 13
jtf 0062ah NUL_TBL 13
jtf 00644h FDISK_tBL 13
jtf 008bah HDISK_TBL 13








; Strings at the end not captured in the listings

strz 076fdh
strz 07706h
strz 0770fh
strz 07718h
strz 07721h
strz 0772dh
strz 0773bh
strz 07744h
strz 0774bh
strz 07752h
strz 0775ah
strz 07761h
strz 0776bh
strz 07775h
strz 07780h
strz 077a7h
strz 077c8h
strz 077d8h
bssf 077ebh _unknown 1805





fixup 02d7ah
fixup 044ddh
