📄 dos.inc
字号:
.xlist
;DOS.INC
.sall
;Standard handles
STDOUT = 1
;MS-DOS functions
OldTerminate = 0
OutChar = 2
InCharNoEcho = 8
Print = 9
InputLine = 10
GetCurDisk = 25
SetVect = 37
ParseName = 41
Version = 48
TermStayRes = 49
GetVect = 53
CreateFile = 60
OpenFile = 61
CloseFile = 62
ReadFile = 63
WriteFile = 64
Seek = 66
GetCurDir = 71
AllocMem = 72
ReleaseMem = 73
ResizeMem = 74
Exec = 75
Terminate = 76
GetReturnCode = 77
SetPSP = 80
GetPSP = 98
;MS-DOS function macros
DOS macro Func,SubFunc,DxVal,BxVal,CxVal
IFNB <CxVal>
mov cx,CxVal
ENDIF
IFNB <BxVal>
mov bx,BxVal
ENDIF
IFNB <DxVal>
mov dx,DxVal
ENDIF
IFB <SubFunc>
IFNB <Func>
mov ah,Func
ENDIF
ELSE
mov ax,Func*100H+SubFunc
ENDIF
int 33
ENDM
.list
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -