Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #6060

Re: cc65: file I/O on external drive?

Path csiph.com!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From mmphosis <mmphosis@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: cc65: file I/O on external drive?
Date Thu, 10 Aug 2023 15:01:50 -0000 (UTC)
Organization Mac GUI
Lines 14
Message-ID <mmphosis-1691679708@macgui.com> (permalink)
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

Show key headers only | View raw


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);




Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

cc65: file I/O on external drive? Colin Leroy-Mira <colin@colino.net> - 2023-08-10 15:31 +0200
  Re: cc65: file I/O on external drive? mmphosis <mmphosis@macgui.com> - 2023-08-10 15:01 +0000
    Re: cc65: file I/O on external drive? Colin Leroy-Mira <colin@colino.net> - 2023-08-10 18:03 +0200
      Re: cc65: file I/O on external drive? Colin Leroy-Mira <colin@colino.net> - 2023-08-10 18:22 +0200
        Re: cc65: file I/O on external drive? ol.sc@web.de (Oliver Schmidt) - 2023-08-10 20:08 +0000
          Re: cc65: file I/O on external drive? Colin Leroy-Mira <colin@colino.net> - 2023-08-11 12:07 +0200
            Re: cc65: file I/O on external drive? Oliver Schmidt <ol.sc@web.de> - 2023-08-11 11:31 +0000

csiph-web