DODGE: A Game in 6502 Assembly
DODGE
- Type
- Game
- Language
- 6502 assembly (64tass)
- Size
- 938 bytes · 4 blocks
- Type-in
- A BASIC loader: 78 lines of DATA with checksums
- Controls
- Joystick in port 2, or Z and X; fire or SPACE to start; Q to quit
The first program on this site that is not BASIC. DODGE is a tiny game written in 6502 assembly, the language of the C64’s own processor: steer a ship along the bottom of the screen and dodge the rocks that fall faster and faster. It moves smoothly, 50 times a second, and the graphics chip itself tells the program when a rock hits you. All of it fits in 938 bytes.
![]() |
| Recorded in VICE: the rocks fall a row at a time, the ship moves every frame. |




