Gold Card / Super Gold Card ROM patching...

Nagging hardware related question? Post here!
User avatar
Pr0f
Over Heated PSU
Posts: 138
Joined: Thu Oct 12, 2017 9:54 am

Re: Gold Card / Super Gold Card ROM patching...

Postby Pr0f » Fri Dec 15, 2017 10:40 pm

Dave wrote:Can't you just make an image of the edited ROM, then compare it against the original? A lot of stuff has to align up still, so it's only going to be simple substitutions of specific locations/vectors etc?


That would be my approach - but sadly I no longer own a Gold Card or Super Gold Card to make that comparison :-(


Dave
SandySuperQDave
Posts: 1554
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: Gold Card / Super Gold Card ROM patching...

Postby Dave » Fri Dec 15, 2017 10:52 pm

I'm sure there are a LOT of people here who could help you.

Expect 48K images to be posted here from GC and SGC over the next couple of days by helpful QLers.


User avatar
janbredenbeek
Trump Card
Posts: 200
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Gold Card / Super Gold Card ROM patching...

Postby janbredenbeek » Fri Dec 15, 2017 11:14 pm

I have a ROM image of the GC 2.24 (taken from the ROM itself which is 64K with some gaps). I can post it if you like.

regards, Jan.


User avatar
Pr0f
Over Heated PSU
Posts: 138
Joined: Thu Oct 12, 2017 9:54 am

Re: Gold Card / Super Gold Card ROM patching...

Postby Pr0f » Fri Dec 15, 2017 11:22 pm

janbredenbeek wrote:I have a ROM image of the GC 2.24 (taken from the ROM itself which is 64K with some gaps). I can post it if you like.

regards, Jan.


Hi Jan,

Thanks - I think what I am looking for is an image of the first 48K of RAM in the GC / SGC after the 2nd reboot, i.e. after the ROM image has been copied and patched, and then I can just compare against the original ROM image to see what was changed / patched. I have a sneaky suspicion it's not heavily modified based on the fact that the ROM in the GC / SGC also hosts TK2 and the drivers for the devices that are present on the cards themselves.

It's part curiosity (look out for the dead felines), and part wondering how modified an original QL would still work with either of the Miracle cards....


User avatar
M68008
ROM Dongle
Posts: 43
Joined: Sat Jan 29, 2011 1:55 am
Contact:

Re: Gold Card / Super Gold Card ROM patching...

Postby M68008 » Sat Dec 16, 2017 4:43 am

From memory of looking at the GC code long ago, it has a different table of patches for each version of the QDOS ROM. While SMSQ/E replaces QDOS, the GC uses the original (but patched) ROM, so it needs to apply many patches. I didn't look into all of them, but some replaced timing-related code (the GC/SGC CPU runs much faster than the original 68008) like microdrive access, others added support for larger RAM and still others looked like fixes of QDOS bugs. Some (or all?) of the patches are jumps into the GC/SGC's own ROM.


User avatar
Pr0f
Over Heated PSU
Posts: 138
Joined: Thu Oct 12, 2017 9:54 am

Re: Gold Card / Super Gold Card ROM patching...

Postby Pr0f » Sat Dec 16, 2017 4:57 pm

In the Qemulator, does the Gold Card option effectively mimic this behaviour ?

Meaning a saved copy of the lower 48K would effectively tell me what got changed?

Perhaps I found a Gold card after all :-)


User avatar
janbredenbeek
Trump Card
Posts: 200
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Gold Card / Super Gold Card ROM patching...

Postby janbredenbeek » Sat Dec 16, 2017 10:15 pm

Here is the original Minerva 1.97 ROM binary:

https://files.bredenbeek.net/s/4AmJAVUzH6vEHOZ

And here the Minerva 1.97 ROM modified by the Gold Card v2.24:

https://files.bredenbeek.net/s/mFaU12DRiAqfx5U

I'm not sure if it's OK to post a link to the Gold Card ROM - AFAIK it's still copyrighted software. But at least you can see the ROM patches now.

Jan.


User avatar
Pr0f
Over Heated PSU
Posts: 138
Joined: Thu Oct 12, 2017 9:54 am

Re: Gold Card / Super Gold Card ROM patching...

Postby Pr0f » Sat Dec 16, 2017 10:59 pm

Many thanks Jan - that should help quite a lot with working out what routines the Gold Card patches in the ROM :-)

I have a Gold card ROM image somewhere, I'm sure of it.


User avatar
M68008
ROM Dongle
Posts: 43
Joined: Sat Jan 29, 2011 1:55 am
Contact:

Re: Gold Card / Super Gold Card ROM patching...

Postby M68008 » Sun Dec 17, 2017 6:31 am

Pr0f wrote:In the Qemulator, does the Gold Card option effectively mimic this behaviour ?


It doesn't. Q-emulator only emulates a little bit of the Gold Card hardware, just enough to enable the GC version of SMSQ/e to run.


User avatar
Peter
Gold Card
Posts: 486
Joined: Sat Jan 22, 2011 8:47 am

Re: Gold Card / Super Gold Card ROM patching...

Postby Peter » Sun Dec 17, 2017 9:42 pm

janbredenbeek wrote:I'm not sure if it's OK to post a link to the Gold Card ROM - AFAIK it's still copyrighted software.

How about the recent GoldCard clones then?



Return to “Hardware”

Who is online

Users browsing this forum: No registered users and 2 guests