Domesday
2010
Serial



We were using the cheat's method, remember? Pretending the laserdisc player was a printer, and all that!

Well, just to prove that I know how to do it properly, here's how to communicate via RS423 using the RS423 port as a serial port. For transmitting, we use OSBYTE 138 with 2 for the serial output buffer, and for receiving OSBYTE 145 is used. Because we need to read the result of OSBYTE 145, we can't use the FX call, so we have to do a bit of jiggery-pokery to mask off the Y register, where the received character is stored.



Click here to return to Domesday 2010 Serial Communications