General Category > Building LOS From Source

Moving the many source files to the Lisa

<< < (4/10) > >>

AlexTheCat123:
While I'm at it, I think I'm going to try and write another Python script that automatically applies all the necessary patches to the source code as well. So stay tuned for any progress on that...

sigma7:

--- Quote from: AlexTheCat123 on July 24, 2025, 03:19:37 pm ---
--- Quote from: sigma7 on July 24, 2025, 01:57:49 pm ---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) ...

--- End quote ---

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?

--- End quote ---

If I upload with -CONSOLE (so characters are echo'd back), I can see that the extended character set is being returned, so it looks like the high bit is making it through the serial driver, but then stripped when saved to disk.

Potential ways to deal with this:

* Fix it in post (on the Lisa end) as originally suggested
* Change the constants from characters in a string to hex values not in a string
* Create an exec file to automate the fixes on the Lisa end
* Patch the runtime softwareThoughts?

stepleton:
Hail Mary: is there a chance that the Concat utility is usable here and better-behaved than Copy?

sigma7:
I tried "translit" to see if it might yield a speed improvement (it didn't), but haven't checked if it or concat is more tolerant of high ascii.

Good news (I think): I've seen a substantial speed boost by setting a larger buffer in portconfig.

It wouldn't accept a value larger than 32767 as valid, and claimed there wasn't enough memory to do that or 16k when asked to commit the new values, but it would do 8192.

I left the low threshold at the default and set the high threshold to 8000. I presume that's the point it toggles the handshake line.

With those settings (and 9600 baud) I saw 600 CPS for small files, but files larger than the buffer still end around 100 CPS.

AlexTheCat123:

--- Quote from: sigma7 on July 24, 2025, 06:10:21 pm ---If I upload with -CONSOLE (so characters are echo'd back), I can see that the extended character set is being returned, so it looks like the high bit is making it through the serial driver, but then stripped when saved to disk.

--- End quote ---

Same here. I'm not super familiar with the inner workings of the 8530 SCC, so I might be completely wrong here, but perhaps the echo is handled in hardware, which is why the characters are echoed just fine, whereas all the software is written to ignore the high bit? Not that the exact reason really matters though.


--- Quote from: stepleton on July 24, 2025, 07:10:33 pm ---Hail Mary: is there a chance that the Concat utility is usable here and better-behaved than Copy?

--- End quote ---

Good idea. I'll try that as soon as I can!


--- Quote from: sigma7 on July 25, 2025, 12:27:04 am ---Good news (I think): I've seen a substantial speed boost by setting a larger buffer in portconfig.

--- End quote ---

Oh wow, that's awesome! I always figured that choosing that option would just cause it to automatically adjust the buffer size, but being able to set it manually is really great. This also led me to discover that handshaking wasn't working properly on my USB to serial adapter, so I think I might be able to get a bit more speed out of my Python program once I get that figured out.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version