Tag: Machine code
-
More than a game: the Game of Life
Conway’s Game of Life has long fascinated me. Thirty years ago I wrote some Z80 machine code to run it on a Sinclair ZX80 and when I wrote BINSIC, my reimplentation of Sinclair ZX81 BASIC, Life was the obvious choice for a demonstration piece of BASIC (and I had to rewrite it from scratch when…
-
Back from the dead (almost)
The graphic you can see here is the partially recovered code of a program I wrote thirty years ago – “hexmon” – to display chunks of ZX80 memory in hexadecimal format (at least I think that’s what it did). I am determined to fully recover it – but as you can see it works well…
-
First bit of assembler
According to my diary for 22 March 1981 – this is the first piece of working assembler (actually it was Z80 machine code as there was no assembler program) I wrote: LD IX(400Ch) INC IX LD HL, 402Bh LD B, 0Ah LD A (HL) LD (IX + 0), A INC HL INC IX DJNZ RET…