Skip to content

Commit

Permalink
Debugger: Add note for 2.9.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelangel007 committed Jan 4, 2022
1 parent 5e70f79 commit 1613671
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/Debugger_Changelog.txt
@@ -1,5 +1,16 @@
/*
2.9.1.11 Fixed: Right justify signed decimal values.
Example:
U 300
300:A9 80 A9 81 A9 FF A9 00 A9 01 A9 7E A9 7F
Will display as:
LDA #$80 #-128
LDA #$81 #-127
LDA #$FF #-1
LDA #$00
LDA #$01 #+1
LDA #$7E #+126
LDA #$7F #+127
2.9.1.10 Fixed: Immedate #80 was not showing -128 for the signed decimal value.
2.9.1.9 Fixed: Immediate #0 was showing '#' prefix but not showing zero for the signed decimal value. Changed to show the signed decimal value only if non zero.
2.9.1.8 Changed: Disassembly window now lists symbol labels and symbol target address from User2 in orange.
Expand Down
4 changes: 4 additions & 0 deletions source/Debugger/Debugger_Display.cpp
Expand Up @@ -1797,6 +1797,10 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )

if( line.nImmediate )
{
/*
300:A9 80 A9 81 A9 FF A9 00 A9 01 A9 7E A9 7F
*/

// Right justify to target ADDR:##
size_t len = strlen( line.sImmediateSignedDec );
linerect.left += (2 + (4 - len)) * nDefaultFontWidth;
Expand Down

0 comments on commit 1613671

Please sign in to comment.