diff --git a/docs/debugger.html b/docs/debugger.html index 601c2825b..154859c82 100644 --- a/docs/debugger.html +++ b/docs/debugger.html @@ -781,6 +781,9 @@ as illustrated:

zoom area (further described in part (G). The zoom area will contain the area centered at the position where the mouse was clicked. +
  • Toggle fixed debug colors: Toggles fixed debug color mode. + Note that after this is toggled, the framebuffer must be updated in some way + (step/trace/frame advance) before the new colors are shown.
  • diff --git a/docs/graphics/debugger_iotab.png b/docs/graphics/debugger_iotab.png index c0250b2fd..8b915fd5e 100644 Binary files a/docs/graphics/debugger_iotab.png and b/docs/graphics/debugger_iotab.png differ diff --git a/docs/graphics/debugger_tiaoutcmenu.png b/docs/graphics/debugger_tiaoutcmenu.png index 2a8bd8552..7b9a21495 100644 Binary files a/docs/graphics/debugger_tiaoutcmenu.png and b/docs/graphics/debugger_tiaoutcmenu.png differ diff --git a/docs/graphics/debugger_tiatab.png b/docs/graphics/debugger_tiatab.png index 7cf7905b7..1fa7af936 100644 Binary files a/docs/graphics/debugger_tiatab.png and b/docs/graphics/debugger_tiatab.png differ diff --git a/src/debugger/gui/TiaOutputWidget.cxx b/src/debugger/gui/TiaOutputWidget.cxx index 5c9851bad..f3ad32d64 100644 --- a/src/debugger/gui/TiaOutputWidget.cxx +++ b/src/debugger/gui/TiaOutputWidget.cxx @@ -50,6 +50,7 @@ TiaOutputWidget::TiaOutputWidget(GuiObject* boss, const GUI::Font& font, l.push_back("Fill to scanline", "scanline"); l.push_back("Set breakpoint", "bp"); l.push_back("Set zoom position", "zoom"); + l.push_back("Toggle fixed debug colors", "fixed"); myMenu = new ContextMenu(this, font, l); } @@ -114,6 +115,10 @@ void TiaOutputWidget::handleCommand(CommandSender* sender, int cmd, int data, in if(myZoom) myZoom->setPos(myClickX, myClickY); } + else if(rmb == "fixed") + { + instance().console().tia().toggleFixedColors(); + } break; } }