Re: [cc65] Directory reading

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-01-29 09:53:23


>>>>> "UvB" == Ullrich von Bassewitz <uz_at_musoftware.de> writes:

MV> Could someone tell me why this doesn't work?

UvB> I don't know how the format of the data should be,

Reading $ on channel 2..14 gives you the raw directory info, minus the
track and sector pointers. So the first 254 bytes is 18,00 (on a 1541)
and then you get 254 bytes for every 8 files.

UvB> but at least the reads are successful when using VICE with a disk
UvB> image attached. Without a disk image attached, the reads seem to
UvB> fail.

Not with true drive emulation turned on. I did some more testing, and
the code fails on 1541, 1541-II, and 1571, but works on a 1581. This
does suggest that it's at least partly a hard-/firmware problem, but
then I can't seem to reproduce the bug from basic, it reads it just
fine.

I'll have to do a few more tests and see if I can pin down the
problem. I suck at drive programming thoug... :/

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-29 09:54:47 CET