factor/contrib/space-invaders/readme.txt

48 lines
1.5 KiB
Plaintext
Raw Normal View History

2006-03-29 06:08:17 -05:00
This is a simple space invaders emulator. The goal is to produce an
emulator, disassembler and assembler for the 8080 processor.
2005-09-07 21:36:22 -04:00
2006-08-02 17:20:08 -04:00
It is integrated into the Factor module system, the following will
load all necessary files and run it:
2005-09-07 21:36:22 -04:00
2006-08-02 17:20:08 -04:00
"space-invaders" require
USE: space-invaders
run
2005-09-07 21:36:22 -04:00
2006-08-02 17:20:08 -04:00
For this to work it needs a ROM file called 'invaders.rom' in the
factor root directory.
2005-09-07 21:36:22 -04:00
'Backspace' inserts a coin, '1' is the one player button and '2' is
2006-03-29 06:08:17 -05:00
the two play button. The left and right arrow keys move and the up
arrow key fires.
2005-09-07 21:36:22 -04:00
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.
2006-03-29 06:08:17 -05:00
Current Issues:
2006-08-02 17:20:08 -04:00
1) The Escape key does not close the GUI. It does stop the CPU
emulation process though.
2006-03-29 06:08:17 -05:00
2006-08-02 17:20:08 -04:00
2) Closing the GUI using the 'X' does not stop the CPU emulation
process.
2006-03-29 06:08:17 -05:00
2006-08-02 17:20:08 -04:00
3) The best way of closing the window is by pressing Escape and then
2006-03-29 06:08:17 -05:00
'X' on the window.
2005-09-07 21:36:22 -04:00
For more information, contact the author, Chris Double, at
chris.double@double.co.nz or from my weblog
2006-01-19 05:13:14 -05:00
http://www.bluishcoder.co.nz