Browse all the Apple-1 programs that ever existed. A tribute to history and their hackers.
Run them in any emulator, or instantly on the (real) machine.
by Robert J. Bishop in 1977
Find and shoot down the bad guys, the Klingons.
Also referred to as Apple Star-Trek. Sold by Apple Computer on cassette tape for $5, order code A1T006X.
This game by Robert J. Bishop was published in the Interface Age magazine (May 1977). At the time, Star-Trek games were popular and various variants were written for mini- and microcomputers. This one was specifically written in Apple BASIC for the Apple-1.
Rules of the game, as lined out in the issue of Interface Age:
The galaxy is divided into 64 quadrants arranged in an 8x8 grid: each quadrant is further subdivided into 8x8 sectors. Your mission is to find and destroy the seven Klingon spaceships hiding somewhere in the galaxy: you are allotted 15 stardates and have two starbases at which you can refuel. You are initially supplied with
3
photon torpedoes and500
units of energy. Your energy supply is used to:
- move you around the galaxy,
- fire your phasers, and
- protect the Enterprise via its deflection shields which are automatically activated by the on-board computer every time a Klingon fires at you.
Each time you enter or maneuver within a quadrant containing a Klingon, he will shoot at you, and the amount of damage his phasors did to your shields will be indicated. Each time you shoot at him with either phasors or photon torpedoes and fail to destroy him, he will also return fire upon you.
Commands
There are six commands available to you; they are numbered from
0
to5
:
Command Function 0
Moves the Enterprise. Computer responds with; VECTOR ?
, to which you must specify the number of sectors you wish to move, both horizontally and vertically. A positive horizontal move is to the right, and a positive vertical move is up. These two vector components must be separated by a comma; for example:-21,35
would move the Enterprise 21 sectors to the left of its current position, and 35 sectors up.1
Short Range Sensor Scan. Prints the quadrant you are currently in, with the Enterprise represented by the symbols: <*>
, Klingons represented by:+ + +
, starbases by:>!<
, and stars by:*
.2
Long Range Sensor Scan. Displays a 3x3 array of nearest neighbor quadrants with the Enterprise's quadrant in the center. The scan is coded in the form: KBS
, where K is the number of Klingons, B is the number of starbases, and S is the number of stars in the quadrant.3
Fire Phasers. The computer informs you as to how much total energy you have left, and then waits for you to indicate how much of that energy you want to fire at the enemy. (Note: the closer you are, the more effect your phasers will have on the Klingons, and conversely!) 4
Fire Photon Torpedo. You have no control over the course of the torpedo; the on-board computer automatically aims at the enemy, taking care to avoid hitting any intervening stars or starbases. (Again, the closer you are, the better your chances of hitting the Klingon.) 5
Library Computer. The library computer allows for the following two requests: Zero) Cumulative record of the results of all previous longrange sensor scans of the galaxy. Non-zero) Status report. Expenditure of supplies
Moving from one quadrant to another uses up energy and one stardate. However, movement within a given quadrant uses up only energy.
Relative positions change with time
Much can happen in a few stardates! Consequently, if you leave a quadrant and then later return, don't expect the Klingons, stars, etc. to still be in the same relative positions that they were in when you left! The number of each will still be the same, but their positions will be different. This means that whenever you enter a new quadrant, you don't know just where the various objects will be; in fact, don't be too surprised if once in a while you collide with things!!!
Replenishment of supplies
Docking at a starbase re-initializes your supply of photon torpedoes to 3, and your energy supply to 500. Docking is accomplished by moving the Enterprise to any one of the four sectors immediately adjacent a starbase, above, below, left, or right.
Battle retreat
Firing zero units of phaser energy will return you to command mode. This allows you to retreat from battle.
Galaxy co-ordinate system
Quadrant
0,0
is the lower left hand quadrant of the galaxy, and quadrant7,7
is the upper right. Likewise, sector0,0
is in the lower left hand corner of the quadrant and7,7
in the upper right. (Thus, the galaxy resembles a Cartesian co-ordinate system with the x-axis pointing to the right, and the y-axis pointing up.)
This website has full functionality when displayed on a larger screen.
In 1976, the Apple-1 Computer was advertised for $666.66 and came with 4K of on-board memory. For a $120 extra, this doubled to 8K of RAM. The provided Operation Manual included the circuit diagram and assembly code of the monitor program.
The Cassette Interface (or ACI) was used to load and save programs from cassette tape. The ACI Manual showed how to install it (the main board had to be jumpered correctly) and explained how it had to be used. Priced at $75, it included a cassette of Apple BASIC.
Its BASIC was written by Woz himself. It did not support floating point arithmetic, but was tiny enough to fit in 4K of memory. The software itself was free. The Preliminary Apple BASIC Users Manual explained how to write your own games and programs with it.
Cassette tapes could be bought as an original accessory to your new Apple-1. A total of nine programs were available and listed $5 each. Pick one below and go back in time.
At the time, people were also inspired by publications like 101 BASIC Computer Games. They spent their evenings and nights to key-in the games, but soon were disappointed to discover that some of these did not work at all because of the missing floating points... Arghh.
It is easy to run the software with one of these emulators:
View a comparison of emulators here.
First, start the emulator of choice and have it run Wozmon (or BASIC), then use the Wozmon button to copy-paste the program code into the emulator.
For example: open Apple 1js in another browser tab. Hit CLS to clear the screen and RESET to enter Wozmon. Then paste the copied Wozmon code from this website.
This website can connect directly (and locally) to the Keyboard Serial Terminal from 8BitFlux.com. It uses the Web Serial API for this and is supported by Chrome or Edge browsers. The Wozmon code of any program can be transferred quickly.
Use the Serial button to transfer the current program to the Apple-1. For example, BASIC takes around 20 seconds to transfer at a speed of 57.6 kbps. The board is compatible with the higher-speed TurboType™ format (with CRC check).
After the transfer of the game or program, switch over to the normal Apple-1 keyboard (by pressing a button) and enjoy it. This makes also a great kit for museums and public events. Kits available soon »
This library is an initiative of 8BitFlux.com. It can be put to full use with a Keyboard Serial Terminal adapter board, which let you run software instantly on a (real) Apple-1.
Many thanks to Uncle Bernie for his support and provision of his TurboType™ algorithm, which is part of his Apple-1 Toolchain.
Last but not least, all this was not possible by all the authors of Apple-1 software and emulators. The hobby computer enthusiasts of the past, but also people of the present, who keep this hobby so alive. Thank you all.
This website is not associated with Apple Inc. in any way.
It tries to be a tribute to (their) history. It wants to list only software that is already considered to be in the public domain, or its license permits further publication. The (online) sources of the program and other references are listed when known.
Mistakes happen, as this website is not generated by any AI, please report any nonconformities.
Made behind an 🍎 in The Netherlands.