Err, we now know that there are THREE different ZX81 ROMs that were used in production ZX81s. See
this topic. There is also a test program later on in that topic.
In addition, the first ROM, the one with the maths bug, ZX81s can have an extra circuit fitted that “intercepts” the data when the Z80 reads the dodgy part of the bugged ROM, this kinda corrects the maths bug. There is a bit of information about this
here (but I have not yet updated this with the recent discovery of the third ROM).
So in total, that’s FOUR variations.
Here is a BASIC test program (courtesy of Moggy):
10 FAST
20 LET A = 0
30 FOR B = 0 TO 8191
40 LET A = A + PEEK B
50 NEXT B
55 PRINT “ROM TEST”
60 PRINT A
70 PRINT SQR 0.25
Note that it takes a while and while running, you will get a black screen.
Note the numbers it reports and report what it says.
Mark
Ref: ROMchip version test