12 Commits

Author SHA1 Message Date
b9ce452afd Add License and copyright notices 2023-04-09 20:47:49 +00:00
72ad87f6b8 Tidy up, split atapi to it's own file 2023-04-09 20:37:55 +00:00
2b693d48fc Fix ATAPI media presence detection 2023-04-09 08:49:36 +00:00
7cb1705526 ATAPI: Now working on real HW
* Implement Test Unit Ready for init/td style commands
* Add request mode sense which currently doesn't return any sense data, just clears the unit attention.

Todo: Fixup timeouts.
* wait_bsy should be several seconds (for atapi at least) to allow the motor to spin up etc
* wait_drq should be shorter, and atapi_packet should properly check interrupt reason rather than timing out on DRQ
2023-04-08 22:49:31 +00:00
39358717c8 ATAPI seems to work now... need to stress test 2023-04-04 19:58:22 +00:00
601c5d2c39 initial atapi 2023-04-03 07:53:45 +00:00
Matt Harlum
96689d744e Test for drive fault as well as error 2023-03-31 10:05:38 +00:00
45db8c4b21 Fixups
* Optimizations for size etc
* Make endskip actually skip to the end
* Save last ATA Error
* Remove need for divide by using right shifts
2023-03-28 19:20:40 +00:00
e1e1736011 movem read 2023-03-26 00:18:48 +00:00
d89d8d3857 foo 2023-03-24 18:04:26 +00:00
cdcb9b04d9 pokey poke 2023-03-21 21:22:50 +00:00
356e15900c Initial commit. 2023-03-16 15:05:00 +00:00