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

Possibly Related Threads…
Thread Author Replies Views Last Post
  3D Sun-Earth-Moon System (_MAPTRIANGLE3D) Magdha 8 774 11-11-2025, 10:09 AM
Last Post: Magdha
  new approach to base conversion system and math library Dragoncat 2 595 07-16-2025, 10:19 PM
Last Post: Dragoncat
  The L-BASIC compiler luke 26 5,214 05-22-2024, 10:51 AM
Last Post: luke
  A little Basic D&D character Generator. Cobalt 5 1,247 01-07-2024, 01:52 PM
Last Post: OldMoses
  Retro MMORPG in QB64 commandvom 21 4,338 08-19-2023, 10:51 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)