Print Peeks to determine ROM version?

Post Reply
User avatar
Erm
Posts: 225
Joined: Thu Jun 20, 2019 7:07 pm
Contact:

Print Peeks to determine ROM version?

Post by Erm »

Hello. I've just installed a ROM-el in a Power 3000. I wrote 4 different ROMs to it the other week. I used the following:

Lambda 8300 ROM modded for ZX81 compatibility
Lambda 8300 (Std)
Power 3000
Power 3000 with colour kit commands

And I've now forgotten in which order I put them on the ROM! Obviously the ZX81 compatible one seems to show the familiar ZX81 'K' so that's easy to spot. The others all show the 'READY' at the top left.

Without having to go through the ROM data to find differences, does anyone have an easy way to tell which is which, e.g. with Print Peeks or something?
Attachments
20191130_184446_resized-1.jpg
I'm Chris, a Brit in Germany (Chr$ on the QL forum). https:\\QXL.WIN < QL related collection.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb »

Number 2,3 and 4 are the same. That’s why they all show READY.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
Erm
Posts: 225
Joined: Thu Jun 20, 2019 7:07 pm
Contact:

Re: Print Peeks to determine ROM version?

Post by Erm »

What, exactly the same in every way, surely not?! What are the colour kit commands and how so I tell for example if that one is selected?
I'm Chris, a Brit in Germany (Chr$ on the QL forum). https:\\QXL.WIN < QL related collection.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb »

Look at this post
viewtopic.php?f=18&t=2839&start=10#p31682

You have number 5,2,2,2.

It’s just that ROM 2 has many names.

If you still have the ROM files on your pc, you can check their CRC, to see if they are equal all the way through.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb »

If you type the command

Code: Select all

INK 1
and don't get an error, you have the color ROM.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
Erm
Posts: 225
Joined: Thu Jun 20, 2019 7:07 pm
Contact:

Re: Print Peeks to determine ROM version?

Post by Erm »

Right, so basically I just need 2 ROMS on the chip. One 'normal' one and the ZX81 compatible version. I think that's the easiest thing to do.
I'm Chris, a Brit in Germany (Chr$ on the QL forum). https:\\QXL.WIN < QL related collection.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb »

You can have 3.
  • Lambda ROM first version without color commands
  • Lambda ROM second version with color commands
  • ZX81 compatible ROM for Lambda
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb »

You could also try one of the Russian ROMs with READ, DATA, RESTORE, but I have no documentation for them.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb »

Code: Select all

PRINT PEEK 999
  • Original Lambda ROM gives: 23
  • Lambda second ROM with color commands gives: 63
  • ZX81 compatible ROM gives: 33
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
Erm
Posts: 225
Joined: Thu Jun 20, 2019 7:07 pm
Contact:

Re: Print Peeks to determine ROM version?

Post by Erm »

Excellent, thanks.
I'm Chris, a Brit in Germany (Chr$ on the QL forum). https:\\QXL.WIN < QL related collection.
Post Reply