中国科学院21H条(0x21)
功能48(72或0x48)-->内存块分配
Call with: AH = 48H
BX = number of paragraphs of memory
needed
Returns: If function successful
Carry flag = clear
Ax = base segment address of allocated
block
If function unsuccessful
Carry flag = set
AX = error code
BX = size of largest available block
(paragraphs)
评论:
它配有一座记忆和效益为指针,拉开了分配领域.
中国科学院21H条(0x21)
功能L.17-L.21(0x49或73)-->内存块释放
Call with: AH = 49H
ES = segment of block to be released
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
评论:
这项功能是用来释放内存块,使供其他节目.功能将可能导致难以预料的系统错误或失败,如果一个程序释放内存块,它不属于或部分解决权证并不是通过登记为有效解决现有内存块基地.
中国科学院21H条(0x21)
4ah功能(74或0x4a)-->内存块瘦身
Call with: AH = 4AH
BX = desired new block size in paragraphs
ES = segment of block to be modified
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
BX = maximum block size available
(paragraphs)
评论:
这项功能萎缩或延伸一个动态存储器块,根据需要提出申请计画.
中国科学院21H条(0x21)
功能4bh(0x4b或75)-->实施纲要(董建华)
Call with: AH = 4BH
AL = sub function
00H = Load and Execute Program
03H = Load Overlay
ES: BX = segment: offset of parameter block
DS: DX = segment: offset of ASCIIZ program
pathname
Returns: If function successful
Carry flag = clear
Registers are preserved in the usual fashion.
If function unsuccessful
Carry flag = set
AX = error code
评论:
这项功能允许一个应用程序向另一个程序而言,当它重新控制成品.也可用于负荷重叠,虽然这是用罕见.
国科学院21H条(0x21)
功能4ch(76或0x4c)-->终止代码返回过程
Call with: AH = 4CH
AL = return code
Returns: Nothing
评论:
这项功能终止当前进程,返回码为及格家长进程.这是其中的几个方法,可以用表演节目的最后撤离.
中国科学院21H条(0x21)
4dh功能(77或0x4d)-->得到返回码
Call with: AH = 4DH
Returns: AH = exit type
00H, if normal termination by INT 20H, INT 21H
Function 00H, or INT 21H Functions 4CH
01H if termination by user’s entry of Ctrl-C
02H if termination by critical-error handler
03H if termination by INT21H Function 31H or
INT 27H |
AL = return code passed by child process
(0 if child terminated by INT 20H,
INT 21H Function 00H, or INT 27H)
评论:
这项功能是利用家长进程 在成功实施了董建华呼吁(中国科学院4bh功能21H条) 获得回报典型儿童和终止进程.
中国科学院21H条(0x21)
功能4eh(0x4e78)-->找到第一档案
Call with: AH = 4EH
CX = search attribute (bits may be
combined)
DS: DX = segment: offset of ASCIIZ pathname
Returns: If function successful and matching file found
Carry flag = clear
And search results returned in current disk transfer area as follows:
Byte(s) |
Description |
00H-14H |
Reserved (0) |
15H |
Attribute of matched file or directory |
16H-17H
|
File time
bits 00H-04H = 2-second increments (0-29)
bits 05H-0AH = minutes (0-59)
bits 0BH-0FH = hours (0-23) |
18H-19H
|
File date
bits 00H-04H = day (1-31)
bits 05H-08H = month (1-12)
bits 09H-0FH = year (relative to 1980) |
1AH-1DH |
File size |
1EH-2AH |
ASCIIZ filename and extension |
If function is unsuccessful
Carry flag = set
AX = error code
评论:
这个功能搜索特定违约或违约或指定驱动目录>的首次配对某一档案文件的形式规范了asciiz串. 有点意义的属性,是指比特意义表前.
中国科学院21H条(0x21)
4fh功能(79或0x4f)-->寻找下一个档案
Call with: AH = 4FH
Returns: If function is successful and matching file found
Carry flag = clear
If function is unsuccessful
Carry flag = set
AX = error code
评论:
如果有一个以前成功4eh功能21H条要求发言,这项功能今后认定违约或指定的档案目录,对违约或指定驾驶档案原件相符规格.
中国科学院21H条(0x21)
功能50H(0x50或80)-->预留
中国科学院21H条(0x21)
功能51H(0x51或81)-->预留
中国科学院21H条(0x21)
航程功能(82或0x52)-->预留
中国科学院21H条(0x21)
功能53h(或830x53)-->预留
中国科学院21H条(0x21)
排尿功能(84或0x54)-->得到核实旗
Call with: AH = 54H
Returns: AL = current verify flag value
00H if verify off
01H if verify on
评论:
目前这项功能得到价值体系验证(阅读-后写)旗.
中国科学院21H条(0x21)
营养功能(85或0x55)-->预留
中国科学院21H条(0x21)
功能鳞(0x56或86)-->文件更名
Call with: AH = 56H
DS: DX = segment: offset of current ASCIIZ
pathname
ES: DI = segment: offset of new ASCIIZ
pathname
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
评论:
这个功能改档案和/或其名录入不同动作对同一盘. 在MS-DOS操作系统3.0版本之后,这项功能也可以用来更名通讯录
如果任何元素的pathname或不存在的新档案已经存在或当前pathnamepathname含有不同磁盘驱动器的规格较新的pathname或档案是否被移至根目录,而根目录或用户已经不足以充分权利,功能不改名档案.
|