Debugger: 2.9.1.3 Added: DB command now optionally supports =

This commit is contained in:
michaelangel007 2022-01-03 21:11:25 -08:00
parent 3985ee9abc
commit 48e0fe3a8e
3 changed files with 18 additions and 3 deletions

View File

@ -1,5 +1,12 @@
/*
2.9.1.3 Added: DB command now optionally supports =
DB HGR = 2000:3FFF
2.9.1.2 Fixed: Off by one end address when deleting DisasmData_t
2.9.1.1 Added: X command now supports a range and will chop off the appropiate data sections.
DB 2000:2005
X 2002:2003
Released post 1.30.7.0
2.9.1.0 Added: Bookmarks now have their own indicator (a number with a box around it) and replace the ":" seperator. Updated Debug_Font.bmp

View File

@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#define ALLOW_INPUT_LOWERCASE 1
// See /docs/Debugger_Changelog.txt for full details
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,0);
const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,3);
// Public _________________________________________________________________________________________

View File

@ -93,8 +93,16 @@ WORD _GetDataRange (int nArgs, int iArg, DisasmData_t& tData_)
}
else
{
if( nArgs > 1 )
nAddress = g_aArgs[ 2 ].nValue;
if (nArgs > 1)
{
// 2.9.1.1 Add: Support for equal sign, also make it optional for command DB
// DB FOO 300
// DB FOO = 300
if (g_aArgs[2].bType == TOKEN_EQUAL)
nAddress = g_aArgs[ 3 ].nValue;
else
nAddress = g_aArgs[ 2 ].nValue;
}
else
nAddress = g_aArgs[ 1 ].nValue;
}