trunk/src/emu/cpu/sc61860/sc.h
| r26779 | r26780 | |
| 1 | | #define I 0 |
| 2 | | #define J 1 |
| 3 | | #define A 2 |
| 4 | | #define B 3 |
| 5 | | #define XL 4 |
| 6 | | #define XH 5 |
| 7 | | #define YL 6 |
| 8 | | #define YH 7 |
| 9 | | #define K 8 |
| 10 | | #define L 9 |
| 11 | | #define V 10 // some docus m |
| 12 | | #define W 11 // some docus n |
| 13 | | #define IA 92 |
| 14 | | #define IB 93 |
| 15 | | #define F0 94 |
| 16 | | #define C 95 |
| 17 | | |
| 18 | | enum |
| 19 | | { |
| 20 | | SC61860_PC=1, SC61860_DP, |
| 21 | | SC61860_P, SC61860_Q, SC61860_R, |
| 22 | | SC61860_CARRY, |
| 23 | | SC61860_ZERO, |
| 24 | | // the following are in the internal ram! |
| 25 | | SC61860_BA, |
| 26 | | SC61860_X, SC61860_Y, |
| 27 | | SC61860_I, SC61860_J, SC61860_K, SC61860_L, SC61860_V, SC61860_W, |
| 28 | | SC61860_H |
| 29 | | |
| 30 | | // SC61860_NMI_STATE, |
| 31 | | // SC61860_IRQ_STATE |
| 32 | | }; |
trunk/src/emu/cpu/sc61860/sc61860.h
| r26779 | r26780 | |
| 37 | 37 | 64 kb external ram (first 8kbyte not seen for program execution?) */ |
| 38 | 38 | |
| 39 | 39 | |
| 40 | enum |
| 41 | { |
| 42 | SC61860_PC=1, SC61860_DP, |
| 43 | SC61860_P, SC61860_Q, SC61860_R, |
| 44 | SC61860_CARRY, |
| 45 | SC61860_ZERO, |
| 46 | // the following are in the internal ram! |
| 47 | SC61860_BA, |
| 48 | SC61860_X, SC61860_Y, |
| 49 | SC61860_I, SC61860_J, SC61860_K, SC61860_L, SC61860_V, SC61860_W, |
| 50 | SC61860_H |
| 51 | |
| 52 | // SC61860_NMI_STATE, |
| 53 | // SC61860_IRQ_STATE |
| 54 | }; |
| 55 | |
| 56 | |
| 40 | 57 | struct sc61860_cpu_core |
| 41 | 58 | { |
| 42 | 59 | devcb_read_line reset; |