From: Toni Wilen Date: Sat, 16 Sep 2023 18:21:06 +0000 (+0300) Subject: Init PMASK, remove logging X-Git-Tag: 5.1.0~119 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=2ad2b222e7722976d8d89a54c27b7e39aa36ba70;p=francis%2Fwinuae.git Init PMASK, remove logging --- diff --git a/mame/a2410.cpp b/mame/a2410.cpp index a5d79680..be7cf9f4 100644 --- a/mame/a2410.cpp +++ b/mame/a2410.cpp @@ -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: diff --git a/mame/tm34010/tms34010.cpp b/mame/tm34010/tms34010.cpp index ef40e056..58ecb5d7 100644 --- a/mame/tm34010/tms34010.cpp +++ b/mame/tm34010/tms34010.cpp @@ -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;