mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Debugger: BPMR & BPMW (PR #710)
Extended BPM to also support BPMR and BPMW Fixed BPM[R|W] 0:FFFF (ie. support a range of 0x10000)
This commit is contained in:
@@ -1078,7 +1078,7 @@ void DrawBreakpoints ( int line )
|
||||
for (iBreakpoint = 0; iBreakpoint < MAX_BREAKPOINTS; iBreakpoint++ )
|
||||
{
|
||||
Breakpoint_t *pBP = &g_aBreakpoints[iBreakpoint];
|
||||
WORD nLength = pBP->nLength;
|
||||
UINT nLength = pBP->nLength;
|
||||
|
||||
#if DEBUG_FORCE_DISPLAY
|
||||
nLength = 2;
|
||||
@@ -1179,6 +1179,14 @@ void DrawBreakpoints ( int line )
|
||||
sprintf( sText, "%04X", nAddress1 );
|
||||
PrintTextCursorX( sText, rect2 );
|
||||
|
||||
if (nLength == 1)
|
||||
{
|
||||
if (pBP->eSource == BP_SRC_MEM_READ_ONLY)
|
||||
PrintTextCursorX("R", rect2);
|
||||
else if (pBP->eSource == BP_SRC_MEM_WRITE_ONLY)
|
||||
PrintTextCursorX("W", rect2);
|
||||
}
|
||||
|
||||
if (nLength > 1)
|
||||
{
|
||||
DebuggerSetColorBG( DebuggerGetColor( BG_INFO ) );
|
||||
@@ -1211,6 +1219,11 @@ void DrawBreakpoints ( int line )
|
||||
#endif
|
||||
sprintf( sText, "%04X", nAddress2 );
|
||||
PrintTextCursorX( sText, rect2 );
|
||||
|
||||
if (pBP->eSource == BP_SRC_MEM_READ_ONLY)
|
||||
PrintTextCursorX("R", rect2);
|
||||
else if (pBP->eSource == BP_SRC_MEM_WRITE_ONLY)
|
||||
PrintTextCursorX("W", rect2);
|
||||
}
|
||||
|
||||
#if !USE_APPLE_FONT
|
||||
|
||||
Reference in New Issue
Block a user