]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Init PMASK, remove logging
authorToni Wilen <twilen@winuae.net>
Sat, 16 Sep 2023 18:21:06 +0000 (21:21 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 16 Sep 2023 18:21:06 +0000 (21:21 +0300)
mame/a2410.cpp
mame/tm34010/tms34010.cpp

index a5d79680ba7aff7696e8cdf0f0ebc1831876858f..be7cf9f47162e0d1c341673a1336879a44cc8a02 100644 (file)
@@ -358,7 +358,7 @@ UINT8 address_space::read_byte(UINT32 a)
                break;
                case A2410_BANK_CONTROL:
                v = get_a2410_control(data);
-               write_log(_T("CONTROL READ %08x = %02x PC=%08x\n"), aa, v, M68K_GETPC);
+               //write_log(_T("CONTROL READ %08x = %02x PC=%08x\n"), aa, v, M68K_GETPC);
                break;
                case A2410_BANK_DMA:
                if (valid_dma(data, addr)) {
@@ -408,7 +408,7 @@ UINT16 address_space::read_word(UINT32 a)
                break;
                case A2410_BANK_CONTROL:
                v = get_a2410_control(data);
-               write_log(_T("CONTROL READ %08x = %02x PC=%08x\n"), aa, v, M68K_GETPC);
+               //write_log(_T("CONTROL READ %08x = %02x PC=%08x\n"), aa, v, M68K_GETPC);
                break;
                case A2410_BANK_DMA:
                if (valid_dma(data, addr)) {
@@ -450,7 +450,7 @@ void address_space::write_byte(UINT32 a, UINT8 b)
                }
                break;
                case A2410_BANK_CONTROL:
-               write_log(_T("CONTROL WRITE %08x = %02x PC=%08x\n"), aa, b, M68K_GETPC);
+               //write_log(_T("CONTROL WRITE %08x = %02x PC=%08x\n"), aa, b, M68K_GETPC);
                data->a2410_control = b;
                break;
                case A2410_BANK_DMA:
@@ -498,7 +498,7 @@ void address_space::write_word(UINT32 a, UINT16 b)
                }
                break;
                case A2410_BANK_CONTROL:
-               write_log(_T("CONTROL WRITE %08x = %04x PC=%08x\n"), aa, b, M68K_GETPC);
+               //write_log(_T("CONTROL WRITE %08x = %04x PC=%08x\n"), aa, b, M68K_GETPC);
                data->a2410_control = b;
                break;
                case A2410_BANK_DMA:
index ef40e0565caa565653198a3abbd55be9e3519c51..58ecb5d7140b4c83288b5103c6aaa3b36ee39842 100644 (file)
@@ -650,6 +650,8 @@ void tms340x0_device::device_reset()
        memset(m_regs, 0, sizeof(m_regs));
        memset(m_IOregs, 0, sizeof(m_IOregs));
        memset(m_shiftreg, 0, sizeof(m_shiftreg));
+       m_plane_mask = 0x00000000;
+       m_plane_mask_inv = 0xffffffff;
 
        /* fetch the initial PC and reset the state */
        m_pc = RLONG(0xffffffe0) & 0xfffffff0;