Reading a Serial/AppleNet from the VSROM?

Started by blusnowkitty, June 19, 2021, 04:38:40 PM

Previous topic - Next topic

blusnowkitty

So I found a few dumps of some VSROMs on a Bitsavers mirror over here: http://bitsavers.informatik.uni-stuttgart.de/bits/Apple/Lisa/firmware/video/

Is there any way to pull the serial and AppleNet info out of these dumps that doesn't involve tracking down a rare old PROM burner and some NOS 6309s?
You haven't lived until you've heard the sound of a Sony 400k drive.

rayarachelian

So, to paraphrase Krombopulos Michael "Oh boy, here I go coding again! I just love codin'"
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

jamesdenton

FWIW, the TopMax family can now write to 28L22's, which is a substitute for the 6309. I got a bunch on utsource not long ago. I've got a Python script somewhere that can write a 'master' rom with all 0's for serial and Applenet, and probably wouldn't take much to write whatever serial/applenet you want, if it's helpful to you.

SuigintouLain

I have a weird one:

240 Serial #: 0f0f 0001 0802 0308 0000 0001 0600 0000
260 AppleNet: 0f0f 0000 0000 0005 0706 0004 0700 0000

Am I reading date "380"?

rayarachelian

#4
Quote from: SuigintouLain on June 19, 2021, 10:47:17 PM
I have a weird one:

240 Serial #: 0f0f 0001 0802 0308 0000 0001 0600 0000
260 AppleNet: 0f0f 0000 0000 0005 0706 0004 0700 0000

Am I reading date "380"?

I wonder, what does the label on your Lisa say? Or was this just a VSROM outside of a Lisa? Does it match what Service Mode shows?

I wrote this code blind, I don't have a VSROM dump from a known Lisa, would need to know what shows up in Service Mode for a specific dump. However as I saw the numbers from bitsavers on the file names match and also saw "82" or "83" they looked reasonable. The last bytes should be 0f0f, but not sure if the Lisa Boot ROM adds those back in or if they should be in the VSROM, etc.

Thanks (and welcome to LisaList) :)
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

SuigintouLain

Quote from: rayarachelian on June 20, 2021, 09:20:00 AM
Quote from: SuigintouLain on June 19, 2021, 10:47:17 PM
I have a weird one:

240 Serial #: 0f0f 0001 0802 0308 0000 0001 0600 0000
260 AppleNet: 0f0f 0000 0000 0005 0706 0004 0700 0000

Am I reading date "380"?

I wonder, what does the label on your Lisa say? Or was this just a VSROM outside of a Lisa? Does it match what Service Mode shows?

I wrote this code blind, I don't have a VSROM dump from a known Lisa, would need to know what shows up in Service Mode for a specific dump. However as I saw the numbers from bitsavers on the file names match and also saw "82" or "83" they looked reasonable. The last bytes should be 0f0f, but not sure if the Lisa Boot ROM adds those back in or if they should be in the VSROM, etc.

Thanks (and welcome to LisaList) :)

No label, completely unknown. It's just passing through my hands, thought I'd take the chance to dump the ROMs. Maybe the date code is shifted to the right one nibble? 038 might be more correct.

rayarachelian

Quote from: SuigintouLain on June 20, 2021, 06:42:48 PM
No label, completely unknown. It's just passing through my hands, thought I'd take the chance to dump the ROMs. Maybe the date code is shifted to the right one nibble? 038 might be more correct.

Totally possible. If I had a few examples of dumped ROMs + screenshots of Service Mode showing a memory display from 240-280, that would be very helpful in verifying/fixing the code.
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

blusnowkitty

Thanks Ray! I've actually got a contact that I think may  have  the correct  PROM burner to burn new VSROMs. Next time I go over there I'll go double-check and pick it up if it is, burn a couple of the Bitsavers ROMs and throw them in my Lisa.

Quote from: SuigintouLain on June 19, 2021, 10:47:17 PM
I have a weird one:

240 Serial #: 0f0f 0001 0802 0308 0000 0001 0600 0000
260 AppleNet: 0f0f 0000 0000 0005 0706 0004 0700 0000

Am I reading date "380"?

That's a weird Applenet, I've never seen a 0 prefix before...
You haven't lived until you've heard the sound of a Sony 400k drive.

rayarachelian

Quote from: blusnowkitty on July 10, 2021, 02:26:55 PM
Thanks Ray! I've actually got a contact that I think may  have  the correct  PROM burner to burn new VSROMs. Next time I go over there I'll go double-check and pick it up if it is, burn a couple of the Bitsavers ROMs and throw them in my Lisa.

Sounds good, so I'd need a matching set - so the same VSROM dumped in binary form, all 256 bytes just like the ones on bitsavers, and then a screenshot of service mode with display memory in hex from 240-280.

Alternatively if you notice the program attached here works just let me know it's good.
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

iJol

Quote from: jamesdenton on June 19, 2021, 09:51:32 PM
FWIW, the TopMax family can now write to 28L22's, which is a substitute for the 6309. I got a bunch on utsource not long ago. I've got a Python script somewhere that can write a 'master' rom with all 0's for serial and Applenet, and probably wouldn't take much to write whatever serial/applenet you want, if it's helpful to you.

Hey,

you still have that program? I have a Mac XL without serial number (the label isn't readable anymore) which I want to get back to a Lisa 2/10.

Regards from Germany,
Julian

rayarachelian

Quote from: iJol on November 25, 2022, 05:21:10 AM
you still have that program? I have a Mac XL without serial number (the label isn't readable anymore) which I want to get back to a Lisa 2/10.

Regards from Germany,
Julian

see: https://github.com/rayarachelian/lisaem/blob/livedev/src/tools/src/mkvsrom.c

You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code