AX = 0FF01h: Initialize RAM Disk (Drive C)
This function initializes the RAM disk (drive C).
- Input: AX = 0FF01h
DL = 1h
BX = Number of 1K byte blocks to allocate to the RAM disk
The value actually used will not be less than the size of disk than can be stored in bank mapped RAM.
CL = Number of root directory sectors (16 dir entries/sector) (0 = use default of 4 sectors)
CH = init data sectors flag (1= clear to 0's, 0= leave alone)
- Output: BX = -1h if insufficient memory to create disk of requested size
BX = remaining user memory in 1K byte units, if successful
- Error conditions: As given in BX
- Registers modified: AX, BX, STATUS