src/mess/drivers/glasgow.c
| r12981 | r12982 | |
| 28 | 28 | 3. Computer plays black, it will work out its move and beep. |
| 29 | 29 | 4. Read the move in the display, or look for the flashing LEDs. |
| 30 | 30 | 5. Move the computer's piece in the same way you moved yours. |
| 31 | | 6. If a piece is being taken, firstly click on the piece then click the blank |
| 32 | | area at bottom right. This causes the piece to disappear. After that, |
| 33 | | move the piece that took the other piece. |
| 31 | 6. If a piece is being taken, firstly click on the piece then click the board |
| 32 | edge. This causes the piece to disappear. After that, move the piece that |
| 33 | took the other piece. |
| 34 | 34 | 7. You'll need to read the official user manual for advanced features, or if |
| 35 | 35 | you get messages such as "Err1". |
| 36 | 36 | |
| 37 | | Note about clickable artwork: it seems the horizontal coordinates can vary |
| 38 | | between computers. The supplied artwork at svn r6463 works with my |
| 39 | | computer; it may be out of alignment on yours. |
| 37 | Note about clickable artwork: You need to be running in windowed mode; |
| 38 | and you need to use newui. |
| 40 | 39 | |
| 41 | 40 | R.Schaefer Oct 2010 |
| 42 | 41 | |
| r12981 | r12982 | |
| 46 | 45 | 4. Save states added. |
| 47 | 46 | |
| 48 | 47 | ***************************************************************************/ |
| 48 | #define ADDRESS_MAP_MODERN |
| 49 | 49 | |
| 50 | 50 | #include "emu.h" |
| 51 | 51 | #include "cpu/m68000/m68000.h" |
| r12981 | r12982 | |
| 58 | 58 | { |
| 59 | 59 | public: |
| 60 | 60 | glasgow_state(const machine_config &mconfig, device_type type, const char *tag) |
| 61 | | : driver_device(mconfig, type, tag) { } |
| 61 | : driver_device(mconfig, type, tag), |
| 62 | m_maincpu(*this, "maincpu"), |
| 63 | m_beep(*this, BEEPER_TAG) |
| 64 | { } |
| 62 | 65 | |
| 66 | required_device<cpu_device> m_maincpu; |
| 67 | required_device<device_t> m_beep; |
| 68 | DECLARE_WRITE16_MEMBER(glasgow_lcd_w); |
| 69 | DECLARE_WRITE16_MEMBER(glasgow_lcd_flag_w); |
| 70 | DECLARE_READ16_MEMBER(glasgow_keys_r); |
| 71 | DECLARE_WRITE16_MEMBER(glasgow_keys_w); |
| 72 | DECLARE_WRITE16_MEMBER(write_lcd); |
| 73 | DECLARE_WRITE16_MEMBER(write_lcd_flag); |
| 74 | DECLARE_WRITE16_MEMBER(write_irq_flag); |
| 75 | DECLARE_READ16_MEMBER(read_newkeys16); |
| 76 | DECLARE_WRITE32_MEMBER(write_lcd32); |
| 77 | DECLARE_WRITE32_MEMBER(write_lcd_flag32); |
| 78 | DECLARE_READ32_MEMBER(read_newkeys32); |
| 79 | DECLARE_WRITE32_MEMBER(write_beeper32); |
| 63 | 80 | UINT8 m_lcd_shift_counter; |
| 64 | 81 | UINT8 m_led7; |
| 65 | 82 | UINT8 m_irq_flag; |
| r12981 | r12982 | |
| 68 | 85 | |
| 69 | 86 | |
| 70 | 87 | |
| 71 | | static WRITE16_HANDLER( glasgow_lcd_w ) |
| 88 | WRITE16_MEMBER( glasgow_state::glasgow_lcd_w ) |
| 72 | 89 | { |
| 73 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 74 | 90 | UINT8 lcd_data = data >> 8; |
| 75 | 91 | |
| 76 | | if (state->m_led7 == 0) |
| 77 | | output_set_digit_value(state->m_lcd_shift_counter, lcd_data); |
| 92 | if (m_led7 == 0) |
| 93 | output_set_digit_value(m_lcd_shift_counter, lcd_data); |
| 78 | 94 | |
| 79 | | state->m_lcd_shift_counter--; |
| 80 | | state->m_lcd_shift_counter &= 3; |
| 95 | m_lcd_shift_counter--; |
| 96 | m_lcd_shift_counter &= 3; |
| 81 | 97 | } |
| 82 | 98 | |
| 83 | | static WRITE16_HANDLER( glasgow_lcd_flag_w ) |
| 99 | WRITE16_MEMBER( glasgow_state::glasgow_lcd_flag_w ) |
| 84 | 100 | { |
| 85 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 86 | | device_t *speaker = space->machine().device(BEEPER_TAG); |
| 87 | 101 | UINT16 lcd_flag = data & 0x8100; |
| 88 | 102 | |
| 89 | | beep_set_state(speaker, (lcd_flag & 0x100) ? 1 : 0); |
| 103 | beep_set_state(m_beep, BIT(lcd_flag, 8)); |
| 90 | 104 | |
| 91 | 105 | if (lcd_flag) |
| 92 | | state->m_led7 = 255; |
| 106 | m_led7 = 255; |
| 93 | 107 | else |
| 94 | 108 | { |
| 95 | | state->m_led7 = 0; |
| 109 | m_led7 = 0; |
| 96 | 110 | mboard_key_selector = 1; |
| 97 | 111 | } |
| 98 | 112 | } |
| 99 | 113 | |
| 100 | | static READ16_HANDLER( glasgow_keys_r ) |
| 114 | READ16_MEMBER( glasgow_state::glasgow_keys_r ) |
| 101 | 115 | { |
| 102 | 116 | UINT8 data = 0xff; |
| 103 | 117 | |
| 104 | 118 | /* See if any keys pressed */ |
| 105 | 119 | data = 3; |
| 106 | 120 | |
| 107 | | if (mboard_key_select == input_port_read(space->machine(), "LINE0")) |
| 121 | if (mboard_key_select == input_port_read(machine(), "LINE0")) |
| 108 | 122 | data &= 1; |
| 109 | 123 | |
| 110 | | if (mboard_key_select == input_port_read(space->machine(), "LINE1")) |
| 124 | if (mboard_key_select == input_port_read(machine(), "LINE1")) |
| 111 | 125 | data &= 2; |
| 112 | 126 | |
| 113 | 127 | return data << 8; |
| 114 | 128 | } |
| 115 | 129 | |
| 116 | | static WRITE16_HANDLER( glasgow_keys_w ) |
| 130 | WRITE16_MEMBER( glasgow_state::glasgow_keys_w ) |
| 117 | 131 | { |
| 118 | 132 | mboard_key_select = data >> 8; |
| 119 | 133 | } |
| 120 | 134 | |
| 121 | | static WRITE16_HANDLER( write_lcd ) |
| 135 | WRITE16_MEMBER( glasgow_state::write_lcd ) |
| 122 | 136 | { |
| 123 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 124 | 137 | UINT8 lcd_data = data >> 8; |
| 125 | 138 | |
| 126 | | output_set_digit_value(state->m_lcd_shift_counter, mboard_lcd_invert & 1 ? lcd_data^0xff : lcd_data); |
| 127 | | state->m_lcd_shift_counter--; |
| 128 | | state->m_lcd_shift_counter &= 3; |
| 139 | output_set_digit_value(m_lcd_shift_counter, mboard_lcd_invert & 1 ? lcd_data^0xff : lcd_data); |
| 140 | m_lcd_shift_counter--; |
| 141 | m_lcd_shift_counter &= 3; |
| 129 | 142 | logerror("LCD Offset = %d Data low = %x \n", offset, lcd_data); |
| 130 | 143 | } |
| 131 | 144 | |
| 132 | | static WRITE16_HANDLER( write_lcd_flag ) |
| 145 | WRITE16_MEMBER( glasgow_state::write_lcd_flag ) |
| 133 | 146 | { |
| 134 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 135 | 147 | // UINT8 lcd_flag; |
| 136 | 148 | mboard_lcd_invert = 0; |
| 137 | 149 | // lcd_flag=data >> 8; |
| 138 | 150 | //beep_set_state(0, (data >> 8) & 1 ? 1 : 0); |
| 139 | | if ((data >> 8) == 0) { |
| 151 | if ((data >> 8) == 0) |
| 152 | { |
| 140 | 153 | mboard_key_selector = 1; |
| 141 | | state->m_led7 = 0; |
| 142 | | } else { |
| 143 | | state->m_led7 = 0xff; |
| 154 | m_led7 = 0; |
| 144 | 155 | } |
| 156 | else |
| 157 | m_led7 = 0xff; |
| 145 | 158 | |
| 159 | |
| 146 | 160 | // The key function in the rom expects after writing to |
| 147 | 161 | // the a value from the second key row; |
| 148 | 162 | // if (lcd_flag != 0) |
| 149 | | // state->m_led7 = 255; |
| 163 | // m_led7 = 255; |
| 150 | 164 | // else |
| 151 | | // state->m_led7 = 0; |
| 165 | // m_led7 = 0; |
| 152 | 166 | // |
| 153 | 167 | logerror("LCD Flag 16 = %x \n", data); |
| 154 | 168 | } |
| 155 | 169 | |
| 156 | | static WRITE16_HANDLER( write_irq_flag ) |
| 170 | WRITE16_MEMBER( glasgow_state::write_irq_flag ) |
| 157 | 171 | { |
| 158 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 159 | | device_t *speaker = space->machine().device(BEEPER_TAG); |
| 160 | | |
| 161 | | beep_set_state(speaker, data & 0x100); |
| 172 | beep_set_state(m_beep, data & 0x100); |
| 162 | 173 | logerror("Write 0x800004 = %x \n", data); |
| 163 | | state->m_irq_flag = 1; |
| 164 | | state->m_beeper = data; |
| 174 | m_irq_flag = 1; |
| 175 | m_beeper = data; |
| 165 | 176 | } |
| 166 | 177 | |
| 167 | | static READ16_HANDLER( read_newkeys16 ) //Amsterdam, Roma |
| 178 | READ16_MEMBER( glasgow_state::read_newkeys16 ) //Amsterdam, Roma |
| 168 | 179 | { |
| 169 | 180 | UINT16 data; |
| 170 | 181 | |
| 171 | 182 | if (mboard_key_selector == 0) |
| 172 | | data = input_port_read(space->machine(), "LINE0"); |
| 183 | data = input_port_read(machine(), "LINE0"); |
| 173 | 184 | else |
| 174 | | data = input_port_read(space->machine(), "LINE1"); |
| 185 | data = input_port_read(machine(), "LINE1"); |
| 175 | 186 | |
| 176 | 187 | logerror("read Keyboard Offset = %x Data = %x Select = %x \n", offset, data, mboard_key_selector); |
| 177 | 188 | data <<= 8; |
| r12981 | r12982 | |
| 180 | 191 | |
| 181 | 192 | |
| 182 | 193 | #ifdef UNUSED_FUNCTION |
| 183 | | static READ16_HANDLER(read_test) |
| 194 | READ16_HANDLER(read_test) |
| 184 | 195 | { |
| 185 | 196 | logerror("read test Offset = %x Data = %x\n ",offset,data); |
| 186 | 197 | return 0xffff; // Mephisto need it for working |
| r12981 | r12982 | |
| 193 | 204 | |
| 194 | 205 | */ |
| 195 | 206 | |
| 196 | | static WRITE32_HANDLER( write_lcd32 ) |
| 207 | WRITE32_MEMBER( glasgow_state::write_lcd32 ) |
| 197 | 208 | { |
| 198 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 199 | 209 | UINT8 lcd_data = data >> 8; |
| 200 | 210 | |
| 201 | | output_set_digit_value(state->m_lcd_shift_counter, mboard_lcd_invert & 1 ? lcd_data^0xff : lcd_data); |
| 202 | | state->m_lcd_shift_counter--; |
| 203 | | state->m_lcd_shift_counter &= 3; |
| 211 | output_set_digit_value(m_lcd_shift_counter, mboard_lcd_invert & 1 ? lcd_data^0xff : lcd_data); |
| 212 | m_lcd_shift_counter--; |
| 213 | m_lcd_shift_counter &= 3; |
| 204 | 214 | //logerror("LCD Offset = %d Data = %x \n ", offset, lcd_data); |
| 205 | 215 | } |
| 206 | 216 | |
| 207 | | static WRITE32_HANDLER( write_lcd_flag32 ) |
| 217 | WRITE32_MEMBER( glasgow_state::write_lcd_flag32 ) |
| 208 | 218 | { |
| 209 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 210 | 219 | // UINT8 lcd_flag = data >> 24; |
| 211 | 220 | |
| 212 | 221 | mboard_lcd_invert = 0; |
| 213 | 222 | |
| 214 | | if ((data >> 24) == 0) { |
| 223 | if ((data >> 24) == 0) |
| 224 | { |
| 215 | 225 | mboard_key_selector = 1; |
| 216 | | state->m_led7 = 0; |
| 217 | | } else { |
| 218 | | state->m_led7 = 0xff; |
| 226 | m_led7 = 0; |
| 219 | 227 | } |
| 228 | else |
| 229 | m_led7 = 0xff; |
| 220 | 230 | |
| 231 | |
| 221 | 232 | //logerror("LCD Flag 32 = %x \n", data >> 24); |
| 222 | 233 | //beep_set_state(0, (data >> 24) & 1 ? 1 : 0); |
| 223 | 234 | |
| 224 | 235 | // if (lcd_flag != 0) |
| 225 | | // state->m_led7 = 255; |
| 236 | // m_led7 = 255; |
| 226 | 237 | // else |
| 227 | | // state->m_led7 = 0; |
| 238 | // m_led7 = 0; |
| 228 | 239 | } |
| 229 | 240 | |
| 230 | | static READ32_HANDLER( read_newkeys32 ) // Dallas 32, Roma 32 |
| 241 | READ32_MEMBER( glasgow_state::read_newkeys32 ) // Dallas 32, Roma 32 |
| 231 | 242 | { |
| 232 | 243 | UINT32 data; |
| 233 | 244 | |
| 234 | 245 | if (mboard_key_selector == 0) |
| 235 | | data = input_port_read(space->machine(), "LINE0"); |
| 246 | data = input_port_read(machine(), "LINE0"); |
| 236 | 247 | else |
| 237 | | data = input_port_read(space->machine(), "LINE1"); |
| 248 | data = input_port_read(machine(), "LINE1"); |
| 238 | 249 | //if (mboard_key_selector == 1) data = input_port_read(machine, "LINE0"); else data = 0; |
| 239 | 250 | if(data) |
| 240 | 251 | logerror("read Keyboard Offset = %x Data = %x\n", offset, data); |
| r12981 | r12982 | |
| 243 | 254 | } |
| 244 | 255 | |
| 245 | 256 | #ifdef UNUSED_FUNCTION |
| 246 | | static READ16_HANDLER(read_board_amsterd) |
| 257 | READ16_HANDLER(read_board_amsterd) |
| 247 | 258 | { |
| 248 | 259 | logerror("read board amsterdam Offset = %x \n ", offset); |
| 249 | 260 | return 0xffff; |
| 250 | 261 | } |
| 251 | 262 | #endif |
| 252 | 263 | |
| 253 | | static WRITE32_HANDLER ( write_beeper32 ) |
| 264 | WRITE32_MEMBER( glasgow_state::write_beeper32 ) |
| 254 | 265 | { |
| 255 | | glasgow_state *state = space->machine().driver_data<glasgow_state>(); |
| 256 | | device_t *speaker = space->machine().device(BEEPER_TAG); |
| 257 | | beep_set_state(speaker, data & 0x01000000); |
| 266 | beep_set_state(m_beep, data & 0x01000000); |
| 258 | 267 | logerror("Write 0x8000004 = %x \n", data); |
| 259 | | state->m_irq_flag = 1; |
| 260 | | state->m_beeper = data; |
| 268 | m_irq_flag = 1; |
| 269 | m_beeper = data; |
| 261 | 270 | } |
| 262 | 271 | |
| 263 | 272 | static TIMER_DEVICE_CALLBACK( update_nmi ) |
| r12981 | r12982 | |
| 273 | 282 | static MACHINE_START( glasgow ) |
| 274 | 283 | { |
| 275 | 284 | glasgow_state *state = machine.driver_data<glasgow_state>(); |
| 276 | | device_t *speaker = machine.device(BEEPER_TAG); |
| 277 | 285 | |
| 278 | 286 | mboard_key_selector = 0; |
| 279 | 287 | state->m_irq_flag = 0; |
| 280 | 288 | state->m_lcd_shift_counter = 3; |
| 281 | | beep_set_frequency(speaker, 44); |
| 289 | beep_set_frequency(state->m_beep, 44); |
| 282 | 290 | |
| 283 | 291 | mboard_savestate_register(machine); |
| 284 | 292 | } |
| r12981 | r12982 | |
| 287 | 295 | static MACHINE_START( dallas32 ) |
| 288 | 296 | { |
| 289 | 297 | glasgow_state *state = machine.driver_data<glasgow_state>(); |
| 290 | | device_t *speaker = machine.device(BEEPER_TAG); |
| 291 | 298 | |
| 292 | 299 | state->m_lcd_shift_counter = 3; |
| 293 | | beep_set_frequency(speaker, 44); |
| 300 | beep_set_frequency(state->m_beep, 44); |
| 294 | 301 | |
| 295 | 302 | mboard_savestate_register(machine); |
| 296 | 303 | } |
| r12981 | r12982 | |
| 305 | 312 | mboard_set_board(); |
| 306 | 313 | } |
| 307 | 314 | |
| 308 | | static ADDRESS_MAP_START(glasgow_mem, AS_PROGRAM, 16) |
| 315 | static ADDRESS_MAP_START(glasgow_mem, AS_PROGRAM, 16, glasgow_state) |
| 309 | 316 | ADDRESS_MAP_GLOBAL_MASK(0x1FFFF) |
| 310 | 317 | AM_RANGE(0x00000000, 0x0000ffff) AM_ROM |
| 311 | | AM_RANGE(0x00010000, 0x00010001) AM_WRITE( glasgow_lcd_w ) |
| 312 | | AM_RANGE(0x00010002, 0x00010003) AM_READWRITE( glasgow_keys_r, glasgow_keys_w ) |
| 313 | | AM_RANGE(0x00010004, 0x00010005) AM_WRITE( glasgow_lcd_flag_w ) |
| 314 | | AM_RANGE(0x00010006, 0x00010007) AM_READWRITE( mboard_read_board_16, mboard_write_LED_16 ) |
| 315 | | AM_RANGE(0x00010008, 0x00010009) AM_WRITE( mboard_write_board_16 ) |
| 318 | AM_RANGE(0x00010000, 0x00010001) AM_WRITE(glasgow_lcd_w) |
| 319 | AM_RANGE(0x00010002, 0x00010003) AM_READWRITE(glasgow_keys_r,glasgow_keys_w) |
| 320 | AM_RANGE(0x00010004, 0x00010005) AM_WRITE(glasgow_lcd_flag_w) |
| 321 | AM_RANGE(0x00010006, 0x00010007) AM_READWRITE_LEGACY(mboard_read_board_16,mboard_write_LED_16) |
| 322 | AM_RANGE(0x00010008, 0x00010009) AM_WRITE_LEGACY(mboard_write_board_16) |
| 316 | 323 | AM_RANGE(0x0001c000, 0x0001ffff) AM_RAM // 16KB |
| 317 | 324 | ADDRESS_MAP_END |
| 318 | 325 | |
| 319 | 326 | |
| 320 | | static ADDRESS_MAP_START(amsterd_mem, AS_PROGRAM, 16) |
| 327 | static ADDRESS_MAP_START(amsterd_mem, AS_PROGRAM, 16, glasgow_state) |
| 321 | 328 | // ADDRESS_MAP_GLOBAL_MASK(0x7FFFF) |
| 322 | 329 | AM_RANGE(0x00000000, 0x0000ffff) AM_ROM |
| 323 | | AM_RANGE(0x00800002, 0x00800003) AM_WRITE( write_lcd ) |
| 324 | | AM_RANGE(0x00800008, 0x00800009) AM_WRITE( write_lcd_flag ) |
| 325 | | AM_RANGE(0x00800004, 0x00800005) AM_WRITE( write_irq_flag ) |
| 326 | | AM_RANGE(0x00800010, 0x00800011) AM_WRITE( mboard_write_board_16 ) |
| 327 | | AM_RANGE(0x00800020, 0x00800021) AM_READ( mboard_read_board_16 ) |
| 328 | | AM_RANGE(0x00800040, 0x00800041) AM_READ( read_newkeys16 ) |
| 329 | | AM_RANGE(0x00800088, 0x00800089) AM_WRITE( mboard_write_LED_16 ) |
| 330 | AM_RANGE(0x00800002, 0x00800003) AM_WRITE(write_lcd) |
| 331 | AM_RANGE(0x00800008, 0x00800009) AM_WRITE(write_lcd_flag) |
| 332 | AM_RANGE(0x00800004, 0x00800005) AM_WRITE(write_irq_flag) |
| 333 | AM_RANGE(0x00800010, 0x00800011) AM_WRITE_LEGACY(mboard_write_board_16) |
| 334 | AM_RANGE(0x00800020, 0x00800021) AM_READ_LEGACY(mboard_read_board_16) |
| 335 | AM_RANGE(0x00800040, 0x00800041) AM_READ(read_newkeys16) |
| 336 | AM_RANGE(0x00800088, 0x00800089) AM_WRITE_LEGACY(mboard_write_LED_16) |
| 330 | 337 | AM_RANGE(0x00ffc000, 0x00ffffff) AM_RAM // 16KB |
| 331 | 338 | ADDRESS_MAP_END |
| 332 | 339 | |
| 333 | 340 | |
| 334 | | static ADDRESS_MAP_START(dallas32_mem, AS_PROGRAM, 32) |
| 341 | static ADDRESS_MAP_START(dallas32_mem, AS_PROGRAM, 32, glasgow_state) |
| 335 | 342 | // ADDRESS_MAP_GLOBAL_MASK(0x1FFFF) |
| 336 | 343 | AM_RANGE(0x00000000, 0x0000ffff) AM_ROM |
| 337 | | AM_RANGE(0x00800000, 0x00800003) AM_WRITE( write_lcd32 ) |
| 338 | | AM_RANGE(0x00800004, 0x00800007) AM_WRITE( write_beeper32 ) |
| 339 | | AM_RANGE(0x00800008, 0x0080000B) AM_WRITE( write_lcd_flag32 ) |
| 340 | | AM_RANGE(0x00800010, 0x00800013) AM_WRITE( mboard_write_board_32 ) |
| 341 | | AM_RANGE(0x00800020, 0x00800023) AM_READ( mboard_read_board_32 ) |
| 342 | | AM_RANGE(0x00800040, 0x00800043) AM_READ( read_newkeys32 ) |
| 343 | | AM_RANGE(0x00800088, 0x0080008b) AM_WRITE( mboard_write_LED_32 ) |
| 344 | | AM_RANGE(0x0010000, 0x001ffff) AM_RAM // 64KB |
| 344 | AM_RANGE(0x00010000, 0x0001ffff) AM_RAM // 64KB |
| 345 | AM_RANGE(0x00800000, 0x00800003) AM_WRITE(write_lcd32) |
| 346 | AM_RANGE(0x00800004, 0x00800007) AM_WRITE(write_beeper32) |
| 347 | AM_RANGE(0x00800008, 0x0080000B) AM_WRITE(write_lcd_flag32) |
| 348 | AM_RANGE(0x00800010, 0x00800013) AM_WRITE_LEGACY(mboard_write_board_32) |
| 349 | AM_RANGE(0x00800020, 0x00800023) AM_READ_LEGACY(mboard_read_board_32) |
| 350 | AM_RANGE(0x00800040, 0x00800043) AM_READ(read_newkeys32) |
| 351 | AM_RANGE(0x00800088, 0x0080008b) AM_WRITE_LEGACY(mboard_write_LED_32) |
| 345 | 352 | ADDRESS_MAP_END |
| 346 | 353 | |
| 347 | 354 | static INPUT_PORTS_START( new_keyboard ) //Amsterdam, Dallas 32, Roma, Roma 32 |
| r12981 | r12982 | |
| 506 | 513 | MCFG_MACHINE_RESET(glasgow) |
| 507 | 514 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| 508 | 515 | MCFG_SOUND_ADD(BEEPER_TAG, BEEP, 0) |
| 509 | | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
| 516 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 510 | 517 | |
| 511 | 518 | MCFG_TIMER_ADD_PERIODIC("nmi_timer", update_nmi, attotime::from_hz(50)) |
| 512 | 519 | MCFG_TIMER_ADD_PERIODIC("artwork_timer", mboard_update_artwork, attotime::from_hz(100)) |
| 513 | 520 | MACHINE_CONFIG_END |
| 514 | 521 | |
| 515 | 522 | static MACHINE_CONFIG_DERIVED( amsterd, glasgow ) |
| 516 | | /* basic machine hardware */ |
| 517 | | MCFG_CPU_MODIFY("maincpu") |
| 518 | | MCFG_CPU_PROGRAM_MAP(amsterd_mem) |
| 523 | /* basic machine hardware */ |
| 524 | MCFG_CPU_MODIFY("maincpu") |
| 525 | MCFG_CPU_PROGRAM_MAP(amsterd_mem) |
| 519 | 526 | MACHINE_CONFIG_END |
| 520 | 527 | |
| 521 | 528 | static MACHINE_CONFIG_DERIVED( dallas32, glasgow ) |
| 522 | | /* basic machine hardware */ |
| 523 | | MCFG_CPU_REPLACE("maincpu", M68020, 14000000) |
| 524 | | MCFG_CPU_PROGRAM_MAP(dallas32_mem) |
| 525 | | MCFG_MACHINE_START( dallas32 ) |
| 529 | /* basic machine hardware */ |
| 530 | MCFG_CPU_REPLACE("maincpu", M68020, 14000000) |
| 531 | MCFG_CPU_PROGRAM_MAP(dallas32_mem) |
| 532 | MCFG_MACHINE_START( dallas32 ) |
| 526 | 533 | |
| 527 | 534 | MCFG_DEVICE_REMOVE("nmi_timer") |
| 528 | 535 | MCFG_TIMER_ADD_PERIODIC("nmi_timer", update_nmi32, attotime::from_hz(50)) |
| r12981 | r12982 | |
| 585 | 592 | ***************************************************************************/ |
| 586 | 593 | |
| 587 | 594 | /* YEAR, NAME, PARENT, COMPAT, MACHINE, INPUT, INIT, COMPANY, FULLNAME, FLAGS */ |
| 588 | | CONS( 1984, glasgow, 0, 0, glasgow, oldkeys, 0, "Hegener & Glaser Muenchen", "Mephisto III S Glasgow", GAME_SUPPORTS_SAVE) |
| 589 | | CONS( 1984, amsterd, 0, 0, amsterd, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Amsterdam", GAME_SUPPORTS_SAVE) |
| 590 | | CONS( 1984, dallas, glasgow, 0, glasgow, oldkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Dallas", GAME_SUPPORTS_SAVE) |
| 591 | | CONS( 1984, roma, amsterd, 0, glasgow, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Roma", GAME_NOT_WORKING) |
| 592 | | CONS( 1984, dallas32, amsterd, 0, dallas32, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Dallas 32 Bit", GAME_SUPPORTS_SAVE) |
| 593 | | CONS( 1984, roma32, amsterd, 0, dallas32, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Roma 32 Bit", GAME_SUPPORTS_SAVE) |
| 594 | | CONS( 1984, dallas16, amsterd, 0, amsterd, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Dallas 16 Bit", GAME_SUPPORTS_SAVE) |
| 595 | CONS( 1984, glasgow, 0, 0, glasgow, oldkeys, 0, "Hegener & Glaser Muenchen", "Mephisto III S Glasgow", GAME_SUPPORTS_SAVE) |
| 596 | CONS( 1984, amsterd, 0, 0, amsterd, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Amsterdam", GAME_SUPPORTS_SAVE) |
| 597 | CONS( 1984, dallas, glasgow, 0, glasgow, oldkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Dallas", GAME_SUPPORTS_SAVE) |
| 598 | CONS( 1984, roma, amsterd, 0, glasgow, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Roma", GAME_NOT_WORKING) |
| 599 | CONS( 1984, dallas32, amsterd, 0, dallas32, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Dallas 32 Bit", GAME_SUPPORTS_SAVE) |
| 600 | CONS( 1984, roma32, amsterd, 0, dallas32, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Roma 32 Bit", GAME_SUPPORTS_SAVE) |
| 601 | CONS( 1984, dallas16, amsterd, 0, amsterd, newkeys, 0, "Hegener & Glaser Muenchen", "Mephisto Dallas 16 Bit", GAME_SUPPORTS_SAVE) |