2019-03-02 21:45:38 +01:00
|
|
|
`ifndef _SATURN_DEF_DEBUGGER
|
|
|
|
`define _SATURN_DEF_DEBUGGER
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* debugger values for the register dump
|
|
|
|
*/
|
|
|
|
|
2019-03-04 08:08:02 +01:00
|
|
|
`define DBG_REG_PC_STR 0
|
|
|
|
`define DBG_REG_PC_VALUE 1
|
|
|
|
`define DBG_REG_PC_SPACES 2
|
|
|
|
`define DBG_REG_CARRY 3
|
|
|
|
`define DBG_REG_CALC_MODE 4
|
|
|
|
`define DBG_REG_RSTK_PTR 5
|
|
|
|
`define DBG_REG_RSTK7_STR 6
|
|
|
|
`define DBG_REG_RSTK7_VALUE 7
|
2019-03-04 09:58:13 +01:00
|
|
|
|
2019-03-05 06:14:38 +01:00
|
|
|
`define DBG_REG_P 8
|
|
|
|
`define DBG_REG_HST 9
|
|
|
|
`define DBG_REG_HST_SPACES 10
|
|
|
|
`define DBG_REG_ST_STR 11
|
|
|
|
`define DBG_REG_ST_VALUE 12
|
|
|
|
`define DBG_REG_RSTK6_STR 13
|
|
|
|
`define DBG_REG_RSTK6_VALUE 14
|
2019-03-04 08:08:02 +01:00
|
|
|
|
2019-03-05 06:14:38 +01:00
|
|
|
`define DBG_REG_A_STR 16
|
|
|
|
`define DBG_REG_A_VALUE 17
|
|
|
|
`define DBG_REG_A_SPACES 18
|
|
|
|
`define DBG_REG_R0_STR 19
|
|
|
|
`define DBG_REG_R0_VALUE 20
|
|
|
|
`define DBG_REG_R0_SPACES 21
|
|
|
|
`define DBG_REG_RSTK5_STR 22
|
|
|
|
`define DBG_REG_RSTK5_VALUE 23
|
2019-03-04 09:58:13 +01:00
|
|
|
|
2019-03-05 06:14:38 +01:00
|
|
|
`define DBG_REG_B_STR 24
|
|
|
|
`define DBG_REG_B_VALUE 25
|
|
|
|
`define DBG_REG_B_SPACES 26
|
|
|
|
`define DBG_REG_R1_STR 27
|
|
|
|
`define DBG_REG_R1_VALUE 28
|
|
|
|
`define DBG_REG_R1_SPACES 29
|
|
|
|
`define DBG_REG_RSTK4_STR 30
|
|
|
|
`define DBG_REG_RSTK4_VALUE 31
|
2019-03-04 09:58:13 +01:00
|
|
|
|
2019-03-05 06:14:38 +01:00
|
|
|
`define DBG_REG_C_STR 32
|
|
|
|
`define DBG_REG_C_VALUE 33
|
|
|
|
`define DBG_REG_C_SPACES 34
|
|
|
|
`define DBG_REG_R2_STR 35
|
|
|
|
`define DBG_REG_R2_VALUE 36
|
|
|
|
`define DBG_REG_R2_SPACES 37
|
|
|
|
`define DBG_REG_RSTK3_STR 38
|
|
|
|
`define DBG_REG_RSTK3_VALUE 39
|
2019-03-04 09:58:13 +01:00
|
|
|
|
2019-03-05 06:14:38 +01:00
|
|
|
`define DBG_REG_D_STR 40
|
|
|
|
`define DBG_REG_D_VALUE 41
|
|
|
|
`define DBG_REG_D_SPACES 42
|
|
|
|
`define DBG_REG_R3_STR 43
|
|
|
|
`define DBG_REG_R3_VALUE 44
|
|
|
|
`define DBG_REG_R3_SPACES 45
|
|
|
|
`define DBG_REG_RSTK2_STR 46
|
|
|
|
`define DBG_REG_RSTK2_VALUE 47
|
2019-03-04 09:58:13 +01:00
|
|
|
|
2019-03-05 06:14:38 +01:00
|
|
|
`define DBG_REG_D0_STR 48
|
|
|
|
`define DBG_REG_D0_VALUE 49
|
|
|
|
`define DBG_REG_D1_STR 50
|
|
|
|
`define DBG_REG_D1_VALUE 51
|
|
|
|
`define DBG_REG_R4_STR 52
|
|
|
|
`define DBG_REG_R4_VALUE 53
|
|
|
|
`define DBG_REG_R4_SPACES 54
|
|
|
|
`define DBG_REG_RSTK1_STR 55
|
|
|
|
`define DBG_REG_RSTK1_VALUE 56
|
|
|
|
`define DBG_REG_NL_6 57
|
2019-03-04 11:52:05 +01:00
|
|
|
|
2019-03-05 06:14:38 +01:00
|
|
|
`define DBG_REG_SPACES_7 58
|
|
|
|
`define DBG_REG_RSTK0_STR 59
|
|
|
|
`define DBG_REG_RSTK0_VALUE 60
|
|
|
|
`define DBG_REG_NL_7 61
|
2019-03-04 11:52:05 +01:00
|
|
|
|
|
|
|
`define DBG_REG_END 127
|
2019-03-02 21:45:38 +01:00
|
|
|
`endif
|