System32 Function 07 (07h) - Write physical disk sector(s)
Description |
This is the main disk access service. It writes data
directly from the 'DiskBuffer' to sectors on a physical disk. 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 |
07h |
---|---|
DL |
ID in the 'DiskList', 0 for a floppy, 80h for the first physical disk, etc. |
EBX |
Sector to start writing to |
ECX |
Amount of sectors to write |
Output |
None |
---|
Errorcodes |
10h |
'That partition does not exist.' |
---|---|
X? |
'Sector write 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 datawriting for blocks bigger than the DiskBuffer |