You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On boot I was ending up in the MOS prompt rather than BASIC, which I was somewhat mystified by.
It turns out there are two errors in this file. The first being that it should be LOAD bbcbasic.bin, and making that change landed me in BASIC. The second error is that I don't actually have a test directory on my SD card, so the CD command was also failing silently.
It would be good if errors in the autoexec.txt file could be surfaced.
Ideally if we handled autoexec.txt in a manner similar to how MS DOS dealt with autoexec.bat files, i.e. by passing the contents thru the command line, rather than executing directly, then we would expose both the commands being processed as well as any errors that may have occurred.
The text was updated successfully, but these errors were encountered:
Hi, thanks for the suggestion. The autoexec.txt files do currently execute their commands by passing each line through the command line. Not handling errors and not echoing the details on screen are deliberate. I could modify the code by adding a command to turn echo on and off, and always failing on errors.
My autoexec.txt file is simple, reading thus:
On boot I was ending up in the MOS prompt rather than BASIC, which I was somewhat mystified by.
It turns out there are two errors in this file. The first being that it should be
LOAD bbcbasic.bin
, and making that change landed me in BASIC. The second error is that I don't actually have atest
directory on my SD card, so theCD
command was also failing silently.It would be good if errors in the autoexec.txt file could be surfaced.
Ideally if we handled
autoexec.txt
in a manner similar to how MS DOS dealt withautoexec.bat
files, i.e. by passing the contents thru the command line, rather than executing directly, then we would expose both the commands being processed as well as any errors that may have occurred.The text was updated successfully, but these errors were encountered: