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?
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
Awesome, thanks James!
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 (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.
and here's another version that takes a rom dump, modifies the serial, and dumps out the modified ROM with only serial changes.
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!
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!
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!
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.
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!