A 'retro' BASIC 'system'
#6
Can't I/O ports be used for this sort of thing?

But there's a big catch. Must use 16-bit compiler like BASCOM or Microsoft BASIC, or a competing product like Power BASIC. QB64's authors only cared about catching manipulations of the EGA "bit planes" and a couple other things. They are emulated because M$ changed everything in WindowsXP 32-bit, threw out the ports system, and also disallowed access to the ancient BIOS and MS-DOS interrupts.

What I figure is, use the I/O port to read the status. If one is extra sure there is data waiting, then use INPUT$(). (shrugs)

I should have studied better what was going on with RS-232 and other stuff with serial and parallel ports way back then.
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: 4 Guest(s)