trunk/src/mame/drivers/peplus.c
| r245128 | r245129 | |
| 5930 | 5930 | Programs Available: PP0055, X000055P, PP0723 |
| 5931 | 5931 | */ |
| 5932 | 5932 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 5933 | | ROM_LOAD( "xp000098.u67", 0x00000, 0x10000, CRC(12257ad8) SHA1(8f613377519850f8f711ccb827685dece018c735) ) /* 01/29/98 @ IGT L98-0643 */ |
| 5933 | ROM_LOAD( "xp000098.u67", 0x00000, 0x10000, CRC(12257ad8) SHA1(8f613377519850f8f711ccb827685dece018c735) ) |
| 5934 | 5934 | |
| 5935 | 5935 | ROM_REGION( 0x10000, "user1", 0 ) |
| 5936 | 5936 | ROM_LOAD( "x000055p.u66", 0x00000, 0x10000, CRC(e06819df) SHA1(36590c4588b8036908e63714fbb3e77d23e60eae) ) /* Deuces Wild Poker */ |
| r245128 | r245129 | |
| 9075 | 9075 | Double Deuce Poker P236A 99.60% |
| 9076 | 9076 | */ |
| 9077 | 9077 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9078 | | ROM_LOAD( "xmp00002.u67", 0x00000, 0x10000, CRC(d5624ac8) SHA1(6b778b0e7ddb81123c6038920b3447e05a0556b2) ) /* 09/07/95 @ IGT L95-2183 - Linkable Progressive */ |
| 9078 | ROM_LOAD( "xmp00002.u67", 0x00000, 0x10000, CRC(d5624ac8) SHA1(6b778b0e7ddb81123c6038920b3447e05a0556b2) ) /* Linkable Progressive */ |
| 9079 | 9079 | |
| 9080 | 9080 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9081 | 9081 | ROM_LOAD( "xm00004p.u66", 0x00000, 0x10000, CRC(bafd160f) SHA1(7454fbf992d4d0668ef375b76ce2cae3324a5f75) ) |
| r245128 | r245129 | |
| 9104 | 9104 | */ |
| 9105 | 9105 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9106 | 9106 | ROM_LOAD( "xmp00004.u67", 0x00000, 0x10000, CRC(83184999) SHA1(b8483917b338be4fd3641b3990eea37072d36885) ) /* Linkable Progressive */ |
| 9107 | | /* Also known to be found with XMP00024 program */ |
| 9107 | /* Also known to be found with XMP00024 programs */ |
| 9108 | 9108 | |
| 9109 | 9109 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9110 | 9110 | ROM_LOAD( "xm00005p.u66", 0x00000, 0x10000, CRC(c832eac7) SHA1(747d57de602b44ae1276fe1009db1b6de0d2c64c) ) |
| r245128 | r245129 | |
| 9162 | 9162 | */ |
| 9163 | 9163 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9164 | 9164 | ROM_LOAD( "xmp00006.u67", 0x00000, 0x10000, CRC(d61f1677) SHA1(2eca1315d6aa310a54de2dfa369e443a07495b76) ) /* 07/25/96 @ IGT L96-2041 - Linkable Progressive */ |
| 9165 | | /* Also known to be found with XMP00002 program */ |
| 9166 | 9165 | |
| 9167 | 9166 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9168 | | ROM_LOAD( "xm00007p.u66", 0x00000, 0x10000, CRC(85a76416) SHA1(1bc3b9c2f687e68a085bfc5cf86d99fbd18cb9c7) ) /* 03/09/96 @ IGT L96-0737 */ |
| 9167 | ROM_LOAD( "xm00007p.u66", 0x00000, 0x10000, CRC(85a76416) SHA1(1bc3b9c2f687e68a085bfc5cf86d99fbd18cb9c7) ) |
| 9169 | 9168 | |
| 9170 | 9169 | ROM_REGION( 0x020000, "gfx1", 0 ) |
| 9171 | | ROM_LOAD( "mro-cg2233.u77", 0x00000, 0x8000, CRC(8758866a) SHA1(49146560a7e79593a2ac0378dc3b300b96ef1015) ) /* 03/07/96 @ IGT L96-0686 */ |
| 9170 | ROM_LOAD( "mro-cg2233.u77", 0x00000, 0x8000, CRC(8758866a) SHA1(49146560a7e79593a2ac0378dc3b300b96ef1015) ) |
| 9172 | 9171 | ROM_LOAD( "mgo-cg2233.u78", 0x08000, 0x8000, CRC(45ac6cfd) SHA1(25ff276320fe51c56aea0cff099be17e4ce8f404) ) |
| 9173 | 9172 | ROM_LOAD( "mbo-cg2233.u79", 0x10000, 0x8000, CRC(9e9d702f) SHA1(75bb9adb49095b7cb87d2615bcf725e4a4774e25) ) |
| 9174 | 9173 | ROM_LOAD( "mxo-cg2233.u80", 0x18000, 0x8000, CRC(2f05ebcb) SHA1(90d00ee4ce2dcbfbe33e221efe4db45a4e484baa) ) |
| r245128 | r245129 | |
| 9222 | 9221 | Double Aces & Faces ????? 99.30% |
| 9223 | 9222 | */ |
| 9224 | 9223 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9225 | | ROM_LOAD( "xmp00002.u67", 0x00000, 0x10000, CRC(d5624ac8) SHA1(6b778b0e7ddb81123c6038920b3447e05a0556b2) ) /* 09/07/95 @ IGT L95-2183 - Linkable Progressive */ |
| 9224 | ROM_LOAD( "xmp00002.u67", 0x00000, 0x10000, CRC(d5624ac8) SHA1(6b778b0e7ddb81123c6038920b3447e05a0556b2) ) /* Linkable Progressive */ |
| 9226 | 9225 | |
| 9227 | 9226 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9228 | 9227 | ROM_LOAD( "xm00009p.u66", 0x00000, 0x10000, CRC(e133d0bb) SHA1(7ed4fa335e230c28e6fc66f0c990bc7ead2b279d) ) |
| r245128 | r245129 | |
| 9342 | 9341 | |
| 9343 | 9342 | */ |
| 9344 | 9343 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9345 | | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) /* 09/17/97 @ IGT L97-2154 */ |
| 9344 | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) |
| 9346 | 9345 | |
| 9347 | 9346 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9348 | 9347 | ROM_LOAD( "x000055p.u66", 0x00000, 0x10000, CRC(e06819df) SHA1(36590c4588b8036908e63714fbb3e77d23e60eae) ) /* Deuces Wild Poker */ |
| r245128 | r245129 | |
| 9376 | 9375 | |
| 9377 | 9376 | */ |
| 9378 | 9377 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9379 | | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) /* 09/17/97 @ IGT L97-2154 */ |
| 9378 | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) |
| 9380 | 9379 | |
| 9381 | 9380 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9382 | 9381 | ROM_LOAD( "x000430p.u66", 0x00000, 0x10000, CRC(905571e3) SHA1(fd506516fed22842df8e9dbb3683dcb4c459719b) ) /* Dueces Joker Wild Poker */ |
| r245128 | r245129 | |
| 9413 | 9412 | |
| 9414 | 9413 | */ |
| 9415 | 9414 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9416 | | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) /* 09/17/97 @ IGT L97-2154 */ |
| 9415 | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) |
| 9417 | 9416 | |
| 9418 | 9417 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9419 | 9418 | ROM_LOAD( "x002272p.u66", 0x00000, 0x10000, CRC(ee4f27b9) SHA1(1ee105430358ea27badd943bb6b18663e4029388) ) /* Black Jack Bonus Poker */ |
| r245128 | r245129 | |
| 9431 | 9430 | ROM_LOAD( "x002307p.u66", 0x00000, 0x10000, CRC(c6d5db70) SHA1(017e1e382fb789e4cd8b410362ad5e82b61f61db) ) /* Triple Double Bonus Poker */ |
| 9432 | 9431 | |
| 9433 | 9432 | ROM_REGION( 0x040000, "gfx1", 0 ) |
| 9434 | | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) /* 05/29/98 @ IGT L98-1765 */ |
| 9433 | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) |
| 9435 | 9434 | ROM_LOAD( "mgo-cg2426.u78", 0x10000, 0x10000, CRC(5c8388a0) SHA1(c883bf7969850d07f37fa0fd58f82cda4cf15654) ) |
| 9436 | 9435 | ROM_LOAD( "mbo-cg2426.u79", 0x20000, 0x10000, CRC(dc6e39aa) SHA1(7a7188757f5be25521a023d1315cfd7c395b6c25) ) |
| 9437 | 9436 | ROM_LOAD( "mxo-cg2426.u80", 0x30000, 0x10000, CRC(a32f42a2) SHA1(87ddc4dda7c198ed62a2a065507efe4d3a016236) ) |
| r245128 | r245129 | |
| 9489 | 9488 | ROM_LOAD( "x002440p.u66", 0x00000, 0x10000, CRC(2ecb28cc) SHA1(a7b902bdfbf8f5ceedc778b8408c39ee279a1a1d) ) /* Deuces Wild Poker */ |
| 9490 | 9489 | |
| 9491 | 9490 | ROM_REGION( 0x040000, "gfx1", 0 ) |
| 9492 | | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) /* 05/29/98 @ IGT L98-1765 */ |
| 9491 | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) |
| 9493 | 9492 | ROM_LOAD( "mgo-cg2426.u78", 0x10000, 0x10000, CRC(5c8388a0) SHA1(c883bf7969850d07f37fa0fd58f82cda4cf15654) ) |
| 9494 | 9493 | ROM_LOAD( "mbo-cg2426.u79", 0x20000, 0x10000, CRC(dc6e39aa) SHA1(7a7188757f5be25521a023d1315cfd7c395b6c25) ) |
| 9495 | 9494 | ROM_LOAD( "mxo-cg2426.u80", 0x30000, 0x10000, CRC(a32f42a2) SHA1(87ddc4dda7c198ed62a2a065507efe4d3a016236) ) |
trunk/src/mess/drivers/ticalc1x.c
| r245128 | r245129 | |
| 8 | 8 | |
| 9 | 9 | |
| 10 | 10 | TODO: |
| 11 | | - MCU clocks are unknown where noted |
| 12 | | - lilprof78 equals-sign is always on |
| 11 | - MCU clocks are unknown |
| 12 | - lilprof equals-sign is always on |
| 13 | 13 | |
| 14 | 14 | ***************************************************************************/ |
| 15 | 15 | |
| r245128 | r245129 | |
| 70 | 70 | void display_matrix_seg(int maxx, int maxy, UINT32 setx, UINT32 sety, UINT16 segmask); |
| 71 | 71 | |
| 72 | 72 | // calculator-specific handlers |
| 73 | | void tisr16_display(); |
| 73 | void tisr16_display_update(); |
| 74 | 74 | DECLARE_WRITE16_MEMBER(tisr16_write_o); |
| 75 | 75 | DECLARE_WRITE16_MEMBER(tisr16_write_r); |
| 76 | 76 | DECLARE_READ8_MEMBER(tisr16_read_k); |
| r245128 | r245129 | |
| 84 | 84 | DECLARE_READ8_MEMBER(wizatron_read_k); |
| 85 | 85 | |
| 86 | 86 | DECLARE_WRITE16_MEMBER(lilprof_write_o); |
| 87 | DECLARE_WRITE16_MEMBER(lilprof_write_r); |
| 87 | 88 | DECLARE_READ8_MEMBER(lilprof_read_k); |
| 88 | 89 | |
| 89 | | DECLARE_WRITE16_MEMBER(lilprof78_write_o); |
| 90 | | DECLARE_WRITE16_MEMBER(lilprof78_write_r); |
| 91 | | DECLARE_READ8_MEMBER(lilprof78_read_k); |
| 92 | | |
| 93 | 90 | DECLARE_WRITE16_MEMBER(ti30_write_o); |
| 94 | 91 | DECLARE_WRITE16_MEMBER(ti30_write_r); |
| 95 | 92 | DECLARE_READ8_MEMBER(ti30_read_k); |
| r245128 | r245129 | |
| 259 | 256 | |
| 260 | 257 | ***************************************************************************/ |
| 261 | 258 | |
| 262 | | void ticalc1x_state::tisr16_display() |
| 259 | void ticalc1x_state::tisr16_display_update() |
| 263 | 260 | { |
| 264 | 261 | // update leds state |
| 265 | 262 | for (int y = 0; y < 11; y++) |
| r245128 | r245129 | |
| 278 | 275 | // R0-R10: input mux |
| 279 | 276 | // R0-R10: select digit (right-to-left) |
| 280 | 277 | m_r = m_inp_mux = data; |
| 281 | | tisr16_display(); |
| 278 | tisr16_display_update(); |
| 282 | 279 | } |
| 283 | 280 | |
| 284 | 281 | WRITE16_MEMBER(ticalc1x_state::tisr16_write_o) |
| 285 | 282 | { |
| 286 | 283 | // O0-O7: digit segments |
| 287 | 284 | m_o = data; |
| 288 | | tisr16_display(); |
| 285 | tisr16_display_update(); |
| 289 | 286 | } |
| 290 | 287 | |
| 291 | 288 | READ8_MEMBER(ticalc1x_state::tisr16_read_k) |
| r245128 | r245129 | |
| 478 | 475 | |
| 479 | 476 | WRITE16_MEMBER(ticalc1x_state::wizatron_write_r) |
| 480 | 477 | { |
| 481 | | // 6th digit is custom(not 7seg), for math symbols, like this: |
| 482 | | // \./ GAB |
| 483 | | // --- F |
| 484 | | // /.\ EDC |
| 485 | | |
| 486 | | // 3rd digit only has A and G for =, though some newer hardware revisions |
| 487 | | // (goes for both wizatron and lilprof) use a custom equals-sign digit here |
| 478 | // note: 6th digit is custom(not 7seg), for math symbols, and 3rd digit |
| 479 | // only has A and G for =, though some newer revisions use a custom digit too. |
| 488 | 480 | m_display_segmask[3] = 0x41; |
| 489 | 481 | |
| 490 | 482 | // R0-R8: select digit (right-to-left) |
| 491 | | display_matrix_seg(7, 9, m_o, data, 0x7f); |
| 483 | display_matrix_seg(8, 9, m_o, data, 0x7f); |
| 492 | 484 | } |
| 493 | 485 | |
| 494 | 486 | WRITE16_MEMBER(ticalc1x_state::wizatron_write_o) |
| r245128 | r245129 | |
| 508 | 500 | |
| 509 | 501 | static INPUT_PORTS_START( wizatron ) |
| 510 | 502 | PORT_START("IN.0") // O1 |
| 511 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_DEL) PORT_NAME("Clear") |
| 503 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_DEL) PORT_CODE(KEYCODE_DEL_PAD) PORT_NAME("CLEAR") |
| 512 | 504 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_0_PAD) PORT_NAME("0") |
| 513 | 505 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("=") |
| 514 | 506 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_PLUS_PAD) PORT_NAME("+") |
| r245128 | r245129 | |
| 555 | 547 | |
| 556 | 548 | /*************************************************************************** |
| 557 | 549 | |
| 558 | | TI Little Professor (1976 version) |
| 559 | | * TMS0970 MCU labeled TMS0975NL ZA0356, GP0975CS. die labeled 0970D-75C |
| 560 | | |
| 561 | | The hardware is nearly identical to Wiz-A-Tron (or vice versa, since this |
| 562 | | one is older). |
| 563 | | |
| 564 | | ***************************************************************************/ |
| 565 | | |
| 566 | | WRITE16_MEMBER(ticalc1x_state::lilprof_write_o) |
| 567 | | { |
| 568 | | // O1-O4,O7: input mux |
| 569 | | // O0-O6: digit segments A-G |
| 570 | | m_inp_mux = (data >> 1 & 0xf) | (data >> 3 & 0x10); |
| 571 | | m_o = data; |
| 572 | | } |
| 573 | | |
| 574 | | READ8_MEMBER(ticalc1x_state::lilprof_read_k) |
| 575 | | { |
| 576 | | return read_inputs(5); |
| 577 | | } |
| 578 | | |
| 579 | | |
| 580 | | static INPUT_PORTS_START( lilprof ) |
| 581 | | PORT_INCLUDE( wizatron ) |
| 582 | | |
| 583 | | PORT_MODIFY("IN.0") |
| 584 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_S) PORT_CODE(KEYCODE_DEL) PORT_NAME("Set") |
| 585 | | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("Go") |
| 586 | | |
| 587 | | PORT_START("IN.4") // O7 |
| 588 | | PORT_CONFNAME( 0x0f, 0x01, "Level") |
| 589 | | PORT_CONFSETTING( 0x01, "1" ) |
| 590 | | PORT_CONFSETTING( 0x02, "2" ) |
| 591 | | PORT_CONFSETTING( 0x04, "3" ) |
| 592 | | PORT_CONFSETTING( 0x08, "4" ) |
| 593 | | INPUT_PORTS_END |
| 594 | | |
| 595 | | |
| 596 | | static MACHINE_CONFIG_START( lilprof, ticalc1x_state ) |
| 597 | | |
| 598 | | /* basic machine hardware */ |
| 599 | | MCFG_CPU_ADD("maincpu", TMS0970, 250000) // guessed |
| 600 | | MCFG_TMS1XXX_READ_K_CB(READ8(ticalc1x_state, lilprof_read_k)) |
| 601 | | MCFG_TMS1XXX_WRITE_O_CB(WRITE16(ticalc1x_state, lilprof_write_o)) |
| 602 | | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(ticalc1x_state, wizatron_write_r)) |
| 603 | | |
| 604 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", ticalc1x_state, display_decay_tick, attotime::from_msec(1)) |
| 605 | | MCFG_DEFAULT_LAYOUT(layout_wizatron) |
| 606 | | |
| 607 | | /* no video! */ |
| 608 | | |
| 609 | | /* no sound! */ |
| 610 | | MACHINE_CONFIG_END |
| 611 | | |
| 612 | | |
| 613 | | |
| 614 | | |
| 615 | | |
| 616 | | /*************************************************************************** |
| 617 | | |
| 618 | | TI Little Professor (1978 version, same as 1980 version) |
| 550 | TI Little Professor '78 |
| 619 | 551 | * TMS1990 MCU labeled TMC1993NL. die labeled 1990C-c3C |
| 620 | 552 | |
| 621 | 553 | ***************************************************************************/ |
| 622 | 554 | |
| 623 | | WRITE16_MEMBER(ticalc1x_state::lilprof78_write_r) |
| 555 | WRITE16_MEMBER(ticalc1x_state::lilprof_write_r) |
| 624 | 556 | { |
| 625 | 557 | // update leds state |
| 626 | 558 | UINT8 o = BITSWAP8(m_o,7,4,3,2,1,0,6,5) & 0x7f; |
| r245128 | r245129 | |
| 632 | 564 | // 3rd digit A/G(equals sign) is from O7 |
| 633 | 565 | m_display_state[3] = (m_o & 0x80) ? 0x41 : 0; |
| 634 | 566 | |
| 635 | | // 6th digit is a custom 7seg for math symbols (see wizatron_write_r) |
| 567 | // 6th digit is a custom 7seg for math symbols |
| 636 | 568 | m_display_state[6] = BITSWAP8(m_display_state[6],7,6,1,4,2,3,5,0); |
| 637 | 569 | |
| 638 | | m_display_maxx = 7; |
| 570 | m_display_maxx = 8; |
| 639 | 571 | m_display_maxy = 9; |
| 640 | 572 | display_update(); |
| 641 | 573 | } |
| 642 | 574 | |
| 643 | | WRITE16_MEMBER(ticalc1x_state::lilprof78_write_o) |
| 575 | WRITE16_MEMBER(ticalc1x_state::lilprof_write_o) |
| 644 | 576 | { |
| 645 | 577 | // O0-O3,O5: input mux |
| 646 | 578 | // O0-O6: digit segments A-G |
| r245128 | r245129 | |
| 649 | 581 | m_o = data; |
| 650 | 582 | } |
| 651 | 583 | |
| 652 | | READ8_MEMBER(ticalc1x_state::lilprof78_read_k) |
| 584 | READ8_MEMBER(ticalc1x_state::lilprof_read_k) |
| 653 | 585 | { |
| 654 | 586 | return read_inputs(5); |
| 655 | 587 | } |
| 656 | 588 | |
| 657 | 589 | |
| 658 | | static INPUT_PORTS_START( lilprof78 ) |
| 590 | static INPUT_PORTS_START( lilprof ) |
| 659 | 591 | PORT_START("IN.0") // O0 |
| 660 | 592 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("1") |
| 661 | 593 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("2") |
| r245128 | r245129 | |
| 689 | 621 | INPUT_PORTS_END |
| 690 | 622 | |
| 691 | 623 | |
| 692 | | static MACHINE_CONFIG_START( lilprof78, ticalc1x_state ) |
| 624 | static MACHINE_CONFIG_START( lilprof, ticalc1x_state ) |
| 693 | 625 | |
| 694 | 626 | /* basic machine hardware */ |
| 695 | 627 | MCFG_CPU_ADD("maincpu", TMS1990, 250000) // guessed |
| 696 | | MCFG_TMS1XXX_READ_K_CB(READ8(ticalc1x_state, lilprof78_read_k)) |
| 697 | | MCFG_TMS1XXX_WRITE_O_CB(WRITE16(ticalc1x_state, lilprof78_write_o)) |
| 698 | | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(ticalc1x_state, lilprof78_write_r)) |
| 628 | MCFG_TMS1XXX_READ_K_CB(READ8(ticalc1x_state, lilprof_read_k)) |
| 629 | MCFG_TMS1XXX_WRITE_O_CB(WRITE16(ticalc1x_state, lilprof_write_o)) |
| 630 | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(ticalc1x_state, lilprof_write_r)) |
| 699 | 631 | |
| 700 | 632 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", ticalc1x_state, display_decay_tick, attotime::from_msec(1)) |
| 701 | 633 | MCFG_DEFAULT_LAYOUT(layout_wizatron) |
| r245128 | r245129 | |
| 963 | 895 | |
| 964 | 896 | ROM_START( ti1270 ) |
| 965 | 897 | ROM_REGION( 0x0400, "maincpu", 0 ) |
| 966 | | ROM_LOAD( "za0355", 0x0000, 0x0400, CRC(48e09b4b) SHA1(17f27167164df223f9f06082ece4c3fc3900eda3) ) |
| 898 | ROM_LOAD( "tms0974nl", 0x0000, 0x0400, CRC(48e09b4b) SHA1(17f27167164df223f9f06082ece4c3fc3900eda3) ) |
| 967 | 899 | |
| 968 | 900 | ROM_REGION( 782, "maincpu:ipla", 0 ) |
| 969 | 901 | ROM_LOAD( "tms0970_ti1270_ipla.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) |
| r245128 | r245129 | |
| 978 | 910 | |
| 979 | 911 | ROM_START( wizatron ) |
| 980 | 912 | ROM_REGION( 0x0400, "maincpu", 0 ) |
| 981 | | ROM_LOAD( "za0379", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) ) |
| 913 | ROM_LOAD( "dp0907bs", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) ) |
| 982 | 914 | |
| 983 | 915 | ROM_REGION( 782, "maincpu:ipla", 0 ) |
| 984 | 916 | ROM_LOAD( "tms0970_wizatron_ipla.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) |
| r245128 | r245129 | |
| 993 | 925 | |
| 994 | 926 | ROM_START( lilprof ) |
| 995 | 927 | ROM_REGION( 0x0400, "maincpu", 0 ) |
| 996 | | ROM_LOAD( "za0356", 0x0000, 0x0400, CRC(fef9dd39) SHA1(5c9614c9c5092d55dabeee2d6e0387d50d6ad4d5) ) |
| 997 | | |
| 998 | | ROM_REGION( 782, "maincpu:ipla", 0 ) |
| 999 | | ROM_LOAD( "tms0970_lilprof_ipla.pla", 0, 782, BAD_DUMP CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) // not verified |
| 1000 | | ROM_REGION( 860, "maincpu:mpla", 0 ) |
| 1001 | | ROM_LOAD( "tms0970_lilprof_mpla.pla", 0, 860, BAD_DUMP CRC(6ff5d51d) SHA1(59d3e5de290ba57694068ddba78d21a0c1edf427) ) // not verified |
| 1002 | | ROM_REGION( 352, "maincpu:opla", 0 ) |
| 1003 | | ROM_LOAD( "tms0970_lilprof_opla.pla", 0, 352, BAD_DUMP CRC(c74daf97) SHA1(c4948000196171b34d4fe9cdd2962a945da9883d) ) // not verified |
| 1004 | | ROM_REGION( 157, "maincpu:spla", 0 ) |
| 1005 | | ROM_LOAD( "tms0970_lilprof_spla.pla", 0, 157, CRC(56c37a4f) SHA1(18ecc20d2666e89673739056483aed5a261ae927) ) |
| 1006 | | ROM_END |
| 1007 | | |
| 1008 | | |
| 1009 | | ROM_START( lilprof78 ) |
| 1010 | | ROM_REGION( 0x0400, "maincpu", 0 ) |
| 1011 | 928 | ROM_LOAD( "tmc1993nl", 0x0000, 0x0400, CRC(e941316b) SHA1(7e1542045d1e731cea81a639c9ac9e91bb233b15) ) |
| 1012 | 929 | |
| 1013 | 930 | ROM_REGION( 782, "maincpu:ipla", 0 ) |
| r245128 | r245129 | |
| 1072 | 989 | |
| 1073 | 990 | COMP( 1976, ti1270, 0, 0, ti1270, ti1270, driver_device, 0, "Texas Instruments", "TI-1270", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
| 1074 | 991 | COMP( 1977, wizatron, 0, 0, wizatron, wizatron, driver_device, 0, "Texas Instruments", "Wiz-A-Tron", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
| 1075 | | COMP( 1976, lilprof, 0, 0, lilprof, lilprof, driver_device, 0, "Texas Instruments", "Little Professor (1976 version)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
| 1076 | | COMP( 1978, lilprof78, lilprof, 0, lilprof78, lilprof78, driver_device, 0, "Texas Instruments", "Little Professor (1978 version)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
| 992 | COMP( 1978, lilprof, 0, 0, lilprof, lilprof, driver_device, 0, "Texas Instruments", "Little Professor (1978 version)", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) // original is from 1976 |
| 1077 | 993 | |
| 1078 | 994 | COMP( 1976, ti30, 0, 0, ti30, ti30, driver_device, 0, "Texas Instruments", "TI-30", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
| 1079 | 995 | COMP( 1977, tiprog, 0, 0, ti30, tiprog, driver_device, 0, "Texas Instruments", "TI Programmer", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
trunk/src/mess/layout/mbdtower.lay
| r245128 | r245129 | |
| 4 | 4 | <!-- define elements --> |
| 5 | 5 | |
| 6 | 6 | <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element> |
| 7 | | <element name="static_white"><rect><color red="1.0" green="1.0" blue="1.0" /></rect></element> |
| 8 | 7 | |
| 9 | | <element name="mask" defstate="0"> |
| 10 | | <text string=" "><color red="0.0" green="0.0" blue="0.0" /></text> |
| 11 | | <rect state="0"><color red="0.0" green="0.0" blue="0.0" /></rect> |
| 12 | | </element> |
| 13 | | |
| 14 | | <element name="card1" defstate="0"> |
| 15 | | <rect><color red="1.0" green="1.0" blue="1.0" /></rect> |
| 16 | | <text state="0" string="CURSED"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 17 | | <text state="1" string="VICTORY"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 18 | | <text state="2" string="WIZARD"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 19 | | <text state="3" string="DRAGON"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 20 | | <text state="4" string="GOLD KEY"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 21 | | <text state="5" string="SCOUT"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 22 | | <text state="6" string="WARRIOR"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 23 | | <text state="7" string=" "><color red="0.0" green="0.0" blue="0.0" /></text> |
| 24 | | </element> |
| 25 | | |
| 26 | | <element name="card2" defstate="0"> |
| 27 | | <rect><color red="1.0" green="1.0" blue="1.0" /></rect> |
| 28 | | <text state="0" string="LOST"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 29 | | <text state="1" string="WARRIORS"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 30 | | <text state="2" string="BAZAAR CLOSED"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 31 | | <text state="3" string="SWORD"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 32 | | <text state="4" string="SILVER KEY"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 33 | | <text state="5" string="HEALER"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 34 | | <text state="6" string="FOOD"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 35 | | <text state="7" string=" "><color red="0.0" green="0.0" blue="0.0" /></text> |
| 36 | | </element> |
| 37 | | |
| 38 | | <element name="card3" defstate="0"> |
| 39 | | <rect><color red="1.0" green="1.0" blue="1.0" /></rect> |
| 40 | | <text state="0" string="PLAGUE"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 41 | | <text state="1" string="BRIGANDS"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 42 | | <text state="2" string="KEY MISSING"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 43 | | <text state="3" string="PEGASUS"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 44 | | <text state="4" string="BRASS KEY"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 45 | | <text state="5" string="GOLD"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 46 | | <text state="6" string="BEAST"><color red="0.0" green="0.0" blue="0.0" /></text> |
| 47 | | <text state="7" string=" "><color red="0.0" green="0.0" blue="0.0" /></text> |
| 48 | | </element> |
| 49 | | |
| 50 | | <element name="text_m1"><text string="(motor pos: 0." align="1"><color red="0.95" green="0.95" blue="0.95" /></text></element> |
| 51 | | <element name="text_m2"><text string=")" align="1"><color red="0.95" green="0.95" blue="0.95" /></text></element> |
| 52 | | <element name="counter" defstate="0"> |
| 53 | | <simplecounter maxstate="99" digits="2" align="1"> |
| 54 | | <color red="0.95" green="0.95" blue="0.95" /> |
| 55 | | </simplecounter> |
| 56 | | </element> |
| 57 | | |
| 58 | 8 | <element name="digit" defstate="0"> |
| 59 | 9 | <led7seg><color red="1.0" green="0.20" blue="0.22" /></led7seg> |
| 60 | 10 | </element> |
| 61 | 11 | |
| 62 | | <element name="led" defstate="0"> |
| 63 | | <disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk> |
| 64 | | <disk state="1"><color red="1.0" green="0.20" blue="0.22" /></disk> |
| 65 | | </element> |
| 66 | 12 | |
| 67 | | |
| 68 | | |
| 69 | 13 | <!-- build screen --> |
| 70 | 14 | |
| 71 | 15 | <view name="Internal Layout"> |
| 72 | | <bounds left="0" right="40" top="0" bottom="118" /> |
| 16 | <bounds left="0" right="64" top="0" bottom="64" /> |
| 73 | 17 | <bezel element="static_black"> |
| 74 | | <bounds left="0" right="40" top="0" bottom="118" /> |
| 18 | <bounds left="0" right="64" top="0" bottom="64" /> |
| 75 | 19 | </bezel> |
| 76 | 20 | |
| 77 | | <bezel name="digit1" element="digit"><bounds x="10" y="3" width="10" height="15" /></bezel> |
| 78 | | <bezel name="digit2" element="digit"><bounds x="20" y="3" width="10" height="15" /></bezel> |
| 79 | | |
| 80 | | <!-- card lamps --> |
| 21 | <bezel name="digit1" element="digit"><bounds x="0" y="0" width="10" height="15" /></bezel> |
| 22 | <bezel name="digit2" element="digit"><bounds x="10" y="0" width="10" height="15" /></bezel> |
| 81 | 23 | |
| 82 | | <bezel element="static_white"><bounds x="1" y="28" width="38" height="25" /></bezel> |
| 83 | | <bezel name="card_pos" element="card1"><bounds x="1" y="38" width="38" height="5" /></bezel> |
| 84 | | <bezel name="lamp3" element="mask"> |
| 85 | | <bounds x="1" y="28" width="38" height="25" /> |
| 86 | | <color alpha="0.8" /> |
| 87 | | </bezel> |
| 88 | 24 | |
| 89 | | <bezel element="static_white"><bounds x="1" y="56" width="38" height="25" /></bezel> |
| 90 | | <bezel name="card_pos" element="card2"><bounds x="1" y="66" width="38" height="5" /></bezel> |
| 91 | | <bezel name="lamp2" element="mask"> |
| 92 | | <bounds x="1" y="56" width="38" height="25" /> |
| 93 | | <color alpha="0.8" /> |
| 94 | | </bezel> |
| 95 | | |
| 96 | | <bezel element="static_white"><bounds x="1" y="84" width="38" height="25" /></bezel> |
| 97 | | <bezel name="card_pos" element="card3"><bounds x="1" y="94" width="38" height="5" /></bezel> |
| 98 | | <bezel name="lamp1" element="mask"> |
| 99 | | <bounds x="1" y="84" width="38" height="25" /> |
| 100 | | <color alpha="0.8" /> |
| 101 | | </bezel> |
| 102 | | |
| 103 | | <!-- motor status info --> |
| 104 | | |
| 105 | | <bezel element="text_m1"><bounds x="7" y="112" width="22" height="4" /></bezel> |
| 106 | | <bezel name="motor_pos" element="counter"><bounds x="27.6" y="112" width="10" height="4" /></bezel> |
| 107 | | <bezel element="text_m2"><bounds x="31.4" y="112" width="5" height="4" /></bezel> |
| 108 | | <bezel name="motor_on" element="mask"> |
| 109 | | <bounds x="1" y="111" width="38" height="6" /> |
| 110 | | <color alpha="0.75" /> |
| 111 | | </bezel> |
| 112 | | |
| 113 | | |
| 114 | 25 | </view> |
| 115 | 26 | </mamelayout> |