breakintoprogram / agon-bbc-basic-adl

Official AGON QUARK Firmware: BASIC Interpreter (ADL version)
zlib License
16 stars 0 forks source link

EXEC AUTOEXEC.TXT Doesn't allow run ./PROGRAM.BAS at startup #7

Closed eightbitswide closed 11 months ago

eightbitswide commented 11 months ago

My AUTOEXEC.TXT is not working after replacing BBCBASIC.BIN with BBCBASIC24.BIN .

BASIC appears to load correctly and display it's message, but the "run . /AUTOEXEC.BAS' is no longer executed. Is there a new way to do this in BBCBASIC24 or is this a bug?

Thanks!

breakintoprogram commented 11 months ago

This may be a bug. Does autoexec.bas run correctly if you load and run it from within BASIC?

eightbitswide commented 11 months ago

This may be a bug. Does autoexec.bas run correctly if you load and run it from within BASIC?

Yes, if I LOAD "AUTOEXEC.BAS" after loading it loads and runs just fine.

breakintoprogram commented 11 months ago

Okay, that's probably a regression. It was working at one point. Should be an easy fix.

breakintoprogram commented 11 months ago

Bug was a regression caused by an over-enthusiastic RAM clear after the filename had been copied to the string accumulator.