General Category > Building LOS From Source
Moving the many source files to the Lisa
AlexTheCat123:
Okay, the new version of the transmitter program and the disk image that preserves the high bit is now on Github, along with a script called patch_files.py that applies all the necessary patches to the source files. So after running patch_files.py on your copy of the code and running the transfer script to copy it all over to the Lisa, it should theoretically build without any additional effort.
I've manually verified that all the patches get applied properly, but I haven't had the chance to do a full transfer of all the source files to make sure that no bugs pop up during the transfer or build. But I just started a full transfer about 10 minutes ago, so hopefully I'll have some answers in about 30-35 hours.
sigma7:
--- Quote from: AlexTheCat123 on July 27, 2025, 03:31:54 pm ---... the disk image that preserves the high bit is now on Github ...
--- End quote ---
For those that want to use the disk image with an X/ProFile, see Topic: XProFile convert ProFile disk image Tool
For those that want to use the disk image with LisaEm, I think someone reported that libdc42 was able to convert it to a DC42 image for use with LisaEM (can't find the post... am looking).
Other emulators may just need the image file moved to their media; (if other instructions are needed, let me know and I'll add a pointer here).
TorZidan:
--- Quote from: sigma7 on July 28, 2025, 06:57:01 pm ---I think someone reported that libdc42 was able to convert it to a DC42 image for use with LisaEM (can't find the post... am looking)
--- End quote ---
That was probably me.
You can use the LisaEm raw-to-dc42 command-line tool to convert a raw "profile.image" file to dc42 format, for use in LisaEm. Once you compile LisaEm, the executable is in bin/tools/raw-to-dc42, and the source code is here: https://github.com/arcanebyte/lisaem/blob/master/src/tools/src/raw-to-dc42.c
AlexTheCat123:
--- Quote from: sigma7 on July 28, 2025, 06:57:01 pm ---For those that want to use the disk image with LisaEm, I think someone reported that libdc42 was able to convert it to a DC42 image for use with LisaEM (can't find the post... am looking).
Other emulators may just need the image file moved to their media; (if other instructions are needed, let me know and I'll add a pointer here).
--- End quote ---
Note that I've never been able to get the serial ports working in LisaEm (things always hang for me whenever I try to access them), so unless I'm just doing something wrong, then LisaEm might only be an option after you've used an actual Lisa to transfer all the code over. But I can confirm that LisaEm is completely capable of compiling everything without issue; I actually used it for some really tricky debugging of the OS at one point, and then moved back over to actual hardware once that was done.
The disk image that I provided will work on ESProFile, Cameo/Aphid, and ArduinoFile simply by copying it over to your SD card, and it looks like we have a good solution for X/ProFile now too. Unless I'm forgetting one, I guess the only emulator that's left is IDEFile, although I'm not sure about what sort of disk format it uses or whether it supports images of arbitrary sizes.
My test transfer of all the source code is still going strong (with one minor bug where it incorrectly named LIBQD/TEXT.TEXT as LIBQD.TEXT.TEXT), and I'll be able to try and compile all the newly-copied and patched stuff and report back on the success or failure of that at some point tomorrow. It's looking like our average transfer speed is going to be about 171 CPS, which puts the total transfer time at 34 hours. A decent bit of time, but not too bad given that it's completely automatic!
AlexTheCat123:
Alright, the transfer ended up taking 34 hours as predicted, but I've had a few issues now that I've tried to compile everything. Mostly just minor stuff relating to my build scripts not taking into account a few dependencies from really early on in my efforts (which I didn't notice until trying to do a clean build now), but I'm fixing those and recompiling as I type this. The biggest problem is that I somehow forgot to put the patches for LisaGuide into the patch program, so I had to spend a few hours putting those in there.
Since I'm still working out these couple issues, I'd suggest not trying to do a transfer of your own until I get them resolved! Which shouldn't be any later than tomorrow.
Sorry for the slight delay!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version