MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / cia_debug

Function cia_debug

src/cia.cpp:2793–2804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2791
2792
2793static bool cia_debug(uaecptr addr, uae_u32 value, int size)
2794{
2795#ifdef DEBUGGER
2796 if (addr == DEBUG_SPRINTF_ADDRESS || addr == DEBUG_SPRINTF_ADDRESS + 4 || addr == DEBUG_SPRINTF_ADDRESS + 8 ||
2797 (addr == DEBUG_SPRINTF_ADDRESS + 2 && currprefs.cpu_model < 68020) ||
2798 (addr == DEBUG_SPRINTF_ADDRESS + 6 && currprefs.cpu_model < 68020) ||
2799 (addr == DEBUG_SPRINTF_ADDRESS + 10 && currprefs.cpu_model < 68020)) {
2800 return debug_sprintf(addr, value, size);
2801 }
2802#endif
2803 return false;
2804}
2805
2806static void REGPARAM2 cia_bput(uaecptr addr, uae_u32 value)
2807{

Callers 3

cia_bputFunction · 0.85
cia_wputFunction · 0.85
cia_lputFunction · 0.85

Calls 1

debug_sprintfFunction · 0.85

Tested by

no test coverage detected