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.
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.