Previous 15994 Revisions Next

r1009 Wednesday 19th September, 2007 at 14:23:59 UTC by Curt Coder
[MEGASTE] Added SCC8530 wrapper
[src/mess/drivers]atarist.c
[src/mess/video]atarist.c

src/mess/video/atarist.c
r1008r1009
427427
428428READ16_HANDLER( atarist_blitter_op_r )
429429{
430   if (mem_mask == 0xff00)
430   if (ACCESSING_LSB16)
431431   {
432432      return blitter.hop;
433433   }
r1008r1009
439439
440440READ16_HANDLER( atarist_blitter_ctrl_r )
441441{
442   if (mem_mask == 0xff00)
442   if (ACCESSING_LSB16)
443443   {
444444      return blitter.ctrl;
445445   }
r1008r1009
521521
522522WRITE16_HANDLER( atarist_blitter_op_w )
523523{
524   if (mem_mask == 0xff00)
524   if (ACCESSING_LSB16)
525525   {
526526      blitter.hop = data >> 8;
527527   }
r1008r1009
533533
534534WRITE16_HANDLER( atarist_blitter_ctrl_w )
535535{
536   if (mem_mask == 0xff00)
536   if (ACCESSING_LSB16)
537537   {
538538      blitter.ctrl = data >> 8;
539539   }
src/mess/drivers/atarist.c
r1008r1009
3131   - STe DMA sound and LMC1992 Microwire mixer
3232   - Mega STe 8/16 MHz switch
3333   - Mega STe MC68881 FPU
34   - Mega STe SCC8530 interface
3534   - Mega STe LAN
3635   - MIDI interface
3736
r1008r1009
521520   }
522521}
523522
523/* SCC8530 */
524
525static READ16_HANDLER( megaste_scc8530_r )
526{
527   if (ACCESSING_MSB16)
528   {
529      return scc_r(offset);
530   }
531   else
532   {
533      return 0;
534   }
535}
536
537static WRITE16_HANDLER( megaste_scc8530_w )
538{
539   if (ACCESSING_MSB16)
540   {
541      scc_w(offset, data);
542   }
543}
544
524545/* Memory Maps */
525546
526547static ADDRESS_MAP_START( ikbd_map, ADDRESS_SPACE_PROGRAM, 8 )
r1008r1009
695716//   AM_RANGE(0xff8e20, 0xff8e21) AM_READWRITE(megaste_cache_r, megaste_cache_w)
696717   AM_RANGE(0xfffa00, 0xfffa3f) AM_READWRITE(mfp68901_0_register_lsb_r, mfp68901_0_register_msb_w)
697718//   AM_RANGE(0xfffa40, 0xfffa5f) AM_READWRITE(megaste_fpu_r, megaste_fpu_w)
698//   AM_RANGE(0xff8c80, 0xff8c87) AM_READWRITE(megaste_scc8530_r, megaste_scc8530_w)
719   AM_RANGE(0xff8c80, 0xff8c87) AM_READWRITE(megaste_scc8530_r, megaste_scc8530_w)
699720   AM_RANGE(0xfffc00, 0xfffc01) AM_READWRITE(acia6850_0_stat_msb_r, acia6850_0_ctrl_msb_w)
700721   AM_RANGE(0xfffc02, 0xfffc03) AM_READWRITE(acia6850_0_data_msb_r, acia6850_0_data_msb_w)
701722   AM_RANGE(0xfffc04, 0xfffc05) AM_READWRITE(acia6850_1_stat_msb_r, acia6850_1_ctrl_msb_w)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team