Hello:
I have PowerBASIC for DOS.
I'm trying to write a couple routines to control a CDROM drive.
1) A routine that polls the drive and returns a value
when a disc is inserted
2) A routine to eject the disc
I have the ATAPI-5 Spec, which is handy, but at nearly 400 pages,
it's a bit overwhelming.
I'm hoping someone knows of some samples on this topic
that I can learn from.
Once solved, I will call the routines within a DOS Batch file.
Thanks to all who respond!
------------------
I have PowerBASIC for DOS.
I'm trying to write a couple routines to control a CDROM drive.
1) A routine that polls the drive and returns a value
when a disc is inserted
2) A routine to eject the disc
I have the ATAPI-5 Spec, which is handy, but at nearly 400 pages,
it's a bit overwhelming.
I'm hoping someone knows of some samples on this topic
that I can learn from.
Once solved, I will call the routines within a DOS Batch file.
Thanks to all who respond!
------------------
Comment