[Coco] Serial I/O / Printer port - “printer ready”, etc.

Allen Huffman alsplace at pobox.com
Sat Mar 10 13:29:35 EST 2018


> When I put a PRINT PEEK(&HFF22) AND 1 into an infinite loop, I could see
> that turning on and off the printer would affect this bit, as would the use
> of the on-line button.  0 was on and on-line, 1 was off or off-line.

Next question …

Printers typically has some kind of line buffer. Maybe it was 80 characters.

Was the halting done on a byte-by-bye basis? For example, if I printed a string of 128 characters, would it let the first 80 go out, then halt until it caught up, then toggle to let byte 81 go out, then halt, etc.?

I’m not sure how to test this one.

The Color BASIC Unravelled book looks like it is doing a hold after each character sent, so I think it would work like this.

Thanks!

		— Allen


More information about the Coco mailing list