trunk/src/mame/drivers/plygonet.c
| r29229 | r29230 | |
| 215 | 215 | if (mem_mask == 0xffff0000) |
| 216 | 216 | { |
| 217 | 217 | logerror("68k WRITING %04x to shared ram %x (@%x)\n", (m_shared_ram[offset] & 0xffff0000) >> 16, |
| 218 | | 0xc000 + (offset<<1), |
| 219 | | space.device().safe_pc()); |
| 218 | 0xc000 + (offset<<1), |
| 219 | space.device().safe_pc()); |
| 220 | 220 | } |
| 221 | 221 | else if (mem_mask == 0x0000ffff) |
| 222 | 222 | { |
| 223 | 223 | logerror("68k WRITING %04x to shared ram %x (@%x)\n", (m_shared_ram[offset] & 0x0000ffff), |
| 224 | | 0xc000 +((offset<<1)+1), |
| 225 | | space.device().safe_pc()); |
| 224 | 0xc000 +((offset<<1)+1), |
| 225 | space.device().safe_pc()); |
| 226 | 226 | } |
| 227 | 227 | else |
| 228 | 228 | { |
| 229 | 229 | logerror("68k WRITING %04x & %04x to shared ram %x & %x [%08x] (@%x)\n", (m_shared_ram[offset] & 0xffff0000) >> 16, |
| 230 | | (m_shared_ram[offset] & 0x0000ffff), |
| 231 | | 0xc000 + (offset<<1), |
| 232 | | 0xc000 +((offset<<1)+1), |
| 233 | | mem_mask, |
| 234 | | space.device().safe_pc()); |
| 230 | (m_shared_ram[offset] & 0x0000ffff), |
| 231 | 0xc000 + (offset<<1), |
| 232 | 0xc000 +((offset<<1)+1), |
| 233 | mem_mask, |
| 234 | space.device().safe_pc()); |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | /* write to the current dsp56k word */ |
| 238 | | if (mem_mask | (0xffff0000)) |
| 238 | if (mem_mask & 0xffff0000) |
| 239 | 239 | { |
| 240 | 240 | m_dsp56k_shared_ram_16[(offset<<1)] = (m_shared_ram[offset] & 0xffff0000) >> 16 ; |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | /* write to the next dsp56k word */ |
| 244 | | if (mem_mask | (0x0000ffff)) |
| 244 | if (mem_mask & 0x0000ffff) |
| 245 | 245 | { |
| 246 | 246 | m_dsp56k_shared_ram_16[(offset<<1)+1] = (m_shared_ram[offset] & 0x0000ffff) ; |
| 247 | 247 | } |