中国科学院21H条(0x21)
功能39H(0x39或57)-->营造名录
Call with: AH = 39H
DS: DX = segment: offset of ASCIIZ pathname
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
评论:
利用这项功能造成名录和指定驱动路径.
ASCIIZ is known as the sequence of ASCII characters terminated be, Null or Zero, Byte. |
中国科学院21H条(0x21)
功能3aH(0x3a或58)-->删除目录
Call with: AH = 3AH
DS: DX = segment: offset of ASCIIZ pathname
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
评论:
这项功能免除名录及使用指定驱动路径.如果任何元素的pathname不是目录或不存在的空或否认或进入指定目录也是当前目录、 电话簿功能不能删除.
中国科学院21H条(0x21)
与之功能(或590x3b)-->确定当前目录
Call with: AH = 3BH
DS: DX = segment: offset of ASCIIZ pathname
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
评论:
目前这项功能集指定使用或过失名录、驾驶道路.如果路径或指定路径不存在的元素,函数失败.
中国科学院21H条(0x21)
功能3ch(0x3c或60)-->创造档案
Call with: AH = 3CH
CX = file attribute, where attribute
significance bits may be Combined.
Significance of bits is given in the
following Table:
Bit(s) |
Significance (if set) |
0 |
Read-only |
1 |
Hidden |
2 |
System |
3 |
Volume label |
4 |
Reserved (0) |
5 |
Archive |
6 – 15 |
Reserved (0) |
DS: DX = segment: offset of ASCIIZ
pathname
Returns: If function successful
Carry flag = clear
AX = handle
If function unsuccessful
Carry flag = set
AX = error code
评论:
如果pathnameasciiz给出 这项功能提供了新的档案,在指定的或者指定的目录或违约拖欠磁盘驱动器.如果指定的档案已经存在,这是截断为零长度.两种情况 打开一个文档,并退回处理的,可以用来为以后的节目获得了档案.
如果pathname没有任何元素的存在或正在建立档案,并在根目录根目录或得不到充分利用档案或与只读属性已指定名录、 档案未能创造功能.
中国科学院21H条(0x21)
功能先例(61或0x3d)-->开放档案
Call with: AH = 3DH
AL = access mode
接入方式给予比特意义如下表:
钻头 |
意义 |
0 – 2 |
Access Mode
000 = read access
001 = write access
010 = read/write access |
3 |
Reserved (0) |
4 – 6 |
Sharing Mode
000 = compatibility mode
001 = deny all
010 = deny write
011 = deny read
100 = deny none |
7 |
Inheritance flag
0 = child process inherits handle
1 = child does not inherit handle |
DS: DX = segment: offset of ASCIIZ pathname
Returns: If function successful
Carry flag = clear
AX = handle
If function unsuccessful
Carry flag = set
AX = error code
评论:
如果pathnameasciiz给出 这项功能打开指定文件到指定目录下指定或过失或过失磁盘驱动器.退回处理的,可以用程序随后进入档案.
中国科学院21H条(0x21)
功能3eh(0x3e或62)-->关闭档案
Call with: AH = 3EH
BX = handle
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
评论:
这项功能潮红所有内部缓冲区与磁盘档案,档案结束,发布时间及手柄再用以前公开或创造获得成功的一个处理.如果档案被修改过, 邮票的日期、时间和规模都更新档案目录进入档案.
中国科学院21H条(0x21)
功能锻炼(63或0x3f)-->阅读档案或装置
Call with: AH = 3FH
BX = handle
CX = number of bytes to read
DS: DX = segment: offset of buffer
Returns: If function successful
Carry flag = clear
AX = byte transferred
If function unsuccessful
Carry flag = set
AX = error code
评论:
这在目前的档案资料转移功能-指针位置,从立案到缓冲区指针的位置,然后更新档案文件办理有效期从某个先前公开或创造经营 缓冲区地址,以及长度字节.
中国科学院21H条(0x21)
淋巴细胞增殖作用(64或0x40)-->写档案或装置
Call with: AH = 40H
BX = handle
CX = number of bytes to write
DS: DX = segment: offset of buffer
Returns: If function successful
Carry flag = clear
AX = byte transferred
If function unsuccessful
Carry flag = set
AX = error code
评论:
从这个数据缓冲功能转移到档案,然后更新档案指针位置给予办理有效期从以前的档案公开或创造行动 缓冲区地址,以及长度字节. 如果功能叫做与CX=0,档案是截短或扩展到目前的档案指针位置.
中国科学院21H条(0x21)
功能适量(65或0x41)-->删除档案
Call with: AH = 41H
DS: DX = segment: offset of ASCIIZ pathname
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
评论:
从这个功能删除档案或指定磁盘、目录违约. 删除档案功能取代其filename=050535.htm首字与字的根目录e5h(0xe5),使档案的内容供新集群数据档案配置表.然后到实际数据存储在这些集群并非overwritten
中国科学院21H条(0x21)
功能42h(或660x42)-->载档案教鞭
Call with: AH = 42H
AL = method code
00H absolute offset from start of file
01H signed offset from current file
pointer
02H signed offset from end of file
BX = handle
CX = most significant half of offset
DX = least significant half of offset
Returns: If function is successful
Carry flag = clear
DX = most significant half of resulting file
pointer
AX = least significant half of resulting file
pointer
If function is unsuccessful
Carry flag = set
AX = error code
评论:
本套档案教鞭功能定位相对开始立案,立案结束,目前档案或立场.
|