X-Received: by 10.129.72.83 with SMTP id v80mr26952293ywa.11.1445286732203; Mon, 19 Oct 2015 13:32:12 -0700 (PDT) X-Received: by 10.50.25.131 with SMTP id c3mr38965igg.6.1445286732135; Mon, 19 Oct 2015 13:32:12 -0700 (PDT) Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!m48no281025qgd.0!news-out.google.com!z4ni25975ign.0!nntp.google.com!kq10no20077978igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.sys.apple2.programmer Date: Mon, 19 Oct 2015 13:32:11 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.153.184.211; posting-account=z545EAkAAAAGCwmRzN5lBwG-Y-S8WvMh NNTP-Posting-Host: 83.153.184.211 References: <086a0a42-e2f8-4fa3-b188-345814963815@googlegroups.com> <17f44174-1463-4bb0-9d00-6548c4aa989e@googlegroups.com> <82829625-f3f0-4760-b91a-75b4a1f11ed0@googlegroups.com> <053cbd74-86a3-40dc-b0d1-61507504c0ee@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <88eb830c-1e52-431a-b9a1-e4edc7ff7149@googlegroups.com> Subject: Re: Modern Apple II development options From: olivier.zardini@cooperteam.fr Injection-Date: Mon, 19 Oct 2015 20:32:12 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Lines: 55 Xref: csiph.com comp.sys.apple2.programmer:1899 Le lundi 19 octobre 2015 15:52:35 UTC+2, Steven Hirsch a =E9crit=A0: > On 10/18/2015 02:59 PM, John Brooks wrote: >=20 > > Perhaps you can help with some of the Cadius improvements. I'm hoping t= o > > store the ProDOS/GSOS attributes directly in the native OS X file on HF= S+ > > instead of having to specify them when files are copied onto a disk ima= ge. > > I know HFS supported ProDOS types and I'm hoping HFS+ will too, but I'm= not > > sure. >=20 > That's fine for Mac users, but please keep in mind that this is a special= =20 > case. In the interests of an eventual Linux port it would be a good idea = to=20 > keep it well encapsulated. Consider an abstract interface to propagate f= ile=20 > types that can be specialized for a side-file based or intrinsic (Mac HFS= )=20 > approach as appropriate. We have chosen to include all file information into a separate text fil= e instead of trying to use native OS facilities or surcharging the file pat= h. We use a side (text) file named _FileInformation.txt containing, for ea= ch file of the current folder, the Prodos file informations : - Type=20 - AuxType - Version Create - Minimum Version - Access Flags - Macintosh Finder Info We use native system facilities to store : - File Name - Creation Date - Modification Date - Visible / Invisible attribute You can simply create your _FileInformation.txt file with the Type, Au= xType and other information and Assemble with Merlin32 your source file to = get a binary file as output. During the transfer to a Prodos disk Image, CADIUS will read the _FileI= nformation.txt file content to populate the disk Image with File Data + Fil= e Resource Fork + Prodos File information. The idea of having a separate _FileInformation.txt file is to guarantee= that exporting Prodos files (from a Prodos disk image) into a modern file = system (like Windows, Linux or Mac OSX) won't loose any of the original Dat= a or Information. You can Export / Import without loosing anything. Olivier