#: 8154 S12/OS9/68000 (OSK)
12-Nov-90 19:40:36
Sb: #8131-#Reading 68000 disks
Fm: Greg Law 72130,23
To: Robert Heller 71450,3432 (X)
Robert,
I am using a method that doesn't require me to fiddle with the
interleave factor on the disk. I just tell the NEC PD765 floppy controller chip
to read Track 1 Sector 8 and it finds it for me. I did finally get the rascal
working last night. I don't know what the problem was, but the first few bytes
in CMDS/basic were always wrong while running in the C source debugger. I
finally exited the debugger and tried it ala-carte and it worked. That made me
a little suspicious so I started investigating the source a little closer and
found one of the pointers was getting stomped on causing the first four bytes
of my data buffer to get overwritten. Very strange problem and the funny thing
is that the debugger was telling me what was happening all along - in an
obvious way no less - and I ignored it. ;)
I knew I was running into memory allocation problems - at least I was
always allocating new buffers without returning the old memory - but I was in
such a blasted hurry to get the program running so I could copy the files off
at disk. I'll have to clean up the code tonight to make it nice and tight. I
just wonder what format disk I'll receive next week. ;)
-- Greg
There are 2 Replies.
|