AN IMPORTANT ANNOUNCEMENT:
I
had another look at ZX80 programming myself, finally getting some machine code to work on it. It has made me rethink the Blue Challenge on this year's competition, in which the idea was to get the unexpanded 1K ZX80 to do... something, in machine code. And by that I meant
entirely in machine code - fill up the memory with about 700-and-something bytes and... you've got a rudimentary version of Nim, or Noughts And Crosses, or something similar. Salvador Camacho did make
Tic Tac Toe Hell, but that's a deliberately-cheaty version, and it was written in C using Z88DK and compiled, and although that qualified for the White Challenge (Salvador had never even thought of making anything for the ZX80), it wasn't suitable for the Blue as it required 16K of memory. When I came up with the challenge, I was under the impression that machine code programming on the ZX80 was similar to the ZX81, in that the code would be held in a REM statement and executed from there, and it was only after I opened
this can of worms on Sinclair ZX World in mid-June that I discovered the truth.
Even at this late stage (in that there's three and a half months to go,
possibly four if I'm generous in the end (which is much more likely, now that I know I've got a trustworthy host for next year lined up), I am going to revise the Blue Challenge to something that I think is more manageable, but retains the spirit of the original in some way.
BLUE CHALLENGE V2.0:
Write a game for the ZX80 (anything up to 16K) which uses all eight of the Integral Functions: CHR$, STR$, TL$, PEEK, CODE, RND, USR, ABS.
Given that USR is involved then this
will involve machine code, but it can be something as simple as, say...
changing decimal into hex or binary. You know, like I just did. And in order to read the hex output from my program, both CHR$ and PEEK have to be used in combination with each other. So that's three functions dealt with already - the other five shouldn't be too much of a problem.
Incidentally, if your name is @PROSM and you were working on an entry for Blue Challenge V1.0, if you can accomplish it, I'll still consider it as part of the challenge, and I might even cut a piece off the Jewel of Ankhel.