|
|
1.1 root 1: /*
2: Hatari - history.h
3:
1.1.1.2 root 4: This file is distributed under the GNU General Public License, version 2
5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 6: */
7:
8: #ifndef HATARI_HISTORY_H
9: #define HATARI_HISTORY_H
10:
1.1.1.2 root 11: /* what processors are tracked */
12: typedef enum {
13: HISTORY_TRACK_NONE = 0,
14: HISTORY_TRACK_CPU = 1,
15: HISTORY_TRACK_DSP = 2,
1.1.1.3 ! root 16: HISTORY_TRACK_ALL = 3
1.1.1.2 root 17: } history_type_t;
18:
19: extern history_type_t HistoryTracking;
20:
21: static inline bool History_TrackCpu(void)
22: {
23: return HistoryTracking & HISTORY_TRACK_CPU;
24: }
25: static inline bool History_TrackDsp(void)
26: {
27: return HistoryTracking & HISTORY_TRACK_DSP;
28: }
1.1 root 29:
30: /* for debugcpu/dsp.c */
31: extern void History_AddCpu(void);
32: extern void History_AddDsp(void);
33:
34: /* for debugInfo.c */
35: extern void History_Show(Uint32 count);
36:
37: /* for debugui */
38: extern void History_Mark(debug_reason_t reason);
1.1.1.3 ! root 39: extern char *History_Match(const char *text, int state);
1.1 root 40: extern int History_Parse(int nArgc, char *psArgv[]);
41:
42: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.