Phaselock
Working buildVersion 0.9
A side-scrolling machine-code shooter: stars, enemies and ship move one pixel at a time at 20 frames a second.



Download
Build: pack image
- File
phaselock-0.9.opk- Version
- 0.9
- Size
- 30,085 bytes
- Date
- SHA-256
f94fa1d867483df9af2b70b77cd2debf3bd0409919344ad5faae2dc5903cb4be
Source + build (zip)
- File
phaselock-0.9-source.zip- Version
- 0.9
- Size
- 217,453 bytes
- Date
- SHA-256
0a9d5d7715c6d2bb66f75acb0d2531df1790fd0f18ca34329b417217edad2c64
30,085 bytes: a 32K Datapak. In an emulator, load the pack image into slot B of an LZ or LZ64. On a real Organiser, load the psion/ folder from the source + build zip with RPBOOT: A: needs about 14K free for the files, plus about 8K while the game runs.
Licence: MIT.
Compatibility
| Model | Runs it? | Note |
|---|---|---|
| CM | Not supported | Needs the four-line screen |
| XP | Not supported | Needs the four-line screen |
| LA | Not supported | Needs the four-line screen |
| LZ | Works | Four-line screen |
| LZ64 | Works | Four-line screen |
Tested on the Jape emulator (LZ and LZ64). The pass on real hardware (LCD smear, sound, battery) is still to do.
About
A side-scrolling shooter that moves the stars, the enemies and the ship one pixel at a time at 20 frames a second. One machine-code routine runs a whole wave; OPL does the title, the wave data, the status cards and the high scores.
Three lives, eight waves and a boss, about ten minutes. The ship fires by itself. Two rules make it hard:
- Nothing gets away. An enemy you let past comes back in on the right, now weaving towards your lane and shooting. A wave ends only when everything in it is destroyed. Mines are the exception: they cannot be shot and just leave.
- Shots fill the lane. An enemy shot hits anywhere over the five rows of its
+, so the only way to dodge is to leave that lane.
Install
- Download the pack image,
phaselock-0.9.opk. - In the Jape emulator: choose LZ or LZ64, Select OPK file, choose the file, Create, then Slot B.
- On the Organiser: Prog, Run, press MODE until the prompt shows
B:, typePHASEand press EXE. Loading takes about 2.5 seconds. - For a real Organiser, see Getting started for loading with RPBOOT.
Manual
| Key | Action |
|---|---|
| UP / DOWN | Move, 2 pixels a tick while held |
| EXE | Bomb: clears every enemy and enemy shot, once a wave. Let go of the arrow first: the keyboard reports one key at a time |
| MODE | Pause and show the status card |
| ON/CLEAR | Quit to the title |
If no key is pressed for 30 seconds the game pauses itself.
Technical notes
- The machine-code core is assembled at three origins and compared to find its fix-ups, so the loader can place it anywhere.
- A reference model of the core in Python checks the strip builders, the collision tests and one frame of logic.
- Left for the hardware pass: whether one-pixel steps at 20 frames a second smear on the real LCD, the LCD busy flag, sound and battery. If a frame ever misses its tick, the status card shows
LATEand the count.
Changelog
| Date | Version | Change |
|---|---|---|
| 0.9 | Working build: milestones 1 to 6, tested in the emulator; made harder after the first play-through. |
Source
The source is in the source + build zip, under the MIT licence. It holds the program as committed, the shared Psion tools it builds with, and the built pack, and it rebuilds the same pack byte for byte. A public repository will follow.