LisaEm 2.0.0 released - anyone tried importing LOS source under emulation?

Started by coffeemuse, Today at 12:23:49 PM

Previous topic - Next topic

coffeemuse

First off, congratulations to the LisaEm team on the 2.0.0 release! For anyone who hasn't seen it yet: https://github.com/arcanebyte/lisaem/releases/tag/2.0.0

This got me thinking about Alex's incredible work compiling LOS from source. I've been wanting to try it myself, but I don't have access to real Lisa hardware—so a LisaEm-only workflow is my only path forward at present. The challenge is getting the source files onto a Workshop disk image in the first place. Alex mentioned in the thread that he transferred everything one file at a time over serial on real hardware, which obviously isn't an option for me.

I'm curious: has anyone successfully imported the LOS source files onto Alex's starter image using LisaEm? I've attempted to set up an emulated serial port between the host and the emulated Lisa in the past, but I was never able to get communication working.

The 2.0.0 release notes mention improved Pseudo TTY serial port functionality and better documentation for both "Shell" and "Pseudo TTY" modes, which sounds promising. Has anyone had a chance to experiment with this yet?

Also, a related question: is Alex's glue.c patch still needed with LisaEm 2.0.0, or has that been addressed upstream?

Would love to hear if anyone has figured out an emulator-only workflow. Thanks!

AlexTheCat123

Quote from: coffeemuse on Today at 12:23:49 PMThe 2.0.0 release notes mention improved Pseudo TTY serial port functionality and better documentation for both "Shell" and "Pseudo TTY" modes, which sounds promising. Has anyone had a chance to experiment with this yet?

No, I haven't messed around with this yet, but I'll let you know if/when I do! I honestly didn't know LisaEm 2.0 had even been released until you posted this...

Quote from: coffeemuse on Today at 12:23:49 PMAlso, a related question: is Alex's glue.c patch still needed with LisaEm 2.0.0, or has that been addressed upstream?

It looks like LisaEm is still determining what OS is running using some "magic bytes" and setting the mouse scaling accordingly. So yeah, I think glue.c is still going to be needed. Luckily, it looks like the file hasn't been updated in 10 months, so my patched version should still work in the 2.0 release.

Quote from: coffeemuse on Today at 12:23:49 PMWould love to hear if anyone has figured out an emulator-only workflow. Thanks!

Aside from transferring over all the files, everything else can be done in LisaEm, so you should be perfectly fine once you get over that hurdle. I tried to do all the compilation work on actual hardware to be fully authentic (even though it took forever), but there were a few cases where I had to "cheat" and break out LisaEm to do some useful things like examining RAM dumps and tracelogs, and I can confirm that it all works!

coffeemuse

Quote from: AlexTheCat123 on Today at 04:10:44 PM
Quote from: coffeemuse on Today at 12:23:49 PMAlso, a related question: is Alex's glue.c patch still needed with LisaEm 2.0.0, or has that been addressed upstream?

It looks like LisaEm is still determining what OS is running using some "magic bytes" and setting the mouse scaling accordingly. So yeah, I think glue.c is still going to be needed. Luckily, it looks like the file hasn't been updated in 10 months, so my patched version should still work in the 2.0 release.

Quote from: coffeemuse on Today at 12:23:49 PMWould love to hear if anyone has figured out an emulator-only workflow. Thanks!

Aside from transferring over all the files, everything else can be done in LisaEm, so you should be perfectly fine once you get over that hurdle. I tried to do all the compilation work on actual hardware to be fully authentic (even though it took forever), but there were a few cases where I had to "cheat" and break out LisaEm to do some useful things like examining RAM dumps and tracelogs, and I can confirm that it all works!


Thanks for the quick response, Alex! Good to know the glue.c patch should still work with LisaEm 2.0.0.

I'll experiment a bit more with the new release and report back if I make any progress. Fingers crossed!