factor/contrib/space-invaders
Slava Pestov 50b1d48d91 fix space invaders 2005-11-01 00:54:31 +00:00
..
cpu-8080.factor big syntax change: vectors are now V{ }, hashtables are now H{ }, tuples T{ }, wrappers W{ }, complexes C{ }, arrays { } 2005-10-30 03:25:38 +00:00
load.factor space invaders: fix half carry problem, this fixing score problem. Implemented remaining 8080 instructions. 2005-09-11 22:32:44 +00:00
readme.txt space invaders: sync frame rate. reorganise code into generic 8080 and space invaders portions. remove dead 2005-09-11 01:51:05 +00:00
space-invaders.factor fix space invaders 2005-11-01 00:54:31 +00:00
tests.factor space invaders: Reimplemented a bunch of instructions in a clearer manner, following the 8080 data sheet. 2005-09-10 06:37:56 +00:00

readme.txt

This is a first cut at a simple space invaders emulator. The goal is
to produce an emulator, disassembler and assembler for the 8080
processor.

Running 'load.factor' will load all necessary files to run the game.

If you are in the space-invaders directory, and have the ROM as a file
'invaders.rom' in that same directory, the following starts the GUI:

  "load.factor" run-file
  USE: space-invaders
  run

'Backspace' inserts a coin, '1' is the one player button and '2' is
the two play button. The left and right arrow keys move and the left
control key fires.

If the ROM file you have is split into seperate files, you will need
to merge them into one 'invaders.rom' file. From Windows this is done
with:

  copy /b invaders.h+invaders.g+invaders.f+invaders.e invaders.rom

Or Linux:

  cat invaders.h invaders.g invaders.f invaders.e >invaders.rom

The emulator is actually a generic Intel 8080 and the code for this is
in cpu-8080.factor. The space invaders specific code is in
space-invaders.factor. It specializes generic functions defined by the
8080 emulator code to handle the space invaders display and
input/output ports.

For more information, contact the author, Chris Double, at
chris.double@double.co.nz or from my weblog
http://radio.weblogs.com/0102385