trunk/src/emu/cpu/cubeqcpu/cubeqcpu.c
| r25349 | r25350 | |
| 1099 | 1099 | LINE DRAWER CORE EXECUTION LOOP |
| 1100 | 1100 | ***************************************************************************/ |
| 1101 | 1101 | |
| 1102 | | #define VISIBLE_FIELD !m_field |
| 1103 | | |
| 1104 | 1102 | enum line_spf |
| 1105 | 1103 | { |
| 1106 | 1104 | LSPF_UNUSED = 0, |
| r25349 | r25350 | |
| 1169 | 1167 | |
| 1170 | 1168 | UINT8 cquestlin_cpu_device::cubeqcpu_get_ptr_ram_val(int i) |
| 1171 | 1169 | { |
| 1172 | | return m_ptr_ram[(VISIBLE_FIELD * 256) + i]; |
| 1170 | return m_ptr_ram[((m_field^1) * 256) + i]; |
| 1173 | 1171 | } |
| 1174 | 1172 | |
| 1175 | 1173 | |
| 1176 | 1174 | UINT32* cquestlin_cpu_device::cubeqcpu_get_stack_ram() |
| 1177 | 1175 | { |
| 1178 | | if (VISIBLE_FIELD == ODD_FIELD) |
| 1176 | if (m_field != ODD_FIELD) |
| 1179 | 1177 | return m_o_stack; |
| 1180 | 1178 | else |
| 1181 | 1179 | return m_e_stack; |