Re: [cc65] Filenames for POSIX functins on CBM targets

From: <silverdr1wfmh.org.pl>
Date: 2012-08-09 16:14:14
On 2012-08-09, at 14:20, Oliver Schmidt wrote:
> 
> As far as I understand on CBM targets currently one can prepend a
> filename to be given to open() with "0#" or "1#" to select the "drive
> number" (whatever that acually is).

A way to address two different drives in one unit. There were storage units with more than one drive. 8250 for example.

> However there's no way to select
> the 'unit number' and that seems a big issue to me.

You are right. It /is/ a big issue if only the unit 8 can be addressed and there is no way to select another device. OTOH there is AFAIR no syntax for such things.

Thinking aloud (might be completely bad idea)... how about something in unix style (so that it could fit somehow into POSIX ways):

"/floppy/unit/subunit/file"

It could be adapted relatively easy to all target, I guess. But - again - just an quick shot without deep thinking whether it is actually feasible..

-- 
SD!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Aug 9 16:14:28 2012

This archive was generated by hypermail 2.1.8 : 2012-08-09 16:14:31 CEST