mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-11 05:29:55 +00:00
2.6.2.30 Added: DA now works! It is similar to DW except it does symbol lookups!
(DW = Define Word. DA = Define Address) Example: U D000 DA BASIC.FPTR D000:D080
This commit is contained in:
parent
1acf0da21e
commit
a408f7dacf
@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
#define ALLOW_INPUT_LOWERCASE 1
|
#define ALLOW_INPUT_LOWERCASE 1
|
||||||
|
|
||||||
// See Debugger_Changelong.txt for full details
|
// See Debugger_Changelong.txt for full details
|
||||||
const int DEBUGGER_VERSION = MAKE_VERSION(2,6,2,29);
|
const int DEBUGGER_VERSION = MAKE_VERSION(2,6,2,30);
|
||||||
|
|
||||||
|
|
||||||
// Public _________________________________________________________________________________________
|
// Public _________________________________________________________________________________________
|
||||||
@ -216,7 +216,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
// {TEXT("DA><") , CmdDisasmDataDefAddress8LH , CMD_DEFINE_ADDR_8_LH , "Define split array of addresses, low byte section followed by high byte section" },
|
// {TEXT("DA><") , CmdDisasmDataDefAddress8LH , CMD_DEFINE_ADDR_8_LH , "Define split array of addresses, low byte section followed by high byte section" },
|
||||||
// {TEXT("DA<") , CmdDisasmDataDefAddress8H , CMD_DEFINE_ADDR_BYTE_H , "Define array of high byte addresses" },
|
// {TEXT("DA<") , CmdDisasmDataDefAddress8H , CMD_DEFINE_ADDR_BYTE_H , "Define array of high byte addresses" },
|
||||||
// {TEXT("DB>") , CmdDisasmDataDefAddress8L , CMD_DEFINE_ADDR_BYTE_L , "Define array of low byte addresses" }
|
// {TEXT("DB>") , CmdDisasmDataDefAddress8L , CMD_DEFINE_ADDR_BYTE_L , "Define array of low byte addresses" }
|
||||||
{TEXT(".DA") , CmdDisasmDataDefAddress16 , CMD_DEFINE_ADDR_WORD , "Define array of word addresses" },
|
{TEXT("DA") , CmdDisasmDataDefAddress16 , CMD_DEFINE_ADDR_WORD , "Define array of word addresses" },
|
||||||
// TODO: Rename config cmd: DISASM
|
// TODO: Rename config cmd: DISASM
|
||||||
// {TEXT("UA") , CmdDisasmDataSmart , CMD_SMART_DISASSEMBLE, "Analyze opcodes to determine if code or data" },
|
// {TEXT("UA") , CmdDisasmDataSmart , CMD_SMART_DISASSEMBLE, "Analyze opcodes to determine if code or data" },
|
||||||
// Disk
|
// Disk
|
||||||
|
@ -1550,6 +1550,7 @@ void FormatNopcodeBytes ( WORD nBaseAddress, DisasmLine_t & line_ )
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case NOP_ADDRESS:
|
case NOP_ADDRESS:
|
||||||
|
// Nothing to do, already handled :-)
|
||||||
iByte += 2;
|
iByte += 2;
|
||||||
break;
|
break;
|
||||||
case NOP_STRING_APPLESOFT:
|
case NOP_STRING_APPLESOFT:
|
||||||
@ -1947,11 +1948,6 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
|
|||||||
PrintTextCursorX( pTarget, linerect );
|
PrintTextCursorX( pTarget, linerect );
|
||||||
// PrintTextCursorX( " ", linerect );
|
// PrintTextCursorX( " ", linerect );
|
||||||
|
|
||||||
if( pData )
|
|
||||||
{
|
|
||||||
return nOpbyte;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Target Offset +/-
|
// Target Offset +/-
|
||||||
if (bDisasmFormatFlags & DISASM_FORMAT_OFFSET)
|
if (bDisasmFormatFlags & DISASM_FORMAT_OFFSET)
|
||||||
{
|
{
|
||||||
@ -2012,6 +2008,12 @@ WORD DrawDisassemblyLine ( int iLine, const WORD nBaseAddress )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// BUGFIX: 2.6.2.30: DA $target --> show right paren
|
||||||
|
if( pData )
|
||||||
|
{
|
||||||
|
return nOpbyte;
|
||||||
|
}
|
||||||
|
|
||||||
// Memory Pointer and Value
|
// Memory Pointer and Value
|
||||||
if (bDisasmFormatFlags & DISASM_FORMAT_TARGET_POINTER) // (bTargetValue)
|
if (bDisasmFormatFlags & DISASM_FORMAT_TARGET_POINTER) // (bTargetValue)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user