General Category > Building LOS From Source
Moving the many source files to the Lisa
sigma7:
--- Quote from: stepleton on July 22, 2025, 08:35:03 pm ---If the proposed method doesn't display text on the screen during the transfer, then it may be possible to use a higher baud rate.
...
The Lisa serial port has hardware flow control capability, which may be a bit more dependable.
--- End quote ---
Using the per character echo pacing, I was able to achieve about 39 CPS with what I suspect is high reliability. That would make about 6 days to upload the OS and Apps, but at least it might run unattended.
Instead of using -stdin aka -CONSOLE for the input, one can use -KEYBOARD as the input which doesn't echo the characters and so goes much faster as you say.
Then one has the problem of establishing reliability or at least confidence. Using the leisurely charcount function has potential but is complicated by the fact that apparently the leading spaces on each line in a file are compressed using a DLE character followed by the space count (or something like that). So the character count of a file as uploaded doesn't match the charcount result (which counts the compressed bytes) even when 100% successful.
I do see the hardware handshake toggling when I'm overloading the transfer; so am investigating what the limits are with that.
disclaimer: I'm still pfaffing about, so much of that may be incorrect
AlexTheCat123:
I know I said that I was taking a break from Lisa coding for now, but the more I thought about this, the more I realized that it would actually be a pretty fun project. So I've started work on a Python program using pyserial that will hopefully be pretty nice too.
It's currently capable of transferring a single file at a time, and logs any transmission errors to a text file for future reference. Now I just need to add the ability to do multi-file transfers and polish it up a bit, and it should be done.
The more solutions we have, the better, and this along with James' AppleScript program should be really effective!
sigma7:
--- Quote from: AlexTheCat123 on July 23, 2025, 12:45:23 pm ---...really effective!
--- End quote ---
I've only been able to get a consistent rate of 101 CPS, so I'm thinking a different approach is warranted.
Hopefully you/python can do better!
That's with a prolific chipset USB adapter, I'll look for an FTDI one to try, but I think the bottleneck is the other end.
Still easier than using Transfer and typing filenames in one at a time... respect dude.
sigma7:
Looking through the Alex's directions for source file corrections, it looks to me that these files will not need editing if uploaded with 8 bit characters (Aside from dropping the last character in each file):
--- Code: ---APHP/T12ALERT.TEXT
APLP/T8ALERT.TEXT
APLL/DBCONVERT.TEXT
APLL/T5LM.TEXT
APLT/CONVERT.TEXT
APLT/INIT.TEXT
APLW/T1MENUS.TEXT
APLW/T1ALERT.TEXT
APLD/T4ALERT_MENUS.TEXT
APLC/T3ALERT.TEXT
APLC/LCFILER.TEXT
APLC/APPDIBOX.TEXT
APBG/T2ALERT.TEXT
LIBPR/DWBTN.TEXT
LIBPR/PRALERT.TEXT
LIBQP/UVT100.TEXT
LIBTK/UOBJECT4.TEXT
--- End code ---
APHP/HP.TEXT does need editing to fix the following characters; I think this can be done pre-upload by using these values...
--- Code: ---Diamond: ◊ 0xD7 #215
Divide: ÷ 0xD6 #214
Slash: / 0x2F #47
--- End code ---
AlexTheCat123:
I just updated the repo with a Python script in the scripts directory called lisa_serial_transfer.py and some some new instructions in the Getting the Code Onto Your Lisa section of the readme explaining how to use it. I'm able to get about 60 characters per second out of it, so not as good as James (101 is really impressive!), but still better than what I was initially hoping for. With this script, it'll take a little less than 100 hours to send over all the code.
To make up for the less than optimal transmission rate, it provides detailed status info throughout the transfer, as well as error checking and recovery abilities if the Lisa suddenly stops responding, which seems to happen occasionally if you have a cheap USB to serial adapter.
Let me know if you guys have any problems with it!
--- Quote from: sigma7 on July 24, 2025, 01:57:49 pm ---Looking through the Alex's directions for source file corrections, it looks to me that these files will not need editing if uploaded with 8 bit characters (Aside from dropping the last character in each file):
--- Code: ---APHP/T12ALERT.TEXT
APLP/T8ALERT.TEXT
APLL/DBCONVERT.TEXT
APLL/T5LM.TEXT
APLT/CONVERT.TEXT
APLT/INIT.TEXT
APLW/T1MENUS.TEXT
APLW/T1ALERT.TEXT
APLD/T4ALERT_MENUS.TEXT
APLC/T3ALERT.TEXT
APLC/LCFILER.TEXT
APLC/APPDIBOX.TEXT
APBG/T2ALERT.TEXT
LIBPR/DWBTN.TEXT
LIBPR/PRALERT.TEXT
LIBQP/UVT100.TEXT
LIBTK/UOBJECT4.TEXT
--- End code ---
APHP/HP.TEXT does need editing to fix the following characters; I think this can be done pre-upload by using these values...
--- Code: ---Diamond: ◊ 0xD7 #215
Divide: ÷ 0xD6 #214
Slash: / 0x2F #47
--- End code ---
--- End quote ---
For whatever reason, my program (and any terminal software that I've used for testing) refuses to send 8-bit bytes. Although I'm wondering if it's something on the Lisa end where it just strips the top byte without consulting you at all. Have you experienced the same problem in your testing?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version