Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A 'retro' BASIC 'system'
#8
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!
Reply


Messages In This Thread
A 'retro' BASIC 'system' - by Michelle - 08-12-2023, 08:52 PM
RE: A 'retro' BASIC 'system' - by CharlieJV - 08-12-2023, 08:59 PM
RE: A 'retro' BASIC 'system' - by TerryRitchie - 08-12-2023, 09:45 PM
RE: A 'retro' BASIC 'system' - by mnrvovrfc - 08-12-2023, 10:15 PM
RE: A 'retro' BASIC 'system' - by Michelle - 08-13-2023, 02:54 AM
RE: A 'retro' BASIC 'system' - by mnrvovrfc - 08-13-2023, 07:08 AM
RE: A 'retro' BASIC 'system' - by Michelle - 08-13-2023, 12:59 PM
RE: A 'retro' BASIC 'system' - by Michelle - 08-13-2023, 05:43 PM
RE: A 'retro' BASIC 'system' - by Michelle - 08-14-2023, 05:37 PM
RE: A 'retro' BASIC 'system' - by mnrvovrfc - 08-14-2023, 06:13 PM
RE: A 'retro' BASIC 'system' - by TerryRitchie - 08-14-2023, 06:57 PM
RE: A 'retro' BASIC 'system' - by Michelle - 08-27-2023, 12:52 PM



Users browsing this thread: 1 Guest(s)