ZX Compiler

Products: ZX Compiler
Date: 1983
Type: ROM
Platform(s): TS 1000
Tags: ROM

An EPROM board holding the ZX Compiler, which converts BASIC programs to machine code to make them run faster, together with a copy of Hot Z v1.72. Both were 2764 8K EPROMs on a John L. Oliger 2764×2 READ EPROM board (JLO 8308). The compiler’s title screen reads “THE ZX COMPILER”, “BOB BERCH” and “28-32K VERSION 1.1”. The compiler chip is labelled “C0000 – D3CD” and the Hot Z chip “RAND USR 8192”.

What’s in the download

  • ZX_Compiler.BIN: the compiler EPROM, 8,192 bytes, from socket Eb.
  • Hot_ZV1.72(1).BIN: the Hot Z v1.72 EPROM, 8,192 bytes, from socket Ea.
  • ZX-Compiler_HotZ.txt: notes on the board. Eb is jumpered to 56 on the 74LS138, and two extra wires connect decoder output 8 to pin 20 of Eb and pin 27 of Eb to the expansion port’s WR line.
  • Four photos of the board, front and back.

Program Analysis

ZX_Compiler.BIN

The data ends at 13CDh, which matches the label’s end address of D3CDh if the chip starts at C000h. The compiler asks “STANDARD OPTIONS? Y/N”, and otherwise asks for the ORIGIN of the compiled code, the RT PKG ORIGIN (its run-time package) and the VARIABLES ADDR. It reports “COMPILE OK” with the origin, length and variables address, can relocate the run-time package (“RELOC R.T.”) and put “RT PKG/CODE/VARIABLES IN 1” block, and shows “ERROR LINE NO” on failure.

Hot_ZV1.72(1).BIN

Ray Kingsley’s Hot Z disassembler and debugger, with the same Z80 mnemonic and system-variable tables as the copy on the Hot Z v1.72 board (#56073). The two images differ in 673 bytes; that one is labelled “Rand USR 40960”, so this one appears to be the same version assembled for 2000h.

Related Products

Convert BASIC programs to machine language. Increases execution speed. 16K.

Image Gallery

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