08-13-2023, 05:43 PM
After a bit of testing, it appears that doing an INP(1021) for com1 and INP(765) for com2 is probably going to do it. Without any communications to the ports, the baseline value coming from those ports is 96 to indicate both 1 to indicate the transmit side is ready and waiting. If I send a character to the port from my dumb terminal, the value goes to 97 to indicate there is a character in the receive buffer.
With that, I can AND what is in the Line Status Register with '1' and if it is true then go read the actual command being transmitted to the computer. This might just work!
With that, I can AND what is in the Line Status Register with '1' and if it is true then go read the actual command being transmitted to the computer. This might just work!