|
|
1.1 root 1: /*
2: Hatari - debugcpu.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
6:
7: Public CPU debugging header.
8: */
9:
10: #ifndef HATARI_DEBUGCPU_H
11: #define HATARI_DEBUGCPU_H
12:
13: void DebugCpu_Check(void);
14: void DebugCpu_SetDebugging(void);
15: int DebugCpu_DisAsm(int nArgc, char *psArgs[]);
16: int DebugCpu_MemDump(int nArgc, char *psArgs[]);
17: int DebugCpu_Register(int nArgc, char *psArgs[]);
18: int DebugCpu_GetRegisterAddress(const char *reg, Uint32 **addr);
19:
20: Uint32 DBGMemory_ReadLong(Uint32 addr);
21: Uint16 DBGMemory_ReadWord(Uint32 addr);
22: Uint8 DBGMemory_ReadByte(Uint32 addr);
23:
24: void DBGMemory_WriteLong(Uint32 addr,Uint32 val);
25: void DBGMemory_WriteWord(Uint32 addr,Uint16 val);
26: void DBGMemory_WriteByte(Uint32 addr,Uint8 val);
27:
28: #endif /* HATARI_DEBUGCPU_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.