Reply to post: Re: 16514

Happy birthday, Amiga: The 'other' home computer turns 30

Toastan Buttar

Re: 16514

That was the first character after REM, if a REM statement was the first line of BASIC. Before POKEing in a HEX machine code program, you had to make sure you had enough characters after REM to support your Z80 machine code routine(s).

One of the most exciting moments of my teen life was writing a Z80 routine

LD BC, nnnn;

LD HL, mmmm;

ADD HL,BC;

LD B,H;

LD C,L;

RET

10 REM xxxxxxxxxxxxxx (appears as Sinclair-esque nonsense once values POKEd in)

20 PRINT USR 16514

And seeing it produce the expected answer (mmmm + nnnn) on screen! Seriously mind-blowing and I've always wanted to know what was REALLY happening inside every computer (and every high-level language) I've used ever since.

Started with 1K ZX-81, graduated to 16K, then Spectrum, then A500+, and finally threw in the towel and got a PC once they had decent enough graphics and sound to replace the Amiga.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon