News:

2022.06.03 added links to LisaList1 and LisaFAQ to the General Category

Main Menu

Finally, a serial file transfer app for Lisa Workshop

Started by TorZidan, Today at 08:25:57 PM

Previous topic - Next topic

TorZidan


Finally, a serial file transfer app for Lisa Workshop 3.0.
I've been itching to write this for a long time, but the use of Pascal was a stopper. AI finally comes to the rescue.

Find it at https://github.com/TorZidan/LisaSerialFtp . Both a floppy disk image and a ProFile disk image with the tool on them are available there. The source code is, too.

All user interaction happens in the client app; the python-based server just runs on your PC. Reason for this choice: you can integrate the client app in a Workshop macro file that downloads, compiles and links your app, all with just one command (example is included in the sources).

It has everything you may want from such app: CRC checks, retries (re-sending of failed chunks of data), supports both binary and text file downloads and uploads, does new-line conversion to-and-from Lisa style \r lines, can do baud rate negotiation, can list and delete local and server files, and more.

Works well with LisaEm over a PseudoTTY connection, as well as with real Lisa over a serial cable. Curious if it will work with LisaFPGA.

Achieves a 3 KB download speed on a real Lisa and 54KB/s in LisaEm. Sounds puny in today's terabyte measurements, but is well suitable for pushing your code to the Lisa.

Written with help from Qwen AI running on my video card and from Claude AI. Impressively, Claude was able to rewrite the slow, CPU-intensive parts of the Pascal code (such as CRC-16 calculation) in 68k CPU assembly, and the code worked from the very first try.

Feedback is wanted and welcome. Enjoy.