[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applesoft BASIC PRINTs 7 bit data?



It seems that even though when I set the //c port for 9600,N,8,1 
Applesoft actually PRINTs 7 bit data through the Super Serial Card. 
Could this be right? When I read the PRINTed data onscreen in a PC 
terminal program (I've tried several) the Apple's output shows as 
garbage unless I reset the PC to 7 data bits. How can this be, when 
printers set at 8 data bits take the output fine?

A solution has been suggested by several people, basically to output the 
data to the Super Serial Card through machine language, since the 
problem is created by Applesoft BASIC. This is stated as if the 
implementation is obvious.

I know how to read the output string one character at a time in BASIC 
and I know in general how to imbed a ML routine within the Applesoft 
BASIC program. So I could feed one output character at a time into a ML 
routine and call it, but the actual ML code to send that to the port is 
beyond me. Is there an existing routine around that would take single 
characters or longer strings and send them to the port, bypassing 
Applesoft BASIC's PRINT command? I don't suppose it's as simple as 
POKEing an ASCII value somewhere and toggling something?

Any other thoughts on how to get Applesoft to PRINT 8 bit?

Any leads or hints would be greatly appreciated.