AgonConsole8 / agon-mos

Official AGON QUARK Firmware for Console8: eZ80 MOS
MIT License
25 stars 10 forks source link

Enhanced *EXEC #18

Open stevesims opened 10 months ago

stevesims commented 10 months ago

Back in the mists of time, it was possible on a BBC Micro to *EXEC a text file in BASIC to load in that file. This was essentially the only way to implement libraries on the Beeb.

Our current *EXEC implementation doesn't support this mode of operation, as it passes file contents directly to the MOS command line interpreter.

We should consider whether it's possible to change the implementation of *EXEC so that it is compatible with BASIC, and potentially other language CLIs too.

One possibility is that instead of passing file contents directly to MOS it instead interprets the file contents as effectively key presses. This needs some more thought and investigation.