From 7eece4e994ab21c5add53d443d99933e5eeebe07 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Tue, 13 Oct 2020 15:11:35 +0200 Subject: [PATCH] fully resolved #165 (added timer read cycles count) refined TiaInfoWidget again added doc --- docs/debugger.html | 18 ++++-- docs/graphics/debugger_cpuregs.png | Bin 1795 -> 1548 bytes docs/graphics/debugger_main.png | Bin 63710 -> 78817 bytes docs/graphics/debugger_ram.png | Bin 5185 -> 3163 bytes docs/graphics/debugger_tiainfo.png | Bin 1323 -> 1394 bytes docs/graphics/resources/debugger_main.pdn | Bin 205235 -> 274816 bytes src/debugger/Debugger.cxx | 3 +- src/debugger/Debugger.hxx | 2 +- src/debugger/RiotDebug.cxx | 10 +++ src/debugger/RiotDebug.hxx | 3 + src/debugger/gui/DebuggerDialog.cxx | 19 +++--- src/debugger/gui/TiaInfoWidget.cxx | 72 ++++++++++++++-------- src/debugger/gui/TiaInfoWidget.hxx | 1 + src/emucore/M6532.cxx | 10 +++ src/emucore/M6532.hxx | 7 +++ src/emucore/tia/TIA.cxx | 16 ++++- src/emucore/tia/TIA.hxx | 6 +- src/yacc/YaccParser.cxx | 2 + 18 files changed, 125 insertions(+), 44 deletions(-) diff --git a/docs/debugger.html b/docs/debugger.html index 9ce69b949..4c0360a95 100644 --- a/docs/debugger.html +++ b/docs/debugger.html @@ -753,6 +753,8 @@ that holds 'number of scanlines' on an actual console).

_cycleslo Lower 32 bits of number of cycles since emulation started _fcount Number of frames since emulation started _fcycles Number of cycles since frame started + _ftimreadcyclesNumber of cycles used by timer reads since frame started + _fwsynccyclesNumber of cycles skipped by WSYNC since frame started _icycles Number of cycles of last instruction _scan Current scanline count _scanend Scanline count at end of last frame @@ -1137,12 +1139,16 @@ as illustrated:

The indicators are as follows (note that all these are read-only):