Just implemented an IRQ to trigger when an ATAPI device receives command 0x08(DEVICE RESET command for ATAPI devices). I now see it properly executing a 0xEC IDENTIFY DEVICE command(which aborts of course), then a 0xA1 IDENTIFY PACKET DEVICE command 😁
And after that, a PACKET command 😁
Edit: Huh? Then a read sub-channel command?
Edit: After that one errors out, though, OAKCDROM does seem to execute a REQUEST SENSE command?
Edit: Then it executes command 0x00 again, which of course gives a not present CD-ROM error sense(code 0x20 in the error register).
Edit: Then another REQUEST SENSE ( 😁 )...
Then another read sub-channel, which of course still fails...
Edit: Then mode sense. And it then continues 😁
Edit: OK. Now to change the inserted disk...
Edit: OK. The dir starts...
It uses command 0x00, then REQUEST SENSE for the new media?
Then Read TOC... It gives a MEDIUM NOT PRESENT(then a drive not ready immediately happens in the MS-DOS prompt)... That's a REQUEST SENSE...
Then a CD-INSERTED EVENT happens(from the disk change)!
Eventually(read TOC still waiting), it gives a 0x02,0x28,0x00 error(Medium is ready (has changed)).
Then a REQUEST SENSE.
And then another READ TOC, which succeeds 😁
Then a Read Sectors, with LBA 0x10(16) 😁
Edit: More sectors follow, and it fully sees the new disk having been inserted, with the new directory list 😁
But that only seems to happen with the OAKCDROM driver? The VIDE-CDD.SYS driver seems to utterly fail at that?