News:

2022.06.03 added links to LisaList1 and LisaFAQ to the General Category

Main Menu

Does anyone have a dump of the "magic" serial number 0 VSROM?

Started by AlexTheCat123, December 10, 2025, 02:52:16 PM

Previous topic - Next topic

AlexTheCat123

For the sake of people never having to worry about serialization, I'd like to include the SN 0 VSROM in the LisaFPGA project instead of the random one I'm using from Bitsavers right now. I know I could patch an existing ROM to change its serial number, but the SN retrieval algorithm hurts my head and I don't really feel like trying to figure out how to do that. So before I go down that rabbit hole, does anyone just already have a dump of the SN 0 VSROM that they'd be willing to share?

jamesdenton

Quote from: AlexTheCat123 on December 10, 2025, 02:52:16 PMFor the sake of people never having to worry about serialization, I'd like to include the SN 0 VSROM in the LisaFPGA project instead of the random one I'm using from Bitsavers right now. I know I could patch an existing ROM to change its serial number, but the SN retrieval algorithm hurts my head and I don't really feel like trying to figure out how to do that. So before I go down that rabbit hole, does anyone just already have a dump of the SN 0 VSROM that they'd be willing to share?


I think I have this, let me get home and I'll check my file stash. I worked on this with Ray some time back and came up with a burnable rom file.

James

AlexTheCat123


jamesdenton

I had written a python script at some point to do this, but Ray put it together in C and it's available here:

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

I haven't tested that one, and will continue to dig around for the .py or the .bin tucked away somewhere.

jamesdenton

and here's another version that takes a rom dump, modifies the serial, and dumps out the modified ROM with only serial changes.

AlexTheCat123

Oh wow, that's even better than what I was asking for! I already started this synthesis run with the old ROM, but I'll be trying out these tools to make a new ROM on the next run.

Thanks again!

AlexTheCat123

I tried the C program and the Lisa reports a serial number of 1 instead of 0. So I'll try the other one you attached now and see if I have any better luck with it!

AlexTheCat123

Do you have a dump of an actual known-working SN 0 ROM? Both of these tools produce ROMs that report SN 1 in LOS and give a video circuit error 42 on boot for some reason. It's pretty weird!

jamesdenton

Quote from: AlexTheCat123 on December 11, 2025, 12:37:28 PMDo you have a dump of an actual known-working SN 0 ROM? Both of these tools produce ROMs that report SN 1 in LOS and give a video circuit error 42 on boot for some reason. It's pretty weird!

Couldn't find the correct copy of the program used to make it, but I did come across the VSROM itself on an I/O board and ripped it to a file. The output of this one looks a little different:

Service Mode Display:

240 Serial #: 0F0F 0000 0000 0000 0000 0000 0000 0000
260 AppleNet: 0F0F 0000 0000 0000 0000 0000 0000 0000

Serial Number of this Lisa (BLU format)

    XXLLYYDD DUUUUXXX
    FF000000 000000FF

    PPPNNNNN XXXXXXXX
    00000000 0000FFFF

X    - Unused/Unknown      LL    - Plant Location
YY   - Year manufactured   DDD   - Day of Year
UUUU - Unit Number
PPP  - AppleNet Prefix     NNNNN - AppleNet ID

Attached is a screenshot from the Lisa itself. I don't have a working floppy on this one, so i couldn't check from BLU. Lemme know how it goes.


AlexTheCat123

Thanks James, I'll be trying that out as soon as I can. I'm trying to get the clock speed switching working right now and I'm having some serious problems getting place-and-route to succeed with the changes I made, so I won't have an answer about the VSROM until I get those problems figured out!