]> gitweb.factorcode.org Git - factor.git/blob - extra/space-invaders/space-invaders-docs.factor
core, basis, extra: Remove DOS line endings from files.
[factor.git] / extra / space-invaders / space-invaders-docs.factor
1 ! Copyright (C) 2007 Chris Double.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.syntax help.markup cpu.8080.emulator ;
4 IN: space-invaders 
5
6 HELP: run-invaders
7 { $description 
8 "Run the Space Invaders emulator in a new window." $nl
9 { $link rom-root } " must be set to the directory containing the "
10 "location of the Space Invaders ROM files. See " 
11 { $link { "space-invaders" "space-invaders" } } "  for details."
12 } ;
13
14 ARTICLE: { "space-invaders" "space-invaders" } "Space Invaders Emulator"
15 "Provides an emulation of the original 8080 Arcade Game 'Space Invaders'." $nl
16 "More information on the arcade game can be obtained from " { $url "http://www.mameworld.net/maws/romset/invaders" } "." $nl
17 "To play the game you need the ROM files for the arcade game. They should "
18 "be placed in a directory called 'invaders' in the location specified by "
19 "the variable " { $link rom-root } ". The specific files needed are:"
20 { $list
21   "invaders/invaders.e"
22   "invaders/invaders.f"
23   "invaders/invaders.g"
24   "invaders/invaders.h"
25 }
26 "These are the same ROM files as used by MAME. To run the game use the " 
27 { $link run-invaders } " word." $nl
28 "Keys:" 
29 { $table
30   { "Backspace" "Insert Coin" }
31   { "1" "1 Player" }
32   { "2" "2 Player" }
33   { "Left" "Move Left" }
34   { "Right" "Move Right" }
35   { "Up" "Fire" }
36 }
37 "If you save the Factor image while a game is running, when you restart "
38 "the image the game continues where it left off." ;
39
40 ABOUT: { "space-invaders" "space-invaders" }