|
|
1.1 ! root 1: /* ! 2: * Dummy stuff needed to compile debugger related test code ! 3: */ ! 4: ! 5: /* fake tracing flags */ ! 6: #include "log.h" ! 7: Uint32 LogTraceFlags = 0; ! 8: ! 9: /* fake Hatari configuration variables for number parsing */ ! 10: #include "configuration.h" ! 11: CNF_PARAMS ConfigureParams; ! 12: ! 13: /* fake ST RAM */ ! 14: #include "stMemory.h" ! 15: Uint8 STRam[16*1024*1024]; ! 16: Uint32 STRamEnd = 4*1024*1024; ! 17: ! 18: /* fake memory banks */ ! 19: #include "memory.h" ! 20: addrbank *mem_banks[65536]; ! 21: ! 22: /* fake IO memory variables */ ! 23: #include "ioMem.h" ! 24: int nIoMemAccessSize; ! 25: Uint32 IoAccessBaseAddress; ! 26: ! 27: /* fake CPU wrapper stuff */ ! 28: #include "m68000.h" ! 29: void MakeFromSR(void) { } ! 30: ! 31: /* fake AUE core registers */ ! 32: #include "newcpu.h" ! 33: struct regstruct regs; ! 34: void MakeSR(void) { } ! 35: void m68k_dumpstate (FILE *f, uaecptr *nextpc) { } ! 36: void m68k_disasm (FILE *f, uaecptr addr, uaecptr *nextpc, int cnt) { } ! 37: ! 38: /* fake memory snapshot */ ! 39: #include "memorySnapShot.h" ! 40: void MemorySnapShot_Store(void *pData, int Size) { } ! 41: ! 42: /* fake debugui.c stuff */ ! 43: #include "debug_priv.h" ! 44: #include "debugui.h" ! 45: FILE *debugOutput; ! 46: void DebugUI(void) { } ! 47: void DebugUI_PrintCmdHelp(const char *psCmd) { } ! 48: ! 49: /* fake Hatari video variables */ ! 50: #include "video.h" ! 51: int nHBL = 20; ! 52: int nVBLs = 71; ! 53: ! 54: /* fake video variables accessor */ ! 55: void Video_GetPosition(int *pFrameCycles, int *pHBL, int *pLineCycles) ! 56: { ! 57: *pFrameCycles = 2048; ! 58: *pHBL = nHBL; ! 59: *pFrameCycles = 508; ! 60: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.