Previous 15994 Revisions Next

r14034 Sunday 15th January, 2012 at 05:34:19 UTC by R. Belmont
sblaster: fixed e2 command length. needs DMA to work? (nw)
[src/mess/machine]isa_sblaster.c

src/mess/machine/isa_sblaster.c
r14033r14034
5454   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,   -1, -1, -1, -1, -1, /* Bx */
5555   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,   -1, -1, -1, -1, -1, /* Cx */
5656   -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 */
5858   -1, -1,  1, -1, -1, -1, -1, -1,  1, -1, -1,   -1, -1, -1, -1, -1  /* Fx */
5959};
6060
r14033r14034
204204
205205READ8_MEMBER( sb8_device::dsp_data_r )
206206{
207//    printf("dsp_data_r: offset %x\n", offset);
207208   if(offset)
208209      return 0xff;
209210
r14033r14034
283284                    m_dsp.prot_count++;
284285                }
285286               
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);
287289                m_isa->drq1_w(1);
288290                break;
289291         case 0xe4: // write test register
r14033r14034
307309
308310WRITE8_MEMBER(sb8_device::dsp_cmd_w)
309311{
312//    printf("dsp_cmd_w: offset %x data %02x\n", offset, data);
310313   if(offset)
311314      return;
312315

Previous 15994 Revisions Next


© 1998-2018 The MESS Team