| 1998 | //=========================================================================== |
| 1999 | |
| 2000 | void DrawByte_SY6522(std::string& sText, int iCol, WORD iAddress, BYTE data, bool timer1Active, bool timer2Active) |
| 2001 | { |
| 2002 | sText = StrFormat("%02X", data); |
| 2003 | if (timer1Active && (iAddress == 4 || iAddress == 5)) // T1C |
| 2004 | { |
| 2005 | DebuggerSetColorFG(DebuggerGetColor(FG_INFO_TITLE)); // if timer1 active then draw in white |
| 2006 | } |
| 2007 | else if (timer2Active && (iAddress == 8 || iAddress == 9)) // T2C |
| 2008 | { |
| 2009 | DebuggerSetColorFG(DebuggerGetColor(FG_INFO_TITLE)); // if timer2 active then draw in white |
| 2010 | } |
| 2011 | else |
| 2012 | { |
| 2013 | if ((iCol & 1) == 0) |
| 2014 | DebuggerSetColorFG(DebuggerGetColor(FG_SY6522_EVEN)); |
| 2015 | else |
| 2016 | DebuggerSetColorFG(DebuggerGetColor(FG_SY6522_ODD)); |
| 2017 | } |
| 2018 | } |
| 2019 | |
| 2020 | void DrawByte_AY8913(std::string& sText, int iCol, WORD iAddress, BYTE data, BYTE nAYCurrentRegister) |
| 2021 | { |
no test coverage detected