Picomite/PicoMiteVGA V5.07.05 release candidates


Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4048
Posted: 08:32am 30 Sep 2022      

Kudos to Jim for identifying the cause by inspection, minimal example to reproduce:

PicoMiteVGA MMBasic Version 5.07.05RC3
Copyright 2011-2022 Geoff Graham
Copyright 2016-2022 Peter Mather

> load "bug.bas"
> list
Option Break 4
On Key 3, break_interrupt
Do : Loop

Sub break_interrupt()
 End
End Sub
> run "bug.bas"


Press CTRL-C

> xmodem receive "some_file.bas"


From TeraTerm: [Transfer->XMODEM->Send...] "non-trivial-file.bas"

The PicoMite{VGA} hangs and must be reset.

The fix within the program appears to be to clear the interrupt:

Sub break_interrupt()
 On Key 3, 0
 End
End Sub


It is not sufficient/necessary to restore OPTION BREAK.

Best wishes,

Tom
Edited 2022-09-30 18:32 by thwill