mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-17 00:30:04 +00:00
Make memmode global as debugger needs access
This commit is contained in:
parent
785fe505b6
commit
895a6839bc
@ -177,7 +177,7 @@ static LPBYTE memimage = NULL;
|
|||||||
static LPBYTE pCxRomInternal = NULL;
|
static LPBYTE pCxRomInternal = NULL;
|
||||||
static LPBYTE pCxRomPeripheral = NULL;
|
static LPBYTE pCxRomPeripheral = NULL;
|
||||||
|
|
||||||
static DWORD memmode = MF_BANK2 | MF_SLOTCXROM | MF_WRITERAM;
|
DWORD memmode = MF_BANK2 | MF_SLOTCXROM | MF_WRITERAM; // 2.9.0.4 now global as Debugger needs access for LC status info in DrawSoftSwitches()
|
||||||
static BOOL modechanging = 0; // An Optimisation: means delay calling UpdatePaging() for 1 instruction
|
static BOOL modechanging = 0; // An Optimisation: means delay calling UpdatePaging() for 1 instruction
|
||||||
static BOOL Pravets8charmode = 0;
|
static BOOL Pravets8charmode = 0;
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ extern iofunction IOWrite[256];
|
|||||||
extern LPBYTE memwrite[0x100];
|
extern LPBYTE memwrite[0x100];
|
||||||
extern LPBYTE mem;
|
extern LPBYTE mem;
|
||||||
extern LPBYTE memdirty;
|
extern LPBYTE memdirty;
|
||||||
|
extern DWORD memmode;
|
||||||
|
|
||||||
#ifdef RAMWORKS
|
#ifdef RAMWORKS
|
||||||
const UINT kMaxExMemoryBanks = 127; // 127 * aux mem(64K) + main mem(64K) = 8MB
|
const UINT kMaxExMemoryBanks = 127; // 127 * aux mem(64K) + main mem(64K) = 8MB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user