src/mess/drivers/exelv.c
| r6430 | r6431 | |
| 54 | 54 | #include "cpu/tms7000/tms7000.h" |
| 55 | 55 | #include "video/tms3556.h" |
| 56 | 56 | #include "sound/tms5220.h" |
| 57 | #include "audio/spchroms.h" |
| 57 | 58 | /*#include "devices/cartslot.h" |
| 58 | 59 | #include "devices/cassette.h"*/ |
| 59 | 60 | |
| r6430 | r6431 | |
| 88 | 89 | tms3556_init(machine, /*0x8000*/0x10000); /* tms3556 with 32 kb of video RAM */ |
| 89 | 90 | } |
| 90 | 91 | |
| 92 | |
| 91 | 93 | static MACHINE_RESET( exelv ) |
| 92 | 94 | { |
| 95 | static const spchroms_interface exelv_speech_intf = { "tms5220c" }; |
| 96 | |
| 93 | 97 | tms3556_reset(); |
| 98 | spchroms_config( machine, &exelv_speech_intf ); |
| 94 | 99 | memory_set_bankptr( machine, 1, memory_region(machine, "user1") + 0x0200 ); |
| 95 | 100 | } |
| 96 | 101 | |
| r6430 | r6431 | |
| 196 | 201 | exelv_driver_state.wx318 = data; |
| 197 | 202 | } |
| 198 | 203 | |
| 204 | |
| 199 | 205 | /* |
| 200 | 206 | TMS7020 PORT A |
| 201 | 207 | A0 - R - TMS7041 port B bit 7 (REV3) |
| r6430 | r6431 | |
| 480 | 486 | static const tms5220_interface exl100_tms5220_interface = |
| 481 | 487 | { |
| 482 | 488 | DEVCB_NULL, /* no IRQ callback */ |
| 483 | | NULL, /* speech ROM read handler */ |
| 484 | | NULL, /* speech ROM load address handler */ |
| 485 | | NULL /* speech ROM read and branch handler */ |
| 489 | spchroms_read, /* speech ROM read handler */ |
| 490 | spchroms_load_address, /* speech ROM load address handler */ |
| 491 | spchroms_read_and_branch /* speech ROM read and branch handler */ |
| 486 | 492 | }; |
| 487 | 493 | |
| 488 | 494 | |
| r6430 | r6431 | |
| 563 | 569 | ROM_LOAD("exl100_7041.bin", 0x0000, 0x1000, CRC(a0163507) SHA1(8452849df7eac8a89cf03ee98e2306047c1c4c38)) /* TMS7041 internal ROM, verification would be welcome */ |
| 564 | 570 | |
| 565 | 571 | ROM_REGION(0x10000, "user1", ROMREGION_ERASEFF) /* cartridge area */ |
| 572 | |
| 573 | /* TMS5220 ROM space, no idea if this is correct for exl100 */ |
| 574 | ROM_REGION(0x8000, "tms5220c", 0) |
| 575 | ROM_LOAD_OPTIONAL("spchrom.bin", 0x0000, 0x8000, CRC(58b155f7) SHA1(382292295c00dff348d7e17c5ce4da12a1d87763)) /* system speech ROM */ |
| 566 | 576 | ROM_END |
| 567 | 577 | |
| 568 | 578 | |
| r6430 | r6431 | |
| 574 | 584 | ROM_LOAD("exeltel_7042.bin", 0x0000, 0x1000, BAD_DUMP CRC(a0163507) SHA1(8452849df7eac8a89cf03ee98e2306047c1c4c38)) /* TMS7042 internal ROM, needs redump */ |
| 575 | 585 | |
| 576 | 586 | ROM_REGION(0x10000,"user1",0) |
| 577 | | ROM_LOAD("exeltel14.bin", 0x0000, 0x10000, CRC(52a80dd4) SHA1(2cb4c784fba3aec52770999bb99a9a303269bf89)) /* system ROM */ |
| 587 | ROM_SYSTEM_BIOS( 0, "french", "French v1.4" ) |
| 588 | ROMX_LOAD("exeltel14.bin", 0x0000, 0x10000, CRC(52a80dd4) SHA1(2cb4c784fba3aec52770999bb99a9a303269bf89), ROM_BIOS(1)) /* French system ROM v1.4 */ |
| 589 | ROM_SYSTEM_BIOS( 1, "spanish", "Spanish" ) |
| 590 | ROMX_LOAD("amper.bin", 0x0000, 0x10000, CRC(45af256c) SHA1(3bff16542f8ac55b9841084ea38034132459facb), ROM_BIOS(2)) /* Spanish system rom */ |
| 591 | |
| 592 | /* TMS5220 ROM space,; no idea if this is correct for exeltel */ |
| 593 | ROM_REGION(0x8000, "tms5220c", 0) |
| 594 | ROM_LOAD_OPTIONAL("spchrom.bin", 0x0000, 0x8000, CRC(58b155f7) SHA1(382292295c00dff348d7e17c5ce4da12a1d87763)) /* system speech ROM */ |
| 578 | 595 | ROM_END |
| 579 | 596 | |
| 580 | 597 | |