Previous 199869 Revisions Next

r19732 Saturday 22nd December, 2012 at 19:36:08 UTC by Wilbert Pol
write to the log whenever an unknown output pla config is encountered (nw)
[src/emu/cpu/tms0980]tms0980.c

trunk/src/emu/cpu/tms0980/tms0980.c
r19731r19732
960960            if ( cpustate->m_decode & F_TDO )
961961            {
962962               /* 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);
964963               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 )
966969//printf("****** o output m_status_latch = %X, m_a = %X\n", cpustate->m_status_latch, cpustate->m_a);
967970//else
968971//printf("o output m_status_latch = %X, m_a = %X\n", cpustate->m_status_latch, cpustate->m_a);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team