Manuals

GEOS for Apple ][ File Strucures Explained

Oliver Schmidt, long known for his work on several projects in the Apple][ community including Contiki and Applewin, has now delved into documenting the internals of  GEOS, the Berkeley Softworks  produced operating system for the Apple ][.

In his announcement in the comp.sys.apple2 newsgroup, Oliver says" Although the Apple GEOS filesystem is based on ProDOS 8 the Apple GEOS  files are not standard ProDOS 8 files. I’m not refering to file  content here but to the file structure – meaning that Apple GEOS files  aren’t seedling, sapling nor tree files.

I’ve done some reverse-engineering and have documented my findings here:

http://wiki.cc65.org/doku.php?id=cc65:apple2:geosfileformats

GEOS files are more than the usual byte stream with a few attributes. Therefore they need to be converted in order to represent them in other filesystems. This is just the same as with GEOS 64/128. And again just the same as with GEOS 64/128 it is desirable to have this conversion work “in place” instead of creating copies. To facilitate this a suitable “convert format” has to be specified. I defined one here:

http://wiki.cc65.org/doku.php?id=cc65:apple2:geosconvertformat

Who can make use of this “convert format”?

1. Convert tools running on Apple GEOS (like on GEOS 64/128) or on ProDOS 8. I’ve already written a ProDOS 8 convert – which however currently only supports the “deconversion”.

2. Apple disk image tools like CiderPress or AppleCommander. They could use the “convert format” to represent Apple GEOS files in the host filesystem – and do the (de-)convert on-the-fly when moving files from/to an Apple GEOS disk image.

What’s the benefit of all this?

1. In general it becomes possible to move Apple GEOS files around, transfer them with any filetransfer technicque and share them on the
net etc.

2. I’m working on porting the cc65 GEOSLib (http://www.cc65.org/ snapshot-doc/geos.html) from GEOS 64/128 to Apple GEOS. The cc65 linker creates a “convert format” file which is then tranfered to the Apple GEOS filesystem and finally deconverted there. That’s the reason why my ProDOS 8 convert tool only supports this direction.

3. Now that the basic Apple GEOS file structures are known one can apply the already present knowledge on GEOS file contents – as they are the same for Apple GEOS and GEOS 64/128. Thus it becomes i.e. possible to implement an Apple geoPaint file viewer (or editor):

ftp://ftp.zimmers.net/pub/cbm/geos/programming/documents/geoPaint%20format.txt

From the cc65 developers perspective it would of course be great if  CiderPress and/or AppleCommander would allow to place the output file of the cc65 linker directly in an Apple GEOS disk image as Apple GEOS file, thus superseding the additional convert step.

A.P.P.L.E. obtained permission to distribute the documentation for GEOS in 2003 and if you would like to check GEOS out or to run it on your own system, you can download the entire GEOS CD complete with all of the documentation from our December posting about the program at:

http://www.callapple.org/2011/12/10/geos-apple-cd-re-posted-to-download-section/

 

The Complete Apple ][ French Developers Documentation Online

The entire collection of the French version of the Apple ][ Developers, a documentation package for Apple developers is now available online.  The entire package is from about 1985 and has been made available in digital format on the Brutal Deluxe website.

Here is the table of contents:

  • Sommaire (PDF, 25 KB)
  • Les outils souris texte de l’Apple II (Apple II mousetext tools) (PDF, 4.1 MB)
  • Les règles de l’interface souris (mouse interface rules) (PDF, 5.7MB)
  • Utilitaires de programmation (programming utilities) (PDF, 3 MB)
  • Routines de saisie et d’affichage écran (screen display and input routines)
  • Driver d’écran Apple II (Apple II screen driver)
  • Unité Pascal de l’environnement multi-dossiers (multi-folders environment Pascal unit)
  • Notes techniques ProDOS (ProDOS technical notes) (PDF, 1.3 MB)
  • Notes techniques Pascal (Pascal technical notes) (PDF, 5.7 MB)
  • Notes techniques Apple IIe (Apple IIe technical notes) (PDF, 3.9 MB)
  • Notes techniques Apple IIc (Apple IIc technical notes) (PDF, 2.4 MB)
  • Notes techniques souris (mouse technical notes) (PDF, 618 KB)
  • The six double-sided disks are available as pictures and disk images.

This package is the same as  the complete documentation in English which was provided to developers at the time, Scanned to  PDF and OCRed.
You can download the documentation at:

http://www.brutaldeluxe.fr/documentation/forumdesdeveloppeurs.html

BASH reference

As is one can tell from the dates on my posts, I spent a while tracking this one down. The original link is in a now inaccessible e-mail account so I went out and located it directly on the web. The date of the manual is in 2010 so it looks as though it is being kept relatively up to date.

For those interested in why I am posting this particular link, the reason is simple. BASH is the shell used by OS X and one of the shells used by Linux/BSD. It ties in with the shell programming articles I’ve written recently. This link is to the reference guide/manual for the shell. All those Apple// folks who ended up with Macs can now start programming again. ;-)

http://www.gnu.org/software/bash/manual/

Incidentally to view the manual on-line the second of the first group of links is the best place to start.

Free Programming e-book

Finding interesting stuff for the Mac is difficult given the relative numbers of users and programmers out there. I think I may have found something though.

In the *NIX world (including OS X) the Python language seems to be the up and coming thing for programming. Python is an interpreted object oriented language. Python comes free with OS X, Linux, and BSD. It has to be downloaded and installed if it is to run on a Windows machine. I have tried simple GUI programming under Linux and will try it for the Mac as I get to that point.

The book itself contains a number of exercises as well as instructions on how to write programs in Python. I have only reached the second set of exercises but have already found a number of useful items. Those starting out may want to take a look at my recent articles on shells and shell programming. Although it is possible to program exclusively in a GUI environment, it is still a very good idea to start out using the shell then transition to the GUI.

The title of the book is “Learning Python The Hard Way“. The link to the authors web site is http://sheddingbikes.com/posts/1285754959.html. Please read the information on the page before downloading the book.

Brutal Deluxe adds Don Fudge’s Hi-Res Secrets

Brutal Deluxe has once again provided a golden item from the Apple ][ era to its website.  Don Fudge’s Hi-Res Secrets is available for download from the site, complete with Manual and Disk images.

You can download the program at:

http://www.brutaldeluxe.fr/documentation/

The Computist Project is Dead

Mike Maginnis posted a note today on CSA2 about the COmputist Project being dead.  In reality, the project has been combined with a number of other projects run by Mike Maginnis to create a new website.  Mike’s note is contained below:

First, the Computist Project is dead…  It’s been static since 2006
and the website had been slowly falling into disrepair, so to speak.
So now it’s been re-christened the Computist Archive, and has a new
home at:

http://apple2scans.net/computistarchive

Second, “What’s Where in the Apple” has been scanned and posted.  Get
it here:

http://apple2scans.net/apple-ii/whats-where-in-the-apple

And finally, the Apple Business BASIC Reference Manuals have been
scanned.  Find them here:

http://apple2scans.net/apple-iii/apple-business-basic-reference-manuals

- Mike
http://apple2scans.net

Disk Documentation Flash

As we were going to press, we were handed a copy of the NEW documentation on Disk II.  We are pleased to report that this documentation, running nearly twice the length of the original.  It is far more concise and detailed and has a very good introductory section.  So all you gentle folk at Apple Computer, we retract (sort of) some of the nasty things we said in this month’s editorial (http://www.callapple.org/1978/08/01/an-a-p-p-l-e-editorial-2/). However, we still feel that the Disk II should not have been released until this obviously superior documentation was also ready.

Val Golding

BASIC for Beginners

By Val J. Golding

A recent letter from Apple Computer announced the publication of a new manual scheduled for late March, designed to teach Apple BASIC to those with no prior programming experience. We look forward with anticipation to its publication. (We need it!)