The emulation core now tracks writes to PF0/PF1/PF2 as well as GRPx,

marking them as GFX.  Still TODO is somehow differentiate these (based
on block, colour, etc).  Also requires testing to see if this slows
down the emulation too much.

Removed un-implemented debugger console commands to query the last
addresses used in the A/X/Y registers, since they're going to be added
to the debugger UI itself in the CPU area.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2153 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2010-10-11 23:32:37 +00:00
parent e8c91c7876
commit 2f11619e78
4 changed files with 9 additions and 73 deletions

View File

@ -1043,34 +1043,6 @@ void DebuggerParser::executeJump()
commandResult << "address $" << HEX4 << args[0] << " doesn't exist";
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// "lastaddr"
void DebuggerParser::executeLastAddress()
{
commandResult << red("not implemented yet");
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// "lasta"
void DebuggerParser::executeLastAccAddress()
{
commandResult << red("not implemented yet");
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// "lastx"
void DebuggerParser::executeLastXAddress()
{
commandResult << red("not implemented yet");
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// "lasty"
void DebuggerParser::executeLastYAddress()
{
commandResult << red("not implemented yet");
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// "listbreaks"
void DebuggerParser::executeListbreaks()
@ -1834,42 +1806,6 @@ DebuggerParser::Command DebuggerParser::commands[kNumCommands] = {
&DebuggerParser::executeJump
},
{
"lastaddr",
"Show last accessed address",
false,
false,
{ kARG_END_ARGS },
&DebuggerParser::executeLastAddress
},
{
"lasta",
"Show last accessed address for accumulator",
false,
false,
{ kARG_END_ARGS },
&DebuggerParser::executeLastAccAddress
},
{
"lastx",
"Show last accessed address for register X",
false,
false,
{ kARG_END_ARGS },
&DebuggerParser::executeLastXAddress
},
{
"lasty",
"Show last accessed address for register Y",
false,
false,
{ kARG_END_ARGS },
&DebuggerParser::executeLastYAddress
},
{
"listbreaks",
"List breakpoints",

View File

@ -83,7 +83,7 @@ class DebuggerParser
private:
enum {
kNumCommands = 70,
kNumCommands = 66,
kMAX_ARG_TYPES = 10
};
@ -162,10 +162,6 @@ class DebuggerParser
void executeGfx();
void executeHelp();
void executeJump();
void executeLastAddress();
void executeLastAccAddress();
void executeLastXAddress();
void executeLastYAddress();
void executeListbreaks();
void executeListconfig();
void executeListfunctions();

View File

@ -14,7 +14,7 @@
// See the file "License.txt" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: M6502.m4 2151 2010-10-11 15:11:10Z stephena $
// $Id: M6502.m4 2152 2010-10-11 23:06:37Z stephena $
//============================================================================
/**
@ -24,7 +24,7 @@
'm4 M6502.m4 > M6502.ins'
@author Bradford W. Mott
@version $Id: M6502.m4 2151 2010-10-11 15:11:10Z stephena $
@version $Id: M6502.m4 2152 2010-10-11 23:06:37Z stephena $
*/
#ifndef NOTSAMEPAGE
@ -50,7 +50,9 @@
#ifndef CHECK_GFX_WRITE
#ifdef DEBUGGER_SUPPORT
#define CHECK_GFX_WRITE(_addr) \
if((operandAddress == 0x1B || operandAddress == 0x1C) && _addr) \
if((operandAddress == 0x1B || operandAddress == 0x1C || \
operandAddress == 0x0D || operandAddress == 0x0E || operandAddress == 0x0F) && \
_addr) \
mySystem->setAddressDisasmType(_addr, DISASM_GFX);
#else
#define CHECK_GFX_WRITE(_addr)

View File

@ -50,7 +50,9 @@
#ifndef CHECK_GFX_WRITE
#ifdef DEBUGGER_SUPPORT
#define CHECK_GFX_WRITE(_addr) \
if((operandAddress == 0x1B || operandAddress == 0x1C) && _addr) \
if((operandAddress == 0x1B || operandAddress == 0x1C || \
operandAddress == 0x0D || operandAddress == 0x0E || operandAddress == 0x0F) && \
_addr) \
mySystem->setAddressDisasmType(_addr, DISASM_GFX);
#else
#define CHECK_GFX_WRITE(_addr)