trunk/src/mame/drivers/deco_mlc.c
| r21949 | r21950 | |
| 260 | 260 | if (offset==0x5c4) |
| 261 | 261 | return 0xaa55 << 16; |
| 262 | 262 | if (offset==0x7a4) |
| 263 | | return 0x0002 << 16; |
| 263 | return 0x0001 << 16; // "2" makes OUT count to add by 2. |
| 264 | 264 | if (offset==0x53c) |
| 265 | 265 | return 0x0008 << 16; |
| 266 | 266 | if (offset==0x304) |
| r21949 | r21950 | |
| 276 | 276 | printf("%08x: Write prot %04x %08x\n", space.device().safe_pc(), offset, data); |
| 277 | 277 | } |
| 278 | 278 | |
| 279 | | READ32_MEMBER( deco_mlc_state::mlc_spriteram_r ) |
| 279 | READ32_MEMBER( deco_mlc_state::mlc_spriteram_r ) |
| 280 | 280 | { |
| 281 | 281 | UINT32 retdata = 0; |
| 282 | 282 | |
| r21949 | r21950 | |
| 284 | 284 | { |
| 285 | 285 | retdata |= 0xffff0000; |
| 286 | 286 | } |
| 287 | | |
| 287 | |
| 288 | 288 | if (mem_mask & 0x0000ffff) |
| 289 | 289 | { |
| 290 | 290 | retdata |= m_mlc_spriteram[offset]; |
| r21949 | r21950 | |
| 294 | 294 | } |
| 295 | 295 | |
| 296 | 296 | |
| 297 | | WRITE32_MEMBER( deco_mlc_state::mlc_spriteram_w ) |
| 297 | WRITE32_MEMBER( deco_mlc_state::mlc_spriteram_w ) |
| 298 | 298 | { |
| 299 | 299 | if (mem_mask & 0xffff0000) |
| 300 | 300 | { |
| 301 | | |
| 301 | |
| 302 | 302 | } |
| 303 | 303 | |
| 304 | 304 | if (mem_mask & 0x0000ffff) |