src/mess/machine/isa_sblaster.c
| r11107 | r11108 | |
| 64 | 64 | } |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | static READ8_DEVICE_HANDLER( saa1099_16_r ) |
| 68 | { |
| 69 | return 0xff; |
| 70 | } |
| 71 | |
| 72 | static WRITE8_DEVICE_HANDLER( saa1099_16_w ) |
| 73 | { |
| 74 | switch(offset) |
| 75 | { |
| 76 | case 0 : saa1099_control_w( device, offset, data ); break; |
| 77 | case 1 : saa1099_data_w( device, offset, data ); break; |
| 78 | } |
| 79 | } |
| 80 | |
| 67 | 81 | //************************************************************************** |
| 68 | 82 | // GLOBAL VARIABLES |
| 69 | 83 | //************************************************************************** |
| r11107 | r11108 | |
| 137 | 151 | { |
| 138 | 152 | m_isa->add_isa_card(this, m_config.m_isa_num); |
| 139 | 153 | m_isa->install_device(subdevice("ym3812"), 0x0388, 0x0389, 0, 0, ym3812_16_r, ym3812_16_w ); |
| 140 | | |
| 154 | m_isa->install_device(subdevice("saa1099.1"), 0x0220, 0x0221, 0, 0, saa1099_16_r, saa1099_16_w ); |
| 155 | m_isa->install_device(subdevice("saa1099.2"), 0x0222, 0x0223, 0, 0, saa1099_16_r, saa1099_16_w ); |
| 141 | 156 | } |
| 142 | 157 | |
| 143 | 158 | //------------------------------------------------- |
src/mess/machine/isa_gblaster.c
| r11107 | r11108 | |
| 25 | 25 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "gblaster:mono", 0.50) |
| 26 | 26 | MACHINE_CONFIG_END |
| 27 | 27 | |
| 28 | static READ8_DEVICE_HANDLER( saa1099_16_r ) |
| 29 | { |
| 30 | return 0xff; |
| 31 | } |
| 32 | |
| 33 | static WRITE8_DEVICE_HANDLER( saa1099_16_w ) |
| 34 | { |
| 35 | switch(offset) |
| 36 | { |
| 37 | case 0 : saa1099_control_w( device, offset, data ); break; |
| 38 | case 1 : saa1099_data_w( device, offset, data ); break; |
| 39 | } |
| 40 | } |
| 41 | |
| 28 | 42 | //************************************************************************** |
| 29 | 43 | // GLOBAL VARIABLES |
| 30 | 44 | //************************************************************************** |
| r11107 | r11108 | |
| 97 | 111 | void isa8_gblaster_device::device_start() |
| 98 | 112 | { |
| 99 | 113 | m_isa->add_isa_card(this, m_config.m_isa_num); |
| 114 | m_isa->install_device(subdevice("saa1099.1"), 0x0220, 0x0221, 0, 0, saa1099_16_r, saa1099_16_w ); |
| 115 | m_isa->install_device(subdevice("saa1099.2"), 0x0222, 0x0223, 0, 0, saa1099_16_r, saa1099_16_w ); |
| 100 | 116 | } |
| 101 | 117 | |
| 102 | 118 | //------------------------------------------------- |