1
0
mirror of https://github.com/specht/champ.git synced 2024-06-09 19:29:28 +00:00
champ/watches.h

61 lines
831 B
C
Raw Normal View History

2018-02-11 21:35:43 +00:00
const uint16_t WATCH_COUNT = 9;
2018-02-11 21:20:01 +00:00
#define WATCH_U8 1
#define WATCH_U16 2
#define WATCH_S8 3
#define WATCH_S16 4
const char* WATCH_LABELS[] = {
2018-02-11 21:35:43 +00:00
"SINX",
"COSX",
"SINY",
"COSY",
"SINZ",
"COSZ",
2018-02-11 21:20:01 +00:00
"RX",
"RY",
"RZ"
};
const uint16_t WATCH_ADDRESSES[] = {
2018-02-11 21:35:43 +00:00
0x007b,
0x007c,
0x007d,
0x007e,
0x007f,
0x0080,
2018-02-11 21:20:01 +00:00
0x008d,
0x008f,
0x0091
};
const uint8_t WATCH_TYPES[] = {
2018-02-11 21:35:43 +00:00
3,
3,
3,
3,
3,
3,
2018-02-11 21:20:01 +00:00
4,
4,
4
};
2018-02-12 20:15:03 +00:00
const uint16_t ARG_WATCH_COUNT = 2;
const uint16_t ARG_WATCH_ADDRESSES[] = {
0x7c92,
0x7c92
};
const uint8_t ARG_WATCH_TYPES[] = {
3,
3
};
#define WATCH_A 1
#define WATCH_X 2
#define WATCH_Y 3
const uint8_t ARG_WATCH_REGISTERS[] = {
3,
1
};
const char* WATCH_REGISTER_LABELS[] = {
"",
"A",
"X",
"Y"
};