Now I've got GCBASIC to work under linux I'm having fun with the internal assembler.
Everything goes well (starting from Demos/line.txt) until we get here:
Assembling program ...
Message SYMBOLTABLE not defined in messages.dat!
Message MACHINECODE not defined in messages.dat! 100%
Message ASMSUCCESS not defined in messages.dat!
mick@mick-desktop:~/Desktop/GCBASIC$
These messages don't appear in compiled.asm (which looks fine) and there is no errors.txt file created.
gcbasic.ini has been set up as Hugh's instructions in the previous thread:
...comment out or delete these lines:
Line 17: Assembler = mpasm\mpasmwin
Line 19: AssemblerParams = /c- /o- /q+ /l+ /x- /w1 "%FileName%"
Line 26: Programmer = icprog
Line 27: ProgrammerParams = -l"%FileName%"
And uncomment Line 21, Assembler = GCASM. This will tell GCBASIC to use its internal assembler...
It looks as if this won't stop the system working, but there may be a bit missing from messages.dat!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make GCBASIC easier to translate, all the messages that the compiler can show are in a separate file (messages.dat). When GCBASIC needs to show something on the screen or in a log file, it looks for the message in messages.dat. Those errors just mean that GCBASIC can't find the proper message to show. This usually happens when the version of messages.dat doesn't match the version of the gcbasic executable.
What version of messages.dat do you have? It should be dated around 18/6/2008.
These errors won't stop GCBASIC from running normally, but they look ugly and aren't much help if it's a compiler error message that should be showing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now I've got GCBASIC to work under linux I'm having fun with the internal assembler.
Everything goes well (starting from Demos/line.txt) until we get here:
Summary:
Read by GCBASIC:
Input lines: 2389 (20000 max)
Variables: 10 (256 max)
Constants: 129 (400 max)
Subroutines: 108 (500 max)
Assembly program lines written: 97 (20000 max)
Assembling program ...
Message SYMBOLTABLE not defined in messages.dat!
Message MACHINECODE not defined in messages.dat! 100%
Message ASMSUCCESS not defined in messages.dat!
mick@mick-desktop:~/Desktop/GCBASIC$
These messages don't appear in compiled.asm (which looks fine) and there is no errors.txt file created.
gcbasic.ini has been set up as Hugh's instructions in the previous thread:
...comment out or delete these lines:
Line 17: Assembler = mpasm\mpasmwin
Line 19: AssemblerParams = /c- /o- /q+ /l+ /x- /w1 "%FileName%"
Line 26: Programmer = icprog
Line 27: ProgrammerParams = -l"%FileName%"
And uncomment Line 21, Assembler = GCASM. This will tell GCBASIC to use its internal assembler...
It looks as if this won't stop the system working, but there may be a bit missing from messages.dat!
To make GCBASIC easier to translate, all the messages that the compiler can show are in a separate file (messages.dat). When GCBASIC needs to show something on the screen or in a log file, it looks for the message in messages.dat. Those errors just mean that GCBASIC can't find the proper message to show. This usually happens when the version of messages.dat doesn't match the version of the gcbasic executable.
What version of messages.dat do you have? It should be dated around 18/6/2008.
These errors won't stop GCBASIC from running normally, but they look ugly and aren't much help if it's a compiler error message that should be showing.
Sorry - I've sorted it out now. I'd copied the exe file out of update.zip, but not messages.dat. It's working fine now, thanks.
:-)