# unit siodisk

### SIO Floppy Disk interface

author: Tomasz Biela (Tebe)

## Interface:

name: | description:
--- | ---
ReadConfig | #### function ReadConfig(devnum: byte): cardinal; assembler; Read disk drive configuration ##### parameters: devnum - device number
ReadSector | #### procedure ReadSector(devnum: byte; sector: word; var buf); assembler; Read disk sector to buffer ##### parameters: devnum - device number sector - sector number buf - pointer to buffer
WriteSector | #### procedure WriteSector(devnum: byte; sector: word; var buf); assembler; Write disk sector from buffer ##### parameters: devnum - device number sector - sector number 1.. buf - pointer to buffer
ReadBoot | #### procedure ReadBoot(devnum: byte; var buf); assembler; Write disk sector 1-3 from buffer ##### parameters: devnum - device number buf - pointer to buffer
WriteBoot | #### procedure WriteBoot(devnum: byte; var buf); assembler; Write disk sector 1-3 from buffer ##### parameters: devnum - device number buf - pointer to buffer