📄 ioequ.inc
字号:
;---------------------------------------------------------------
;ioequ.inc - equates for I/O Monitor |
;--------------------------------------------------------------|
;
NULL EQU 0
TRUE EQU -1
FALSE EQU NOT TRUE
BUF_SIZE EQU 16384 ; must be multiple of KB
DOS_PRT_STRING EQU 9
DOS_TSR_FUNC EQU 31h
OK EQU 0
BEEP EQU 7
CR EQU 13
LF EQU 10
TAB EQU 9
PRESENT EQU 80H
DPL0 EQU 0
DPL3 EQU 3
INT_GATE EQU 0eh ;80386 int gate
USER_INT EQU 61h
RW_DATA EQU 92h ;read/write data
ER_CODE EQU 9ah ;execute/read code
TSS_DESC EQU 89h ;Task State Segment descriptor
IO_MAP_SIZE EQU 8192
TRAP_FLAG EQU 100h ;bits in eflags
INT_FLAG EQU 200h
NT_FLAG EQU 4000h
GEN_PROT_EXCEP EQU 0dh ;General Protection int number
INPUT EQU 0 ;used in io_table to describe
OUTPUT EQU 10h ;the various I/O instructions
ABYTE EQU 1
AWORD EQU 2
CONSTANT EQU 8
PORT_OUTPUT EQU 8000h ; MSB of address: out - 1; in - 0
PORT_BYTE EQU 4000h ; Address bit 15: word - 1; byte - 0
PORT_INVALID EQU -1 ; Initial data (marked as empty)
PORT_REPEAT EQU -2 ; Repeat data (data = repeat count)
INT_OPCODE EQU 0cdh
INT3_OPCODE EQU 0cch
VID_PAGE_SIZE EQU 4000
EXPECT_INT1 EQU 1
;------end of ioequ.inc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -