Ruud_at_baltissen.org
Date: 2006-05-24 18:02:48
Hallo allemaal,
I just read the directory from my disk :) But the stupid thing is that it
is the same program I started with three days ago except one little
exception: I added 'LDA $1404 ; erase flag of timer'.
I hacked the original ROM by replacing the contents of the buffer with my
own after reading a sector. That went wrong, the 1541 kept on reading yrack
18 sector 0 all the time. Instead I read it: except the ID and the name of
the disk, no differences (FYI: no files saved yet). So what was causing the
trouble? I started to suspect the IRQ because my transfers take a bit more
time then the reading from disk. I already dis/enabled the IRQ during the
transfer using SEI/CLI. But the Eureka: clear any pending IRQ before
executing CLI. Bingo, the replacing of the content worked fine now. Next
step: my own program. And that one worked right on from the start !!!
You are now reading the writing of a very happy man :)
--
___
/ __|__
/ / |_/ Groetjes, Ruud
\ \__|_\
\___| http://Ruud.C64.org
Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.