-
Notifications
You must be signed in to change notification settings - Fork 20
Unable to load files in FB.COM after modifying editor colors #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I expected that would be the case. If you were able to easily reproduce the issue, you would probably encounter it every single time you made changes to the editor. I'll start by confirming that I am, indeed, using the full ATR in all test instances. Here is a video demonstrating the issue: Screencast.from.04-20-2025.01.37.59.PM.webmI suspect this boils down to toolchain differences. All I've done is install
Can you list your versions so I can try to match them and see if that resolves this? |
I have not tested, but I think the problem is in dual @ in |
Hi! The problem is visible in your video, while changing the editor.bas file, your editor replaced the $9C and $9D characters (that are invalid UTF-8 codes) with the "missing character" UTF-8. I changed the code to use a more compatible syntax to avoid this problem. Have Fun! |
Hi!
Two Have Fun! |
I didn't even catch that. I applied your change and that solved my problem. Thank you for the help, @dmsc! |
Summary
I am encountering the oddest issue. What I'm trying to do is very simple, on the face of it: just modify the editor colors to white-on-black instead of the Atari default light-grey-on-blue. I was able to track that down in the source code to this section:
fastbasic/src/editor.bas
Lines 654 to 659 in 55dc52f
The change I'm making is incredibly small, simply adding two
setcolor
statements to theInitScreen
procedure to end up with:It compiles without issue and, when loaded up in either an emulator or on real hardware, the colors work as expected.
But I can't load files from any device. The initial HELP.TXT file is loaded on start, but attempting to load any other file - even the same HELP.TXT file - results in
130 I/O ERROR
.For a sanity check, I did a hard reset to
HEAD
a clean make. The resulting ATR andFB.COM
binary is able to load files without issue. It's only when I modify thateditor.bas
file that I encounter this problem.I'm not sure if I'm doing something wrong here, or if this is a bug, or a problem with my toolchain. Any guidance this community can offer me would be awesome.
Reproduction Steps
src/editor.bas
and insertsetcolor 1,0,14:setcolor 2,0,0
into theInitScreen
procedure.fastbasic.atr
in either an emulator or on hardware.FB.COM
.D:HELP.TXT
.Dev Environment
OS: Ubuntu 24.04 derivative (Pop!_OS)
Run Environment
Emulator: Atari800 v4.2.0
Hardware: Atari 800XL w/U1MB (SpartaDOS X 4.49)
The text was updated successfully, but these errors were encountered: