[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dealing with disk 2 controller



I have a need to read and write sectors to a 5.25" disk talking to the
disk 2 controller directly (I don't have time to go into why) - that
is, outside of DOS 3.3 or ProDOS.  So far, I am able to READ and
decode the sectors just fine, but for going the other way, I know what
needs to be written to the disk, I'm just not sure how.  What I do
know is  the byte to be written gets loaded into C0xD, and C0xC is
read to actually do the write.

Specifically:

Do I need to exactly sit for a specific time between writes, or is
there something I can read and wait on during the write (like read a
location until it hits 0?)

Is there a specific book I can look for (but good luck finding it) on
this?  Anybody have some source code doing this?

BTW, writing the code to read the sectors has given me a whole new
respect for Woz!

Paul Forgey
paulf@aphrodite.com