PicoMite serial Input


Author Message
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4352
Posted: 07:40pm 06 Jan 2025      

  Mark said  If I switch to the version of the program using X$ = Input(20,_fileno%), I still see data on GP1 when I type, but the program does respond.

So it seems that the COM serial terminal is sending data, it's just that the program is ignoring it when its during an INPUT.  I believe MMBasic doesn't process interrupts until the command completes. Could it be that the COM port interrupts are being ignored during the INPUT command and thus it's missing characters?

Mark

Are you trying to use INPUT and also get an interrupt on each character?

I suspect that isn't how it works.

John