Bugs
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
- benryves
- Maxcoderz Staff
- Posts: 3087
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Not on my machine:
Code: Select all
Brass Z80 Assembler 1.0.4.8 - Ben Ryves 2005-2006
-------------------------------------------------
Assembling...
Pass 1 complete. (328ms).
'This is a test of .echo'
Pass 2 complete. (31ms).
Writing output file...
Errors: 0, Warnings: 0.
Done!
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
- benryves
- Maxcoderz Staff
- Posts: 3087
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Is this in Latenite or on the command line?
Latenite collects the output messages from an error reporting XML file, and so probably displays it multiple times - once as Brass is run (Brass displays in the output window) and once afterwards (when decoding the error log).
The fact that the two run on different threads mean that the order of events might be a little shuffled.
Latenite collects the output messages from an error reporting XML file, and so probably displays it multiple times - once as Brass is run (Brass displays in the output window) and once afterwards (when decoding the error log).
The fact that the two run on different threads mean that the order of events might be a little shuffled.
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?
Yes, I do. I also noticed this little doosie when I compiled any code that should work:
Could this be the cause of my problems (note that still sends single-page apps and programs to the calculator correctly)?
Edit: I've sent you the template I a have created to make multi-page apps.
note that this happens whenever I compile any truely compile-able code regardless of compile script, debug, file format, etc.Output screen wrote:Assembling...
Pass 1 complete. (650ms).
Pass 2 complete. (80ms).
Writing output file...
Errors: 0, Warnings: 0.
Writing error log...
Writing debug log...
Writing list file...
Error: Could not write list file (The given key was not present in the dictionary.).
Done!
------ Build Process Complete ------
========== Build: 0 errors, 0 warnings ==========
Could this be the cause of my problems (note that still sends single-page apps and programs to the calculator correctly)?
Edit: I've sent you the template I a have created to make multi-page apps.
- benryves
- Maxcoderz Staff
- Posts: 3087
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
You were quite right, it was a bug in Brass. The branch table code was creating a new label, and for some reason it wasn't being populated with a filename. When the debug file was written, it tried to make sense of an empty filename so threw an error, leaving you with an empty log.
I've done a quick fix - see if this works for you.
In TI-83 Plus (Application).cmd, the line:
needs to be modified to
In the debug script,
...should therefore be just
To test, I used your template and added the following code:
Page0.asm
Page1.asm
Hit F5, and it runs in PTI. ![Smile :)](./images/smilies/grayscale_smile.gif)
I've done a quick fix - see if this works for you.
In TI-83 Plus (Application).cmd, the line:
Code: Select all
SET EXTENSION=8xp
Code: Select all
SET EXTENSION=8xk
Code: Select all
send-file %DEBUG_BINARY%.8xk
Code: Select all
send-file %DEBUG_BINARY%
Page0.asm
Code: Select all
; ===============================================================
; Test Page 1
; ===============================================================
Main
bcall(_ClrLCDFull)
bcall(_Page1_Main) ; Off-page call
bcall(_GetKey)
bjump(_JForceCmdNoChar) ; Exit
Code: Select all
Page1_Main
ld hl,3+5*256
ld (curRow),hl
ld hl,TestString
ld de,op1
rst rMOV9TOOP1
ld hl,op1
bcall(_PutS)
ret
TestString
.db "Hello",0
![Smile :)](./images/smilies/grayscale_smile.gif)
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?