which will be better, implementing all the FDC commands as seperate functions or as interrupt with different service numbers?
tnx
query
Re:query
Implement a set of device I/O functions as system calls. Provide one interface for doing system calls through an interrupt. That way you keep the same programming interface regardless of the type of device applications want to access; for instance, your file system driver would be able to call exactly the same functions regardless of whether it was accessing a floppy drive, a hard drive, etc.