Merge pull request #1163 from AppleWin/Debugger_2.9.1.14
Debugger 2.9.1.14 Fix disassembly when in middle of data
This commit is contained in:
commit
1902af4ad9
|
@ -1,4 +1,11 @@
|
||||||
/*
|
/*
|
||||||
|
2.9.1.14 Fix disassembly when in middle of data
|
||||||
|
Example:
|
||||||
|
ASC 7D0:7D7
|
||||||
|
ASC 7D8:7DF
|
||||||
|
7CF:EA 40 41 42 43 44 45 46 47 48
|
||||||
|
U 7D7
|
||||||
|
|
||||||
2.9.1.13 Added: CD now detects ".." to change to the previous directory and chops the trailing sub-directory from the current path.
|
2.9.1.13 Added: CD now detects ".." to change to the previous directory and chops the trailing sub-directory from the current path.
|
||||||
It worked before but would clutter up the current directory with a trailing "..\".
|
It worked before but would clutter up the current directory with a trailing "..\".
|
||||||
2.9.1.12 Added: New commands HGR0, HGR3, HGR4, HGR5 to see pseudo pages $00, $60, $80, $A0 respectively.
|
2.9.1.12 Added: New commands HGR0, HGR3, HGR4, HGR5 to see pseudo pages $00, $60, $80, $A0 respectively.
|
||||||
|
|
|
@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#define ALLOW_INPUT_LOWERCASE 1
|
#define ALLOW_INPUT_LOWERCASE 1
|
||||||
|
|
||||||
// See /docs/Debugger_Changelog.txt for full details
|
// See /docs/Debugger_Changelog.txt for full details
|
||||||
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,13);
|
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,14);
|
||||||
|
|
||||||
|
|
||||||
// Public _________________________________________________________________________________________
|
// Public _________________________________________________________________________________________
|
||||||
|
|
|
@ -498,7 +498,9 @@ int _6502_GetOpmodeOpbyte ( const int nBaseAddress, int & iOpmode_, int & nOpby
|
||||||
if ( pData_ )
|
if ( pData_ )
|
||||||
*pData_ = pData;
|
*pData_ = pData;
|
||||||
|
|
||||||
nSlack = pData->nEndAddress - pData->nStartAddress + 1; // *inclusive* KEEP IN SYNC: _CmdDefineByteRange() CmdDisasmDataList() _6502_GetOpmodeOpbyte() FormatNopcodeBytes()
|
const DWORD nEndAddress = pData->nEndAddress;
|
||||||
|
const int nDisplayLen = nEndAddress - nBaseAddress + 1; // *inclusive* KEEP IN SYNC: _CmdDefineByteRange() CmdDisasmDataList() _6502_GetOpmodeOpbyte() FormatNopcodeBytes()
|
||||||
|
nSlack = nDisplayLen;
|
||||||
|
|
||||||
// Data Disassembler
|
// Data Disassembler
|
||||||
// Smart Disassembly - Data Section
|
// Smart Disassembly - Data Section
|
||||||
|
|
Loading…
Reference in New Issue