|
中国科学院21H条(0x21)
函数第15(0x15或21)-->写序
Call with: AH = 15H
DS: DX = segment: offset of previously opened
file control block
Returns: AL = 00H, if write successful
01H, if disk is file
02H, if segment wrap
Comments:
这项功能块写数据时序进入下一档案,那么档案教鞭适度递增. 多少字节的数据必须由指定的书面记录大小场(抵消0eh)档案控制块(循环流化床).
中国科学院21H条(0x21)
功能消减中时约为16小时(或220x16)-->创造档案
Call with: AH = 16H
DS: DX = segment: offset of unopened file control block
Returns: If function is successful and file was created or truncated
AL = 00H
And FCB filled in by MS-DOS as follows:
Drive field (offset 00H) = 1 for drive A, 2 for drive B, etc.
Current block field (offset0CH) = 00H
Record size field (offset 0EH) = 0080H
Size field (offset 10H) = file size from directory
Date field (offset 14H) = date stamp from directory
Time field (offset 16H = time stamp from directory |
If function unsuccessful (directory full)
AL = FFH
Comments:
这项功能新增目录,在当前目录或进行截入任何现存档案与同名为零长度.随后又打开阅读档案/写运行. 这项功能必须谨慎使用,因为现有的档案与零长度截短指定的名字和所有档案资料,已无法挽回.
中国科学院21H条(0x21)
功能一名(0x17或23)-->文件更名
Call with: AH = 17H
DS: DX = segment: offset of special file control
block
Returns: If function is successful and one or more files renamed
AL = 00H
如果函数不成功,没有匹配的档案,档案现有或新filename=050535.htm匹配
AL = FFH
Comments:
这项功能的名称改变,在目前所有匹配档案目录的磁盘驱动的特定.
您也可以利用野卡.档案管理特别是建设有座典filename=050535.htm,在平时的位置和延长(0字节透过0bh)和第二filename=050535.htm6字节出发后的第一(11小时32抵消).
中国科学院21H条(0x21)
功能反应18h(或240x18)-->预留
中国科学院21H条(0x21)
功能b/(0x19或25)-->获得本届磁盘
Call with: AH = 19H
Returns: AL = drive code (0 for A drive, 1 for B
drive etc.)
Comments:
这项功能的效益驱动行为或过失当前磁盘驱动.
中国科学院21H条(0x21)
功能1ah(0x1a或26)-->确定解决双重课税
Call with: AH = 1AH
DS: DX = segment: offset of disk transfer area.
Returns: Nothing
Comments:
这项功能的具体地址磁盘转移区(双重课税)用作随后循环流化床相关功能的电话.
中国科学院21H条(0x21)
1bh功能(或270x1b)-->得到违约径数据
Call with: AH = 1BH
Returns: If function successful
AL = sectors per cluster
DS: DX = segment offset of media ID byte
CX = size of physical sector in bytes
DX = number of clusters for default drive
If function unsuccessful (invalid drive or critical error)
AL = FFH
Comments:
这项功能得到的资料选定磁盘驱动器、违约向媒体指鉴定字节从其档案配置表.
媒体字节身分具有以下意义:
Media Descriptor ID |
Medium |
0F0H |
3.5-inch Floppy Disk, double-sided, 18 sectors (or other) |
0F8H |
fixed disk |
0F9H |
5.25-inch Floppy Disk, double-sided, 15 sectors |
0F9H |
3.5-inch Floppy Disk, double-sided, 9 sectors |
0FCH |
5.25-inch Floppy Disk, single-sided, 9 sectors |
0FDH |
5.25-inch Floppy Disk, double-sided, 9 sectors |
0FDH |
8-inch Floppy Disk, single sided, single density |
0FEH |
5.25-inch Floppy Disk, single-sided, 8 sectors |
0FEH |
8-inch Floppy Disk, Single Sided, Single Density |
0FEH |
8-inch Floppy Disk, Double Sided, Double Density |
0FFH |
5.25-inch Floppy Disk, double-sided, 8 sectors |
|
|