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? Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- 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 14:37:31 2012
This archive was generated by hypermail 2.1.8 : 2012-05-27 14:37:34 CEST