src/mess/drivers/mephisto.c
| r1064 | r1065 | |
| 128 | 128 | INPUT_PORTS_START( mephisto ) |
| 129 | 129 | // PORT_START_TAG("keyboard_1") |
| 130 | 130 | PORT_START //Port $2c00 |
| 131 | | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("CLEAR") PORT_CODE(KEYCODE_1) |
| 131 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("CLEAR") PORT_CODE(KEYCODE_F1) |
| 132 | 132 | PORT_START //Port $2c01 |
| 133 | | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("POS") PORT_CODE(KEYCODE_2) |
| 133 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("POS") PORT_CODE(KEYCODE_F2) |
| 134 | 134 | PORT_START //Port $2c02 |
| 135 | | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("MEM") PORT_CODE(KEYCODE_3) |
| 135 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("MEM") PORT_CODE(KEYCODE_F3) |
| 136 | 136 | PORT_START //Port $2c03 |
| 137 | | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("INFO") PORT_CODE(KEYCODE_4) |
| 137 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("INFO") PORT_CODE(KEYCODE_F4) |
| 138 | 138 | PORT_START //Port $2c04 |
| 139 | | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("LEV") PORT_CODE(KEYCODE_5) |
| 139 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("LEV") PORT_CODE(KEYCODE_F5) |
| 140 | 140 | PORT_START //Port $2c05 |
| 141 | 141 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("ENT") PORT_CODE(KEYCODE_ENTER) |
| 142 | 142 | PORT_START //Port $2c06 |
| r1064 | r1065 | |
| 146 | 146 | // PORT_START_TAG("keyboard_2") |
| 147 | 147 | PORT_START //Port $2c08 |
| 148 | 148 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("E") PORT_CODE(KEYCODE_E) |
| 149 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("5") PORT_CODE(KEYCODE_5) |
| 149 | 150 | PORT_START //Port $2c09 |
| 150 | 151 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F") PORT_CODE(KEYCODE_F) |
| 152 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("7") PORT_CODE(KEYCODE_7) |
| 151 | 153 | PORT_START //Port $2c0a |
| 152 | 154 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("G") PORT_CODE(KEYCODE_G) |
| 155 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("6") PORT_CODE(KEYCODE_6) |
| 153 | 156 | PORT_START //Port $2c0b |
| 154 | 157 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("A") PORT_CODE(KEYCODE_A) |
| 158 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("1") PORT_CODE(KEYCODE_1) |
| 155 | 159 | PORT_START //Port $2c0c |
| 156 | 160 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("H") PORT_CODE(KEYCODE_H) |
| 161 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("8") PORT_CODE(KEYCODE_8) |
| 157 | 162 | PORT_START //Port $2c0d |
| 158 | 163 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("B") PORT_CODE(KEYCODE_B) |
| 164 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("2") PORT_CODE(KEYCODE_2) |
| 159 | 165 | PORT_START //Port $2c0e |
| 160 | | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("C") PORT_CODE(KEYCODE_C) |
| 166 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("C") PORT_CODE(KEYCODE_C) |
| 167 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("3") PORT_CODE(KEYCODE_3) |
| 161 | 168 | PORT_START //Port $2c0f |
| 162 | 169 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("D") PORT_CODE(KEYCODE_D) |
| 170 | PORT_BIT(0x080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("4") PORT_CODE(KEYCODE_4) |
| 163 | 171 | INPUT_PORTS_END |
| 164 | 172 | |
| 165 | 173 | |
| r1064 | r1065 | |
| 178 | 186 | // mame_timer_pulse(MAME_TIME_IN_HZ(60), 0, update_leds); |
| 179 | 187 | mame_timer_pulse(MAME_TIME_IN_HZ(600), 0, update_nmi); |
| 180 | 188 | // cpunum_set_input_line(0, M65C02_IRQ_LINE,CLEAR_LINE); |
| 181 | | beep_set_frequency(0, 4000); |
| 189 | //beep_set_frequency(0, 4000); |
| 182 | 190 | } |
| 183 | 191 | |
| 184 | 192 | |
| r1064 | r1065 | |
| 216 | 224 | MDRV_MACHINE_START( mephisto ) |
| 217 | 225 | MDRV_MACHINE_RESET( mephisto ) |
| 218 | 226 | /* video hardware */ |
| 219 | | MDRV_DEFAULT_LAYOUT(layout_mephisto) |
| 227 | MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER) |
| 228 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32) |
| 229 | MDRV_SCREEN_SIZE(640, 480) |
| 230 | MDRV_SCREEN_VISIBLE_AREA(0, 639, 0, 479) |
| 231 | MDRV_PALETTE_LENGTH(4) |
| 232 | MDRV_DEFAULT_LAYOUT(layout_mephisto) |
| 220 | 233 | /* sound hardware */ |
| 221 | 234 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 222 | 235 | MDRV_SOUND_ADD(BEEP, 0) |
| r1064 | r1065 | |
| 239 | 252 | |
| 240 | 253 | ROM_START(mm5) |
| 241 | 254 | ROM_REGION(0x10000,REGION_CPU1,0) |
| 242 | | ROM_LOAD("mephisto5.rom", 0x8000, 0x8000, CRC(89c3d9d2) SHA1(77cd6f8eeb03c713249db140d2541e3264328048)) |
| 255 | ROM_LOAD("mephisto50.rom", 0x8000, 0x8000, CRC(89c3d9d2) SHA1(77cd6f8eeb03c713249db140d2541e3264328048)) |
| 243 | 256 | ROM_SYSTEM_BIOS( 0, "none", "No Opening Library" ) |
| 244 | 257 | ROM_SYSTEM_BIOS( 1, "hg550", "HG550 Opening Library" ) |
| 245 | 258 | ROMX_LOAD("hg550.rom", 0x4000, 0x4000, CRC(0359f13d) SHA1(833cef8302ad8d283d3f95b1d325353c7e3b8614),ROM_BIOS(2)) |
| r1064 | r1065 | |
| 261 | 274 | |
| 262 | 275 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 263 | 276 | /*CONSB( 1983, mephisto, 0, 0, mephisto, mephisto, mephisto, NULL, "Hegener & Glaser", "Mephisto Schach Computer", 0)*/ |
| 264 | | CONSB( 1983, mm4, 0, mephisto, 0, mephisto, mephisto, mephisto, NULL, "Hegener & Glaser", "Mephisto 4 Schach Computer", 0) |
| 265 | | CONSB( 1983, mm5, 0, mephisto, 0, mephisto, mephisto, mephisto, NULL, "Hegener & Glaser", "Mephisto 5 Schach Computer", 0) |
| 266 | | CONSB( 1983, rebel5, 0, mephisto, 0, rebel5, mephisto, mephisto, NULL, "Hegener & Glaser", "Rebel 5 Schach Computer", 0) |
| 277 | CONSB( 1987, mm4, 0, mephisto, 0, mephisto, mephisto, mephisto, NULL, "Hegener & Glaser", "Mephisto 4 Schach Computer", 0) |
| 278 | CONSB( 1990, mm5, 0, mephisto, 0, mephisto, mephisto, mephisto, NULL, "Hegener & Glaser", "Mephisto 5 Schach Computer", 0) |
| 279 | CONSB( 1986, rebel5, 0, mephisto, 0, rebel5, mephisto, mephisto, NULL, "Hegener & Glaser", "Mephisto Rebel 5 Schach Computer", 0) |
| 267 | 280 | // second design sold (same computer/program?) |