what ROM do I have?

Discussions about Sinclair ZX80 and ZX81 Hardware
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: what ROM do I have?

Post by 1024MAK »

Um, I think the checksums for the 622 and the 649 in Moggy’s post may be swapped :shock:

I was just checking a Zeddy ROM, and it’s definitely a “649” type, the checksum from the BASIC program listed earlier in this topic is 855106.

If you use:

Code: Select all

10 FOR A=3901 TO 3907
20 PRINT A,PEEK A
30 NEXT A
It should print the following for a “649” type

Code: Select all

3901          253
3902          54
3903          53
3904          255
3905          205
3906          7
3907          2
And for a “622” type it should print the following

Code: Select all

3901          205
3902          7
3903          2
3904          253
3905          54
3906          53
3907          255
Just for the record, a "550" ROM should produce:

Code: Select all

3901          253
3902          203
3903          53
3904          254
3905          24
3906          5
3907          62
See also this topic ;-)

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
bola_dor
Posts: 398
Joined: Wed Oct 02, 2019 5:32 am

Re: what ROM do I have?

Post by bola_dor »

Thanks a lot!!
Ernesto
ZX80 USA, ZX81UK, ZX Spectrum, ZX Spectrum+, ZX Spectrum 128+ UK, ZX Spectrum +2/A, Sinclair QL, CZ1000, CZ1500, CZ2000, CZ1000Plus, CZ1500Plus, CZ Spectrum, CZ Spectrum Plus, TK83, TK85, TK90X, TK95. TS2068. And more to come :D
MarcNL
Posts: 27
Joined: Tue Jan 12, 2021 10:09 pm

Re: what ROM do I have?

Post by MarcNL »

If only the order of bytes for the pause command are swapped, then this (simple) checksum would be the same.
Marc
ZX80/MicroAce/ZX81/Lambda UK&USA, Spectrum/+/Beckman/Samsung, 128 Spain/UK/9G/Arabic, +2/+2A/+3/Arabic, CZ1500/2000/Spec/Plus, TK90X/95, Inves+, dB+, TC2048 PAL/NTSC/2068, TS1000/1500/2068, UK2086 ― and more!

GOTO www.sinclaircollection.site
Moggy
Posts: 3267
Joined: Wed Jun 18, 2008 2:00 pm

Re: what ROM do I have?

Post by Moggy »

1024MAK wrote: Sun Jan 30, 2022 12:16 am Um, I think the checksums for the 622 and the 649 in Moggy’s post may be swapped :shock:

I was just checking a Zeddy ROM, and it’s definitely a “649” type, the checksum from the BASIC program listed earlier in this topic is 855106.

If you use:

Code: Select all

10 FOR A=3901 TO 3907
20 PRINT A,PEEK A
30 NEXT A
It should print the following for a “649” type

Code: Select all

3901          253
3902          54
3903          53
3904          255
3905          205
3906          7
3907          2
And for a “622” type it should print the following

Code: Select all

3901          205
3902          7
3903          2
3904          253
3905          54
3906          53
3907          255
See also this topic ;-)

Mark
I've lost the will to live and no longer give a toss! :lol:
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: what ROM do I have?

Post by XavSnap »

Hi,

If you had to launch a checksum test, you had to unplug all external device...

The Memotech I/F, the Memotext, Memocalc, the Memotech HRG or a &1F00 IR UDG RAM... drive any memory offsets to another locations.
The checksum may be wrong.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
1024MAK
Posts: 5118
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: what ROM do I have?

Post by 1024MAK »

MarcNL wrote: Sun Jan 30, 2022 1:35 am If only the order of bytes for the pause command are swapped, then this (simple) checksum would be the same.
Yes, true.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
stroebeljc
Posts: 67
Joined: Thu Apr 23, 2020 6:02 am

Re: what ROM do I have?

Post by stroebeljc »

Since checksums are so 1980s and don't actually work to resolve whether you have ZX81 ROM Edition 2 or 3, here is a 1k program that calculates the ROM's CRC16-CCITT to identify its version.
The source is on github.
Attachments
romcrc.p
(451 Bytes) Downloaded 13 times
John
Post Reply