trunk/src/mame/drivers/peplus.c
| r245129 | r245130 | |
| 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) ) |
| 5933 | ROM_LOAD( "xp000098.u67", 0x00000, 0x10000, CRC(12257ad8) SHA1(8f613377519850f8f711ccb827685dece018c735) ) /* 01/29/98 @ IGT L98-0643 */ |
| 5934 | 5934 | |
| 5935 | 5935 | ROM_REGION( 0x10000, "user1", 0 ) |
| 5936 | 5936 | ROM_LOAD( "x000055p.u66", 0x00000, 0x10000, CRC(e06819df) SHA1(36590c4588b8036908e63714fbb3e77d23e60eae) ) /* Deuces Wild Poker */ |
| r245129 | r245130 | |
| 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) ) /* Linkable Progressive */ |
| 9078 | ROM_LOAD( "xmp00002.u67", 0x00000, 0x10000, CRC(d5624ac8) SHA1(6b778b0e7ddb81123c6038920b3447e05a0556b2) ) /* 09/07/95 @ IGT L95-2183 - Linkable Progressive */ |
| 9079 | 9079 | |
| 9080 | 9080 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9081 | 9081 | ROM_LOAD( "xm00004p.u66", 0x00000, 0x10000, CRC(bafd160f) SHA1(7454fbf992d4d0668ef375b76ce2cae3324a5f75) ) |
| r245129 | r245130 | |
| 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 programs */ |
| 9107 | /* Also known to be found with XMP00024 program */ |
| 9108 | 9108 | |
| 9109 | 9109 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9110 | 9110 | ROM_LOAD( "xm00005p.u66", 0x00000, 0x10000, CRC(c832eac7) SHA1(747d57de602b44ae1276fe1009db1b6de0d2c64c) ) |
| r245129 | r245130 | |
| 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 */ |
| 9165 | 9166 | |
| 9166 | 9167 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9167 | | ROM_LOAD( "xm00007p.u66", 0x00000, 0x10000, CRC(85a76416) SHA1(1bc3b9c2f687e68a085bfc5cf86d99fbd18cb9c7) ) |
| 9168 | ROM_LOAD( "xm00007p.u66", 0x00000, 0x10000, CRC(85a76416) SHA1(1bc3b9c2f687e68a085bfc5cf86d99fbd18cb9c7) ) /* 03/09/96 @ IGT L96-0737 */ |
| 9168 | 9169 | |
| 9169 | 9170 | ROM_REGION( 0x020000, "gfx1", 0 ) |
| 9170 | | ROM_LOAD( "mro-cg2233.u77", 0x00000, 0x8000, CRC(8758866a) SHA1(49146560a7e79593a2ac0378dc3b300b96ef1015) ) |
| 9171 | ROM_LOAD( "mro-cg2233.u77", 0x00000, 0x8000, CRC(8758866a) SHA1(49146560a7e79593a2ac0378dc3b300b96ef1015) ) /* 03/07/96 @ IGT L96-0686 */ |
| 9171 | 9172 | ROM_LOAD( "mgo-cg2233.u78", 0x08000, 0x8000, CRC(45ac6cfd) SHA1(25ff276320fe51c56aea0cff099be17e4ce8f404) ) |
| 9172 | 9173 | ROM_LOAD( "mbo-cg2233.u79", 0x10000, 0x8000, CRC(9e9d702f) SHA1(75bb9adb49095b7cb87d2615bcf725e4a4774e25) ) |
| 9173 | 9174 | ROM_LOAD( "mxo-cg2233.u80", 0x18000, 0x8000, CRC(2f05ebcb) SHA1(90d00ee4ce2dcbfbe33e221efe4db45a4e484baa) ) |
| r245129 | r245130 | |
| 9221 | 9222 | Double Aces & Faces ????? 99.30% |
| 9222 | 9223 | */ |
| 9223 | 9224 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9224 | | ROM_LOAD( "xmp00002.u67", 0x00000, 0x10000, CRC(d5624ac8) SHA1(6b778b0e7ddb81123c6038920b3447e05a0556b2) ) /* Linkable Progressive */ |
| 9225 | ROM_LOAD( "xmp00002.u67", 0x00000, 0x10000, CRC(d5624ac8) SHA1(6b778b0e7ddb81123c6038920b3447e05a0556b2) ) /* 09/07/95 @ IGT L95-2183 - Linkable Progressive */ |
| 9225 | 9226 | |
| 9226 | 9227 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9227 | 9228 | ROM_LOAD( "xm00009p.u66", 0x00000, 0x10000, CRC(e133d0bb) SHA1(7ed4fa335e230c28e6fc66f0c990bc7ead2b279d) ) |
| r245129 | r245130 | |
| 9341 | 9342 | |
| 9342 | 9343 | */ |
| 9343 | 9344 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9344 | | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) |
| 9345 | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) /* 09/17/97 @ IGT L97-2154 */ |
| 9345 | 9346 | |
| 9346 | 9347 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9347 | 9348 | ROM_LOAD( "x000055p.u66", 0x00000, 0x10000, CRC(e06819df) SHA1(36590c4588b8036908e63714fbb3e77d23e60eae) ) /* Deuces Wild Poker */ |
| r245129 | r245130 | |
| 9375 | 9376 | |
| 9376 | 9377 | */ |
| 9377 | 9378 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9378 | | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) |
| 9379 | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) /* 09/17/97 @ IGT L97-2154 */ |
| 9379 | 9380 | |
| 9380 | 9381 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9381 | 9382 | ROM_LOAD( "x000430p.u66", 0x00000, 0x10000, CRC(905571e3) SHA1(fd506516fed22842df8e9dbb3683dcb4c459719b) ) /* Dueces Joker Wild Poker */ |
| r245129 | r245130 | |
| 9412 | 9413 | |
| 9413 | 9414 | */ |
| 9414 | 9415 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 9415 | | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) |
| 9416 | ROM_LOAD( "xmp00017.u67", 0x00000, 0x10000, CRC(129e6eaa) SHA1(1dd2b83a672a618f338b553a6cbd598b6d4ce672) ) /* 09/17/97 @ IGT L97-2154 */ |
| 9416 | 9417 | |
| 9417 | 9418 | ROM_REGION( 0x10000, "user1", 0 ) |
| 9418 | 9419 | ROM_LOAD( "x002272p.u66", 0x00000, 0x10000, CRC(ee4f27b9) SHA1(1ee105430358ea27badd943bb6b18663e4029388) ) /* Black Jack Bonus Poker */ |
| r245129 | r245130 | |
| 9430 | 9431 | ROM_LOAD( "x002307p.u66", 0x00000, 0x10000, CRC(c6d5db70) SHA1(017e1e382fb789e4cd8b410362ad5e82b61f61db) ) /* Triple Double Bonus Poker */ |
| 9431 | 9432 | |
| 9432 | 9433 | ROM_REGION( 0x040000, "gfx1", 0 ) |
| 9433 | | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) |
| 9434 | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) /* 05/29/98 @ IGT L98-1765 */ |
| 9434 | 9435 | ROM_LOAD( "mgo-cg2426.u78", 0x10000, 0x10000, CRC(5c8388a0) SHA1(c883bf7969850d07f37fa0fd58f82cda4cf15654) ) |
| 9435 | 9436 | ROM_LOAD( "mbo-cg2426.u79", 0x20000, 0x10000, CRC(dc6e39aa) SHA1(7a7188757f5be25521a023d1315cfd7c395b6c25) ) |
| 9436 | 9437 | ROM_LOAD( "mxo-cg2426.u80", 0x30000, 0x10000, CRC(a32f42a2) SHA1(87ddc4dda7c198ed62a2a065507efe4d3a016236) ) |
| r245129 | r245130 | |
| 9488 | 9489 | ROM_LOAD( "x002440p.u66", 0x00000, 0x10000, CRC(2ecb28cc) SHA1(a7b902bdfbf8f5ceedc778b8408c39ee279a1a1d) ) /* Deuces Wild Poker */ |
| 9489 | 9490 | |
| 9490 | 9491 | ROM_REGION( 0x040000, "gfx1", 0 ) |
| 9491 | | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) |
| 9492 | ROM_LOAD( "mro-cg2426.u77", 0x00000, 0x10000, CRC(e7622901) SHA1(f653aaf02de840aef56d3efd7680572356e94da7) ) /* 05/29/98 @ IGT L98-1765 */ |
| 9492 | 9493 | ROM_LOAD( "mgo-cg2426.u78", 0x10000, 0x10000, CRC(5c8388a0) SHA1(c883bf7969850d07f37fa0fd58f82cda4cf15654) ) |
| 9493 | 9494 | ROM_LOAD( "mbo-cg2426.u79", 0x20000, 0x10000, CRC(dc6e39aa) SHA1(7a7188757f5be25521a023d1315cfd7c395b6c25) ) |
| 9494 | 9495 | ROM_LOAD( "mxo-cg2426.u80", 0x30000, 0x10000, CRC(a32f42a2) SHA1(87ddc4dda7c198ed62a2a065507efe4d3a016236) ) |
trunk/src/mess/drivers/ticalc1x.c
| r245129 | r245130 | |
| 8 | 8 | |
| 9 | 9 | |
| 10 | 10 | TODO: |
| 11 | | - MCU clocks are unknown |
| 12 | | - lilprof equals-sign is always on |
| 11 | - MCU clocks are unknown where noted |
| 12 | - lilprof78 equals-sign is always on |
| 13 | 13 | |
| 14 | 14 | ***************************************************************************/ |
| 15 | 15 | |
| r245129 | r245130 | |
| 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_update(); |
| 73 | void tisr16_display(); |
| 74 | 74 | DECLARE_WRITE16_MEMBER(tisr16_write_o); |
| 75 | 75 | DECLARE_WRITE16_MEMBER(tisr16_write_r); |
| 76 | 76 | DECLARE_READ8_MEMBER(tisr16_read_k); |
| r245129 | r245130 | |
| 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); |
| 88 | 87 | DECLARE_READ8_MEMBER(lilprof_read_k); |
| 89 | 88 | |
| 89 | DECLARE_WRITE16_MEMBER(lilprof78_write_o); |
| 90 | DECLARE_WRITE16_MEMBER(lilprof78_write_r); |
| 91 | DECLARE_READ8_MEMBER(lilprof78_read_k); |
| 92 | |
| 90 | 93 | DECLARE_WRITE16_MEMBER(ti30_write_o); |
| 91 | 94 | DECLARE_WRITE16_MEMBER(ti30_write_r); |
| 92 | 95 | DECLARE_READ8_MEMBER(ti30_read_k); |
| r245129 | r245130 | |
| 256 | 259 | |
| 257 | 260 | ***************************************************************************/ |
| 258 | 261 | |
| 259 | | void ticalc1x_state::tisr16_display_update() |
| 262 | void ticalc1x_state::tisr16_display() |
| 260 | 263 | { |
| 261 | 264 | // update leds state |
| 262 | 265 | for (int y = 0; y < 11; y++) |
| r245129 | r245130 | |
| 275 | 278 | // R0-R10: input mux |
| 276 | 279 | // R0-R10: select digit (right-to-left) |
| 277 | 280 | m_r = m_inp_mux = data; |
| 278 | | tisr16_display_update(); |
| 281 | tisr16_display(); |
| 279 | 282 | } |
| 280 | 283 | |
| 281 | 284 | WRITE16_MEMBER(ticalc1x_state::tisr16_write_o) |
| 282 | 285 | { |
| 283 | 286 | // O0-O7: digit segments |
| 284 | 287 | m_o = data; |
| 285 | | tisr16_display_update(); |
| 288 | tisr16_display(); |
| 286 | 289 | } |
| 287 | 290 | |
| 288 | 291 | READ8_MEMBER(ticalc1x_state::tisr16_read_k) |
| r245129 | r245130 | |
| 475 | 478 | |
| 476 | 479 | WRITE16_MEMBER(ticalc1x_state::wizatron_write_r) |
| 477 | 480 | { |
| 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. |
| 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 |
| 480 | 488 | m_display_segmask[3] = 0x41; |
| 481 | 489 | |
| 482 | 490 | // R0-R8: select digit (right-to-left) |
| 483 | | display_matrix_seg(8, 9, m_o, data, 0x7f); |
| 491 | display_matrix_seg(7, 9, m_o, data, 0x7f); |
| 484 | 492 | } |
| 485 | 493 | |
| 486 | 494 | WRITE16_MEMBER(ticalc1x_state::wizatron_write_o) |
| r245129 | r245130 | |
| 500 | 508 | |
| 501 | 509 | static INPUT_PORTS_START( wizatron ) |
| 502 | 510 | PORT_START("IN.0") // O1 |
| 503 | | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_DEL) PORT_CODE(KEYCODE_DEL_PAD) PORT_NAME("CLEAR") |
| 511 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_DEL) PORT_NAME("Clear") |
| 504 | 512 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_0_PAD) PORT_NAME("0") |
| 505 | 513 | PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_NAME("=") |
| 506 | 514 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_PLUS_PAD) PORT_NAME("+") |
| r245129 | r245130 | |
| 547 | 555 | |
| 548 | 556 | /*************************************************************************** |
| 549 | 557 | |
| 550 | | TI Little Professor '78 |
| 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) |
| 551 | 619 | * TMS1990 MCU labeled TMC1993NL. die labeled 1990C-c3C |
| 552 | 620 | |
| 553 | 621 | ***************************************************************************/ |
| 554 | 622 | |
| 555 | | WRITE16_MEMBER(ticalc1x_state::lilprof_write_r) |
| 623 | WRITE16_MEMBER(ticalc1x_state::lilprof78_write_r) |
| 556 | 624 | { |
| 557 | 625 | // update leds state |
| 558 | 626 | UINT8 o = BITSWAP8(m_o,7,4,3,2,1,0,6,5) & 0x7f; |
| r245129 | r245130 | |
| 564 | 632 | // 3rd digit A/G(equals sign) is from O7 |
| 565 | 633 | m_display_state[3] = (m_o & 0x80) ? 0x41 : 0; |
| 566 | 634 | |
| 567 | | // 6th digit is a custom 7seg for math symbols |
| 635 | // 6th digit is a custom 7seg for math symbols (see wizatron_write_r) |
| 568 | 636 | m_display_state[6] = BITSWAP8(m_display_state[6],7,6,1,4,2,3,5,0); |
| 569 | 637 | |
| 570 | | m_display_maxx = 8; |
| 638 | m_display_maxx = 7; |
| 571 | 639 | m_display_maxy = 9; |
| 572 | 640 | display_update(); |
| 573 | 641 | } |
| 574 | 642 | |
| 575 | | WRITE16_MEMBER(ticalc1x_state::lilprof_write_o) |
| 643 | WRITE16_MEMBER(ticalc1x_state::lilprof78_write_o) |
| 576 | 644 | { |
| 577 | 645 | // O0-O3,O5: input mux |
| 578 | 646 | // O0-O6: digit segments A-G |
| r245129 | r245130 | |
| 581 | 649 | m_o = data; |
| 582 | 650 | } |
| 583 | 651 | |
| 584 | | READ8_MEMBER(ticalc1x_state::lilprof_read_k) |
| 652 | READ8_MEMBER(ticalc1x_state::lilprof78_read_k) |
| 585 | 653 | { |
| 586 | 654 | return read_inputs(5); |
| 587 | 655 | } |
| 588 | 656 | |
| 589 | 657 | |
| 590 | | static INPUT_PORTS_START( lilprof ) |
| 658 | static INPUT_PORTS_START( lilprof78 ) |
| 591 | 659 | PORT_START("IN.0") // O0 |
| 592 | 660 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("1") |
| 593 | 661 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("2") |
| r245129 | r245130 | |
| 621 | 689 | INPUT_PORTS_END |
| 622 | 690 | |
| 623 | 691 | |
| 624 | | static MACHINE_CONFIG_START( lilprof, ticalc1x_state ) |
| 692 | static MACHINE_CONFIG_START( lilprof78, ticalc1x_state ) |
| 625 | 693 | |
| 626 | 694 | /* basic machine hardware */ |
| 627 | 695 | MCFG_CPU_ADD("maincpu", TMS1990, 250000) // guessed |
| 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)) |
| 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)) |
| 631 | 699 | |
| 632 | 700 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", ticalc1x_state, display_decay_tick, attotime::from_msec(1)) |
| 633 | 701 | MCFG_DEFAULT_LAYOUT(layout_wizatron) |
| r245129 | r245130 | |
| 895 | 963 | |
| 896 | 964 | ROM_START( ti1270 ) |
| 897 | 965 | ROM_REGION( 0x0400, "maincpu", 0 ) |
| 898 | | ROM_LOAD( "tms0974nl", 0x0000, 0x0400, CRC(48e09b4b) SHA1(17f27167164df223f9f06082ece4c3fc3900eda3) ) |
| 966 | ROM_LOAD( "za0355", 0x0000, 0x0400, CRC(48e09b4b) SHA1(17f27167164df223f9f06082ece4c3fc3900eda3) ) |
| 899 | 967 | |
| 900 | 968 | ROM_REGION( 782, "maincpu:ipla", 0 ) |
| 901 | 969 | ROM_LOAD( "tms0970_ti1270_ipla.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) |
| r245129 | r245130 | |
| 910 | 978 | |
| 911 | 979 | ROM_START( wizatron ) |
| 912 | 980 | ROM_REGION( 0x0400, "maincpu", 0 ) |
| 913 | | ROM_LOAD( "dp0907bs", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) ) |
| 981 | ROM_LOAD( "za0379", 0x0000, 0x0400, CRC(5a6af094) SHA1(b1f27e1f13f4db3b052dd50fb08dbf9c4d8db26e) ) |
| 914 | 982 | |
| 915 | 983 | ROM_REGION( 782, "maincpu:ipla", 0 ) |
| 916 | 984 | ROM_LOAD( "tms0970_wizatron_ipla.pla", 0, 782, CRC(05306ef8) SHA1(60a0a3c49ce330bce0c27f15f81d61461d0432ce) ) |
| r245129 | r245130 | |
| 925 | 993 | |
| 926 | 994 | ROM_START( lilprof ) |
| 927 | 995 | 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 ) |
| 928 | 1011 | ROM_LOAD( "tmc1993nl", 0x0000, 0x0400, CRC(e941316b) SHA1(7e1542045d1e731cea81a639c9ac9e91bb233b15) ) |
| 929 | 1012 | |
| 930 | 1013 | ROM_REGION( 782, "maincpu:ipla", 0 ) |
| r245129 | r245130 | |
| 989 | 1072 | |
| 990 | 1073 | COMP( 1976, ti1270, 0, 0, ti1270, ti1270, driver_device, 0, "Texas Instruments", "TI-1270", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
| 991 | 1074 | COMP( 1977, wizatron, 0, 0, wizatron, wizatron, driver_device, 0, "Texas Instruments", "Wiz-A-Tron", 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 |
| 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 ) |
| 993 | 1077 | |
| 994 | 1078 | COMP( 1976, ti30, 0, 0, ti30, ti30, driver_device, 0, "Texas Instruments", "TI-30", GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) |
| 995 | 1079 | 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
| r245129 | r245130 | |
| 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> |
| 7 | 8 | |
| 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 | |
| 8 | 58 | <element name="digit" defstate="0"> |
| 9 | 59 | <led7seg><color red="1.0" green="0.20" blue="0.22" /></led7seg> |
| 10 | 60 | </element> |
| 11 | 61 | |
| 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> |
| 12 | 66 | |
| 67 | |
| 68 | |
| 13 | 69 | <!-- build screen --> |
| 14 | 70 | |
| 15 | 71 | <view name="Internal Layout"> |
| 16 | | <bounds left="0" right="64" top="0" bottom="64" /> |
| 72 | <bounds left="0" right="40" top="0" bottom="118" /> |
| 17 | 73 | <bezel element="static_black"> |
| 18 | | <bounds left="0" right="64" top="0" bottom="64" /> |
| 74 | <bounds left="0" right="40" top="0" bottom="118" /> |
| 19 | 75 | </bezel> |
| 20 | 76 | |
| 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> |
| 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 --> |
| 23 | 81 | |
| 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> |
| 24 | 88 | |
| 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 | |
| 25 | 114 | </view> |
| 26 | 115 | </mamelayout> |