trunk/src/emu/cpu/tms0980/tms0980.c
| r19731 | r19732 | |
| 960 | 960 | if ( cpustate->m_decode & F_TDO ) |
| 961 | 961 | { |
| 962 | 962 | /* Calculate O-outputs based on status latch, A, and the output PLA configuration */ |
| 963 | | //printf("o output m_status_latch = %X, m_a = %X\n", cpustate->m_status_latch, cpustate->m_a); |
| 964 | 963 | cpustate->m_o = cpustate->config->o_pla[ ( cpustate->m_status_latch << 4 ) | cpustate->m_a ]; |
| 965 | | //if ( cpustate->m_o == 0 ) |
| 964 | if ( ( cpustate->config->o_pla[ ( cpustate->m_status_latch << 4 ) | cpustate->m_a ] & 0xFF00 ) == 0xFF00 ) |
| 965 | { |
| 966 | logerror("unknown output pla mapping for status latch = %d and a = %X\n", cpustate->m_status_latch, cpustate->m_a); |
| 967 | } |
| 968 | //if ( ( cpustate->config->o_pla[ ( cpustate->m_status_latch << 4 ) | cpustate->m_a ] & 0xFF00 ) == 0xFF00 ) |
| 966 | 969 | //printf("****** o output m_status_latch = %X, m_a = %X\n", cpustate->m_status_latch, cpustate->m_a); |
| 967 | 970 | //else |
| 968 | 971 | //printf("o output m_status_latch = %X, m_a = %X\n", cpustate->m_status_latch, cpustate->m_a); |