Asteroids (Syntax)

Developer(s): Craig Bird
Date: 1984
Type: Program
Platform(s): ZX81, TS 1000
Tags: Arcade

A fast machine-code game: asteroids fall from the top of the screen toward a ground line, and you steer your ship left and right with 5 and 8 to dodge them. Each asteroid you avoid scores a point; after a hit, press any key to start a new game.

The program is a 399-byte machine-code routine held in a line 10 REM. The article has you type a short loader, RUN it and enter the bytes from a POKE list, then replace lines 20-50 with the four-line launcher (SLOW, RAND USR 16514, PAUSE 4E4, GOTO 30). The download has the machine code already in place.

Published in Syntax March 1984 (Asteroids).

Related Articles

Machine language game: avoid the asteroids.

Related Content

Image Gallery

Source Code

  10 REM 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456
  20 SLOW
  30 RAND USR 16514
  40 PAUSE 4E4
  50 GOTO 30

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.