Egghead.page Logo

Sinclair ZX80 Boot Sequence Upon Power-Up Explained

Upon switching on the Sinclair ZX80, the computer executed a streamlined startup routine hardcoded into its ROM chip. This process handled hardware initialization, memory verification, and the loading of the BASIC programming environment without any disk operating system. The following sections examine the technical steps of this boot sequence, the visual output generated for the television, and the significance of the final command prompt.

When the power switch was flipped, the Z80A processor received a reset signal that halted all current operations. The CPU immediately jumped to the start address of the 4KB Read-Only Memory (ROM) chip located at address zero. Unlike modern computers that rely on complex BIOS or UEFI systems to locate boot devices, the ZX80 contained its entire operating system within this single ROM chip. This design choice allowed for an almost instantaneous startup time, typically taking only a few seconds from power-on to readiness.

The first task performed by the ROM code was the initialization of the hardware stack and the video display generator. The ZX80 did not have dedicated video RAM; instead, the CPU generated the video signal in real-time while not executing user code. During the boot sequence, the system established the necessary timing for the television signal, ensuring a stable picture appeared on the screen. This was critical because the machine shared resources between processing and display, a cost-saving measure characteristic of early home computing.

Following hardware initialization, the system performed a check on the available Random Access Memory (RAM). The original ZX80 came with 1KB of RAM, though an upgrade to 16KB was common. The boot routine verified the integrity of this memory to ensure variables and program lines could be stored safely. If the memory check failed, the system would often halt or display garbage characters, but in a functioning unit, this process was silent and invisible to the user.

Once the memory was validated, the ROM printed a copyright message to the screen. Users were greeted with the text “Copyright 1980 Sinclair Research Ltd” displayed in white capital letters against a black background. This message confirmed that the ROM was functioning correctly and identified the software version. Immediately after displaying this string, the system initialized the Sinclair BASIC interpreter, setting all system variables to their default states and clearing any previous program data from the RAM.

The final stage of the boot sequence was the presentation of the command prompt. The screen displayed 0 OK, indicating that the system was ready to accept input. The zero represented the last executed line number, which was none, and the OK status confirmed successful initialization. From this point, the CPU entered its main execution loop, waiting for keyboard input to either run a program from tape or begin typing a new BASIC program, completing the transition from cold hardware to an interactive computing environment.