Created new DebugDefs.h for memory defs

This commit is contained in:
tomcw 2014-08-14 18:14:39 +01:00
parent ea23def601
commit c1bfb8075c
4 changed files with 16 additions and 13 deletions

View File

@ -266,6 +266,10 @@
RelativePath=".\source\Debugger\Debug.h"
>
</File>
<File
RelativePath=".\source\Debugger\DebugDefs.h"
>
</File>
<File
RelativePath=".\source\Debugger\Debugger_Assembler.cpp"
>

View File

@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "StdAfx.h"
#include "Debug.h"
#include "DebugDefs.h"
#include "..\AppleWin.h"
#include "..\CPU.h"
@ -211,15 +212,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// Memory _____________________________________________________________________
const int _6502_BRANCH_POS = +127;
const int _6502_BRANCH_NEG = -128;
const unsigned int _6502_ZEROPAGE_END = 0x00FF;
const unsigned int _6502_STACK_END = 0x01FF;
const unsigned int _6502_IO_BEGIN = 0xC000;
const unsigned int _6502_IO_END = 0xC0FF;
const unsigned int _6502_MEM_BEGIN = 0x0000;
const unsigned int _6502_MEM_END = 0xFFFF;
MemoryDump_t g_aMemDump[ NUM_MEM_DUMPS ];
// Made global so operator @# can be used with other commands.

View File

@ -0,0 +1,10 @@
#pragma once
const int _6502_BRANCH_POS = +127;
const int _6502_BRANCH_NEG = -128;
const unsigned int _6502_ZEROPAGE_END = 0x00FF;
const unsigned int _6502_STACK_END = 0x01FF;
const unsigned int _6502_IO_BEGIN = 0xC000;
const unsigned int _6502_IO_END = 0xC0FF;
const unsigned int _6502_MEM_BEGIN = 0x0000;
const unsigned int _6502_MEM_END = 0xFFFF;

View File

@ -50,10 +50,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "Z80VICE\z80.h"
#include "..\resource\resource.h"
#include "Configuration\PropertySheet.h"
#include <map>
using namespace std;
#include "Debugger\Debugger_Types.h" // Needs <map> and namespace std
#include "Debugger\DebugDefs.h"
// Memory Flag
#define MF_80STORE 0x00000001