On Sun, May 27, 2012 at 7:31 AM, Ullrich von Bassewitz <uz@musoftware.de>wrote: > > Hi! > > On Sun, May 27, 2012 at 01:26:36PM +0200, Oliver Schmidt wrote: > > What is wrong with assigning to _curunit? > > > > I was about to answer the same when I noticed that the 'subject' made > a > > distinction between "device" and "drive". So I thought he's asking for > > something special beyond my C64 skills... > > You are right, I should have had a closer look. The cbm functions ignore > _curunit. It is used only for the POSIX functions. > > The argument called "device" in the call to cbm_opendir is actually the > device > address on the IEC bus, while it is not possible to specify a unit number > for > accessing dual floppy drives. The latter is specified in the file name, but > the file name "$" is hardcoded within cbm_opendir, so it is not possible to > access the second floppy of a dual floppy drive. Payton, is it this what > you > meant? > > Yes, this is exactly what I was meaning. However, another deficiency in the cbm_opendir method is the lack of ability to apply a filter to the directory. The drives have very sophisticated pattern matching and it would be a shame to have to duplicate that in code on the computer side. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun May 27 17:28:03 2012
This archive was generated by hypermail 2.1.8 : 2012-05-27 17:28:08 CEST