Currently defined keys: Upper Action: Fire Lower Action: Jump DISC: Speed up / slow down. Here's a map to what's in Space Patrol: . |-- README.txt This file | |-- Makefile Linux Makefile to build Space Patrol |-- build.bat DOS batch file to build Space Patrol | |-- spacepat.asm Top level source file | |-- bin Where the generated binaries go | |-- spteaser.bin | |-- spteaser.cfg | |-- spteaser.lst | |-- spteaser.rom | `-- spteaser.sym | |-- doc Documentation | |-- data_structures.txt | `-- initmem.txt | | |-- engine Various engines: Graphics, world, sound, bad guy | |-- engine1.asm Interrupt-context portion of engine | |-- engine2.asm Background-context portion of engine | |-- runeng.asm Engine-running loop | | | |-- ckbgb.asm Check bad guy bullets | |-- ckbgp.asm Check bad guy position | |-- ckbrc.asm Check buggy-rock collision | |-- ckggb.asm Check good guy bullets | |-- upani.asm Update sprite animation | |-- upbgp.asm Update buggy and ground phase | |-- upbsp.asm Update buggy sprites | |-- upcrd.asm Update cards | |-- uphbp.asm Update horizontal bullet position | |-- upmux.asm Update sprite->MOB muxing | |-- upspa.asm Update sprite->MOB allocation | |-- upspp.asm Update sprite positions | | | |-- clrsp.asm Clear Sprites | |-- ttlsp.asm Title-screen Sprites | |-- tank.asm Misc tank related routines | |-- tictsk.asm Miscellaneous tasks, including dashboard update | |-- twinkle.asm Twinkle the stars | | | |-- tracker.asm Music tracker | `-- sfxeng.asm Sound-effect engine | |-- bg Bad Guys! | | | |-- bgengine.asm Bad Guy engine top-level | |-- bgmpind.asm Indirect lookup table for Bad Guy Motion Programs | |-- bgthink.asm Bad Guy thinker routines, except for saucers | |-- bgsaucer.asm Saucer AI (reads saucer control tables) | |-- bgfollow.asm Follower / Charger AI | `-- saucer.sct Saucer control tables used by Saucer AI | |-- game Additional game logic | |-- title.asm Title screen setup | |-- mission.asm Select Mission menu | |-- gameloop.asm Main game loop | |-- level.asm Level setup / screen draw | |-- score.asm Scoring code | |-- names.asm Course names | |-- gameover.asm Game Over screen | `-- ckpoint.asm Checkpoint display screen (not currently used) | |-- gfx Graphics-related data | |-- spatbl.asm Sprite attibute table | |-- rcsdata.asm Metadata for rocks and craters | |-- rockcrat.asm Graphics for rocks and craters | |-- spin1.asm Graphics for Moon/Pluto spinner | |-- spin2.asm Graphics for Mars/Mercury spinner | |-- title.asm Graphics for title badge | |-- ground.asm Graphics for scrolling ground | |-- midcity1.asm Graphics for middle section: City scene (Moon) | |-- midcity2.asm Graphics for middle section: City scene (Mars) | |-- midcity3.asm Graphics for middle section: City scene (Pluto) | |-- midcity4.asm Graphics for middle section: City scene (Mercury) | |-- midmount.asm Graphics for middle section: Mountain/crater scene | |-- topmount.asm Graphics for top section | |-- rockbg.asm Graphics for rocky background in Merc underground | |-- hut.asm Graphics for hut at start of game | `-- wheels.asm Graphics for buggy's wheels | |-- macro Handy macros | |-- dseg.mac | |-- gfx.mac | |-- initmem.mac | |-- p16.mac | |-- s16.mac | |-- score.mac | |-- stic.mac | |-- tracker.mac | `-- util.mac | |-- os | |-- main_os.asm Initial bootup, misc utility stuff | |-- rand.asm Random number generator | |-- debounce.asm Reads hand controllers. (Doesn't actually debounce) | |-- setisr.asm Sets current ISR | `-- wnk.asm Wait for No Key pressed | |-- snd Sound/Music files | |-- sfx.asm Sound effects | `-- music.asm Top level wrapper for music | |-- util Utility functions (same as SDK-1600 equiv) | |-- fillmem.asm memory fill / CLRSCR | |-- initmem.asm Byte/word memory initialization helper | |-- menuinp.asm Controller input for menus | |-- p16.asm Print strings packed in 16-bit words | |-- prnum16.asm Print 16-bit numbers | `-- pow10.asm Powers of 10 for PRNUM16 | |-- misc Dumping ground for anything else | |-- teaser.asm Teaser-edition specific code | `-- shltbl.asm Shift-left lookup table | |-- gfxsrc Source files for generating many of the graphics | |-- crat1 Small crater | |-- crat2 Large crater | |-- rock1 Small rock | |-- rock2 Medium rock | |-- rock3 Large rock | |-- rockbg Rocky background for Mercury underground | |-- midcity1 Middle-section graphic: City (Moon) | |-- midcity2 Middle-section graphic: City (Mars) | |-- midcity3 Middle-section graphic: City (Pluto) | |-- midcity4 Middle-section graphic: City (Mercury) | |-- midmount Middle-section graphic: Crater/mountain | `-- topmount Top section graphic: Mountains | |-- fonts Fonts / graphic pictures | |-- creep.fnt Baseline creep font | |-- creep2.fnt Delta creep font for Mars | |-- creep3.fnt Delta creep font for Pluto | |-- creep4.fnt Delta creep font for Mercury | |-- digit.fnt Digits | |-- game.fnt Graphics for dashboard | |-- mountain.fnt Characters for ground plane below tank | |-- tank.fnt The tank | |-- joe.fnt My name | `-- misc.fnt | |-- world World data and related tables. | | | | The world-data files have a very simple format. | | See "c/wasm3.c" for the format. | | | |-- beg_a_e.wr3 Moon Beginner Course, A-E | |-- beg_f_j.wr3 Moon Beginner Course, F-J | | | |-- chl_a_e.wr3 Moon Champion Course, A-E | |-- chl_f_j.wr3 Moon Champion Course, F-J | | | |-- mab_a_e.wr3 Mars Beginner Course, A-E | |-- mab_f_j.wr3 Mars Beginner Course, F-J | | | |-- mac_a_e.wr3 Mars Champion Course, A-E | |-- mac_f_j.wr3 Mars Champion Course, F-J | | | |-- plb_a_e.wr3 Pluto Beginner Course, A-E | |-- plb_f_j.wr3 Pluto Beginner Course, F-J | | | |-- plc_a_e.wr3 Pluto Champion Course, A-E | |-- plc_f_j.wr3 Pluto Champion Course, F-J | | | |-- hgb_a_e.wr3 Mercury Beginner Course, A-E | |-- hgb_f_j.wr3 Mercury Beginner Course, F-J | | | |-- hgc_a_e.wr3 Mercury Champion Course, A-E | |-- hgc_f_j.wr3 Mercury Champion Course, F-J | | | |-- spawns.asm Spawn tables describing types of spawns | `-- world.asm Top level world wrapper | |-- genasm Generated assembly, generated from .fnt, .wr3, etc. | |-- beg_a_e.asm | |-- beg_f_j.asm | |-- chl_a_e.asm | |-- chl_f_j.asm | |-- mab_a_e.asm | |-- mab_f_j.asm | |-- mac_a_e.asm | |-- mac_f_j.asm | |-- plb_a_e.asm | |-- plb_f_j.asm | |-- plc_a_e.asm | |-- plc_f_j.asm | |-- hgb_a_e.asm | |-- hgb_f_j.asm | |-- hgc_a_e.asm | |-- hgc_f_j.asm | | | |-- creepfnt.asm | |-- creep2.asm | |-- creep3.asm | |-- creep4.asm | | | |-- date.asm | |-- font.asm | |-- joefnt.asm | |-- sctbl.asm | `-- teasefnt.asm | |-- c C source for little helper utilities | |-- config.h Generic configuration stuff | |-- crc16.c CRC-16 code | |-- crc16.h | |-- icartrom.c Intellicart .ROM routines | |-- icartrom.h | |-- jumprock.c Compute minimum-jump height tables | |-- makecity.c Convolve graphics for city | |-- makemmnt.c Convolve graphics for "mid-mountain" | |-- makerock.c Convolve graphics for rocks, craters | |-- maketmnt.c Convolve graphics for "top-mountain" | |-- mkfont16.c Make packed fonts | |-- profile.c Generate a profile from a listing a dump.hst | |-- rom2bin.c Convert a .ROM to a .BIN + .CFG | |-- sctc.c Generate saucer control tables from .SCT file | `-- wasm3.c World Assembler | |-- exe DOS/Linux executables for helper utilities | |-- makemmnt.exe | |-- makerock.exe | |-- maketmnt.exe | |-- mkfont16.exe | |-- profile.exe | |-- rom2bin.exe | |-- sctc.exe | `-- wasm3.exe | `-- _exrc Preferred editor settings for VIM