System32 Function 06 (06h) - Read physical disk sector(s)
Description |
This is the main disk access service. It loads sectors
from a disk, and stores them in the 'DiskBuffer'. This service is used by all other services and routines in System32 to access disk drives. Every disk can have a different driver to handle diskrequests, this makes it possible for all applications to support media that is currently not yet supported by adding one single driver. This also could be used to create RamDisks, or encrypted data on disks. |
Input |
AL |
06h |
---|---|
DL |
ID in the 'DiskList', 0 for a floppy, 80h for the first physical disk, etc. |
EBX |
Sector to start reading from |
ECX |
Amount of sectors to read. |
Output |
None |
---|
Errorcodes |
10h |
'That partition does not exist.' |
---|---|
X? |
'Sector read failure.' |
Notes |
Since most diskaccess services from, for example, the BIOS are RealMode, the DiskBuffer is limited to 0FFFFh Bytes. |
Development Status |
Build support for continuing datareading for blocks bigger than the DiskBuffer |