Path: csiph.com!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: mmphosis Newsgroups: comp.sys.apple2.programmer Subject: Re: cc65: file I/O on external =?UTF-8?B?ZHJpdmU/?= Date: Thu, 10 Aug 2023 15:01:50 -0000 (UTC) Organization: Mac GUI Lines: 14 Message-ID: References: <20230810153128.037b45e2@laptop-sigfox> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 10 Aug 2023 15:01:50 -0000 (UTC) Injection-Info: dont-email.me; posting-host="77d75fb7db9af9501750f2eb0dfea9c2"; logging-data="441937"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dxbEos0O361bjoZ/5tU7P" User-Agent: Mac GUI Usenet Cancel-Lock: sha1:M+Z0/PHGJ32Xq+PfHyRT+tl2ptg= In-Reply-To: <20230810153128.037b45e2@laptop-sigfox> Xref: csiph.com comp.sys.apple2.programmer:6060 I thought that the slot and drive would be specified in the pathname. For example: FILE,S6,D1 but maybe not. There is a low level DEV_NUM and I found these device.h helper functions... https://cc65.github.io/doc/funcref.html#ss2.20 unsigned char getfirstdevice (void); unsigned char __fastcall__ getnextdevice (unsigned char device); unsigned char getcurrentdevice (void);