Print Peeks to determine ROM version?

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

Print Peeks to determine ROM version?

Post by Erm » Sat Nov 30, 2019 6:46 pm

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).

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb » Sat Nov 30, 2019 6:58 pm

Number 2,3 and 4 are the same. That’s why they all show READY.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
Erm
Posts: 81
Joined: Thu Jun 20, 2019 7:07 pm

Re: Print Peeks to determine ROM version?

Post by Erm » Sat Nov 30, 2019 6:59 pm

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).

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb » Sat Nov 30, 2019 7:03 pm

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
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb » Sat Nov 30, 2019 7:06 pm

If you type the command

Code: Select all

INK 1
and don't get an error, you have the color ROM.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
Erm
Posts: 81
Joined: Thu Jun 20, 2019 7:07 pm

Re: Print Peeks to determine ROM version?

Post by Erm » Sat Nov 30, 2019 7:09 pm

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).

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb » Sat Nov 30, 2019 7:14 pm

You can have 3.
  • Lambda ROM first version without color commands
  • Lambda ROM second version with color commands
  • ZX81 compatible ROM for Lambda
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb » Sat Nov 30, 2019 7:15 pm

You could also try one of the Russian ROMs with READ, DATA, RESTORE, but I have no documentation for them.
Martin
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
mrtinb
Posts: 1125
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Print Peeks to determine ROM version?

Post by mrtinb » Sat Nov 30, 2019 7:20 pm

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
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube

User avatar
Erm
Posts: 81
Joined: Thu Jun 20, 2019 7:07 pm

Re: Print Peeks to determine ROM version?

Post by Erm » Sat Nov 30, 2019 8:50 pm

Excellent, thanks.
I'm Chris, a Brit in Germany (Chr$ on the QL forum).

Post Reply