| 2018 | } |
| 2019 | |
| 2020 | void DrawByte_AY8913(std::string& sText, int iCol, WORD iAddress, BYTE data, BYTE nAYCurrentRegister) |
| 2021 | { |
| 2022 | sText = StrFormat("%02X", data); |
| 2023 | if (nAYCurrentRegister == iAddress) |
| 2024 | { |
| 2025 | DebuggerSetColorFG(DebuggerGetColor(FG_INFO_TITLE)); // if latched address then draw in white |
| 2026 | } |
| 2027 | else |
| 2028 | { |
| 2029 | if ((iCol & 1) == 0) |
| 2030 | DebuggerSetColorFG(DebuggerGetColor(FG_AY8913_EVEN)); |
| 2031 | else |
| 2032 | DebuggerSetColorFG(DebuggerGetColor(FG_AY8913_ODD)); |
| 2033 | } |
| 2034 | } |
| 2035 | |
| 2036 | void DrawLine_MB_SUBUNIT(RECT& rect, WORD& iAddress, const int nCols, int iForeground, int iBackground, UINT subUnit, bool& is6522, MockingboardCard::DEBUGGER_MB_CARD& MB, bool isMockingboardInSlot) |
| 2037 | { |
no test coverage detected