home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
COMM
/
IOMON2.ZIP
/
IOEQU.INC
< prev
next >
Wrap
Text File
|
1991-06-10
|
2KB
|
54 lines
;---------------------------------------------------------------
;ioequ.inc - equates for I/O Monitor |
;--------------------------------------------------------------|
;
NULL EQU 0
TRUE EQU -1
FALSE EQU NOT TRUE
BUF_SIZE EQU 4096
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
CONTAINS_DATA EQU 80h
INT_OPCODE EQU 0cdh
INT3_OPCODE EQU 0cch
VID_PAGE_SIZE EQU 4000
EXPECT_INT1 EQU 1
;------end of ioequ.inc