src/mess/machine/isa_sblaster.c
| r14033 | r14034 | |
| 54 | 54 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* Bx */ |
| 55 | 55 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* Cx */ |
| 56 | 56 | -1, 1, -1, 1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, /* Dx */ |
| 57 | | 2, 1, 1, -1, 2, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, /* Ex */ |
| 57 | 2, 1, 2, -1, 2, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, /* Ex */ |
| 58 | 58 | -1, -1, 1, -1, -1, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1 /* Fx */ |
| 59 | 59 | }; |
| 60 | 60 | |
| r14033 | r14034 | |
| 204 | 204 | |
| 205 | 205 | READ8_MEMBER( sb8_device::dsp_data_r ) |
| 206 | 206 | { |
| 207 | // printf("dsp_data_r: offset %x\n", offset); |
| 207 | 208 | if(offset) |
| 208 | 209 | return 0xff; |
| 209 | 210 | |
| r14033 | r14034 | |
| 283 | 284 | m_dsp.prot_count++; |
| 284 | 285 | } |
| 285 | 286 | |
| 286 | | // this wants to return prot_data by DMA. how does ISA DMA work? |
| 287 | // this wants to return prot_data by a 1 byte DMA. how does ISA DMA work? |
| 288 | queue_r(m_dsp.prot_value); |
| 287 | 289 | m_isa->drq1_w(1); |
| 288 | 290 | break; |
| 289 | 291 | case 0xe4: // write test register |
| r14033 | r14034 | |
| 307 | 309 | |
| 308 | 310 | WRITE8_MEMBER(sb8_device::dsp_cmd_w) |
| 309 | 311 | { |
| 312 | // printf("dsp_cmd_w: offset %x data %02x\n", offset, data); |
| 310 | 313 | if(offset) |
| 311 | 314 | return; |
| 312 | 315 | |