Re: [cc65] Apple2 Libraries - Current status of file io ?

From: Greg King <gngking1erols.com>
Date: 2004-07-29 05:48:08
From: Oliver Schmidt; on Date: Wednesday, July 28, 2004, at 10:00 AM -0400
>
> Ullrich von Bassewitz asked:
> >
> > Uhm, can you explain that for a non-apple-literate?  It seems that the
> > Apple does come in quite some different configurations. :-)
>
> Okay, the Apple2 universe consists of several hardware platforms,
> as well as several OS platforms:
>
> - The oldest Apple2 are the ][ / ][+ with a 6502 and typically 48k to
> 64k.  It typically runs Apple DOS 3.3 (or less common, ProDOS 8).
>
> - The most widely used Apple2 is the (enhanced) Apple //e with a 65C02
> and typically 64k to 128k.  It runs Apple DOS 3.3 or ProDOS 8.
>
> - The latest Apple2 is the Apple // GS with some 65816-like CPU.
> It natively runs GS/OS for GUI, memory management, etc.; and, ProDOS 16
> for disk access.  It can boot into an 8-bit emulation-mode, running
> Apple DOS 3.3 or ProDOS 8.


From: Oliver Schmidt; on Date: Wednesday, July 28, 2004, at 10:04 AM -0400
>
> Ullrich von Bassewitz asked:
> >
> > Does this mean there are several different file-I/O libraries needed
> > for the Apple?  If so, would it be possible to find a common
> > denominator for all of them?
>
> As far as I know, there are three different environments for disc
> access:
>
> - Apple DOS 3.3 has an originally internal -- afterwards weakly
> documented by a third party -- interface usable by 6502 assembly
> programs.  Anyway, looking back from 2004, this interface can be
> considered stable. ;-)
>
> - ProDOS 8 has an official 6502/65C02 assembly program interface which
> is totaly different from DOS 3.3, in all aspects.  From a certain
> version on, ProDOS 8 uses 65C02 statements internally.
>
> - I don't know details about ProDOS 16, but I'd assume that it has a
> 65816 assembly interface, at least to some degree, logically compatible
> with the one of ProDOS 8.

That info. suggests that an easy division of the code would be:
o  put DOS 3 file-functions into the "apple2/" sub-directory;
o  put ProDOS file-functions into the "apple2enh/" sub-directory.

----------------------------------------------------------------------
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 Jul 29 05:50:00 2004

This archive was generated by hypermail 2.1.8 : 2004-07-29 05:50:09 CEST