Re: Format sequence

Ruud_at_baltissen.org
Date: 2006-05-20 08:36:38

Hallo Spiro,


I passed the $F423 routine :) The solution is quite simple: the routine 
waits for a sector within 6 blocks _before_ the one you need to read. In 
this case the 1541 wants to read the BAM ie. sector 0. I added a counter to 
my ReadHeader routine (original at $FB31) that lets the drive think at the 
first step that sector 17 is passing by at that moment (is within 6 blocks 
of sector 0) and.... BINGO! The trick is in the little piece of code found 
at $F47E.
Then the actual read routine is performed that calls the ReadHeader routine 
again and then the counter lets the drive think that sector 0 is passing 
by.

So far, so good. Transferring the sector from the PC to the 1541 is no 
problem as well. But for one or another reason the 1541 keeps on asking for 
this sector again. So it seems I still have enough work to do :)


--
    ___
   / __|__
  / /  |_/     Groetjes, Ruud
  \ \__|_\
   \___|       http://Ruud.C64.org





       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.