
In parts 1 and 2, I discussed the important parts of what is going on the PC side with lua. While not 110% detailed I hope it gave you an idea on how the data is processed so the Apple II computer could quickly digest it. Now its time to see what happens at the other end of the serial cable. I am using basic, but its not 100% off the rom Applesoft basic, that would be even slower, so I am using a compiler and a fast graphics driver. Both are from “The Beagle Compiler” which was produced by the ever awesome Beagle Bro’s software company, and though still under copyright, the publishers have given permission for use of their software (within reason I don’t think you will get very far selling it).
Beagle Compiler does not crunch down to machine code like others, so it has a bit of overhead, but I choose it because it has some interesting add-ons like fast hplot (quick drawing), input anything (by default basic will only accept alphanumeric input), and memory drivers for 128K or more machines, all I thought I might need. The final version does not need extra input because all data being sent to the computer is alphanumeric, but I did use fast hplot, which doubles the speed that the computer can draw individual pixels, and one of the memory managers.
On the disk there are 2 COM programs, which are compiled basic scripts, one is STARTUP the other is CLIENT.* STARTUP is the first program prodos run when you start a disk and it just does some basic startup tasks.
REM LOAD THE FAST GRAPHICS ROUTINE 11 PRINT CHR$(4)"BLOAD FAST.HPLOT" REM YAP 12 HOME:VTAB 3 13 PRINT " Please type in IN#n (where n = the ssc" 14 PRINT " slot number, then hold control hit A, " 15 PRINT " and type in 7B (600 baud) at the SSC" 16 PRINT " or ? prompt."



Line 12 clears the Apples current text screen and puts the prompt at the top of the screen, VTAB 3 just bumps the cursor down 3 lines.
Then we have some instructions, this could / should be able to be done automatically, and I remember doing it as a kid with my apple IIe, but no matter what I tried on my current //c I could not get the darn serial port set up via script. I figured if I did ever get it to work, it would be so funky that no other Apple’s would automatically set the serial port, so you have to do it manually.
Next, and more importantly is the CLIENT program
REM STARTUP 0-6 REM ENTER HIGH RES PAGE ONE AND TURN OFF THE 4 LINE TEXT DISPLAY REM PAGE 2, NORMALLY FULL SCREEN, IS OCCUPIED AND I DONT FEEL REM LIKE MESSING WITH MOVING STUFF AROUND IN MEMORY 0 HGR

