Page 1 of 1

query

Posted: Fri Dec 12, 2003 11:45 am
by Rahman
which will be better, implementing all the FDC commands as seperate functions or as interrupt with different service numbers?

tnx

Re:query

Posted: Sat Dec 13, 2003 7:42 am
by Tim
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.