PETCan 1.0, a Commodore PET emulator for the Apple IIgs

What you need
- An Apple IIgs with 4 MB of memory, or an Apple IIgs emulator such as
  EmuBuddy or MAME. Without an accelerator the PET runs at 60 to 85 %
  of its speed, with one of 8 MHz at its full speed.
- The ROM files of a Commodore PET. They are not part of PETCan.

The disks
Both have the same PETCan, and the shareware version of Attack of the
PETSCII Robots by David Murray (The 8-Bit Guy), free to give away
(PETROBOTS.S.D64; on the hard disk in the folder DISKS).
- PETCan.2mg, a 32 MB hard disk with System 6.1. Use it as a hard
  disk in your emulator, or on a hard disk card of the IIgs. It starts
  into the Finder; PETCan is in the folder PETCAN.
- PETCan.po, an 800K disk (ProDOS). Copy its files into one folder
  of your own GS/OS hard disk. Started from itself, without GS/OS, it
  runs PETCan as a PET 4032.

Getting started
1. Put your PET ROM files into PETCan's folder, named exactly:
     BASIC     12288 bytes   BASIC 4 (901465-23, -20, -21 in one file)
     KERNAL     4096 bytes   901465-22
     EDITOR     2048 bytes   the 4032's, 60 Hz (901499-01)
     CHARGEN    2048 bytes   901447-10
   These four are the PET 4032. For the other models, add:
     EDITOR80   2048   the 8032 (901474-03)
     BASIC2     8192   the 3032: BASIC 2 (901465-01, -02)
     KERNAL2    4096     901465-03
     EDITOR2    2048     901447-24
     BASIC1     8192   the 2001: BASIC 1
     KERNAL1    4096
     EDITOR1    2048
     CHARGEN1   2048
   and, if you like: EDITOR50 and EDITOR8050 (the 50 Hz editors),
   EDITORB, EDITORB50 and EDITOR2B (the business keyboard on the 4032
   and the 3032). On a Mac or PC, a program such as CiderPress II puts
   files onto a disk.
2. Copy your programs (.PRG) and disk images (.D64, .D80, .D82) into
   the folder too.
3. In the Finder, open the folder and open PETCan.

To start PETCan from the 800K disk without GS/OS, copy the ROM files
onto that disk itself instead. It then starts as a PET 4032. From any
ProDOS 8 program selector, start PETCAN.SYSTEM in PETCan's folder.

If a ROM file is missing, the launcher says which one. Started from
ProDOS 8, PETCan stops with the letter E and the file's name.

While the PET runs, Open-Apple and Option with
  M   the menu: disks, saved states, back to the PET
  K   the PET's keyboard on the screen
  P   the PET's screen as text into the file PETCAN.PRINT
  Q   back to the launcher (a restart)
Option with a key is the key with SHIFT (the PET's graphics).

A second drive, device 9: in the launcher, mark a disk image with
Apple-9 (File, Disk for Drive 9) before you start a title, or choose
one in the menu (DISK 9). It needs 4 MB of memory.

Leaving the PET restarts the IIgs. Started from the launcher, the menu's
RESTART TO APPLE IIGS ends in the Finder, RESTART TO PETCAN LAUNCHER
(and Open-Apple-Option-Q) in the launcher again. That needs the SetStart
control panel of System 6 (it is on the hard disk; the files PETCAN.START
and PETCAN.FINDER are the launcher's notes for it, and they are gone
again afterwards). Without the panel every restart ends in the Finder.

The printer (device 4, OPEN4,4) writes into PETCAN.PRINT, a text file
of 16K in the folder. Each run of PETCan begins it anew. If the file is
not there, PETCan makes it at its start. OPEN4,4,7 prints lower case,
OPEN4,4,8 capitals.

For the Finder's icon on your own startup disk, copy PETCan.Icons
from the Icons folder into the Icons folder of that disk.

The manual: PETCan-Manual.pdf, beside this file in the download.
ProDOS 2.4.3 on the 800K disk is by John Brooks and others (free).
