Previous 15994 Revisions Next

r6431 Friday 20th November, 2009 at 19:17:59 UTC by Wilbert Pol
[EXL100/EXELTEL] Added speech rom interface.
[EXELTEL] Added spanish firmware.
[src/mess/drivers]exelv.c

src/mess/drivers/exelv.c
r6430r6431
5454#include "cpu/tms7000/tms7000.h"
5555#include "video/tms3556.h"
5656#include "sound/tms5220.h"
57#include "audio/spchroms.h"
5758/*#include "devices/cartslot.h"
5859#include "devices/cassette.h"*/
5960
r6430r6431
8889   tms3556_init(machine, /*0x8000*/0x10000);   /* tms3556 with 32 kb of video RAM */
8990}
9091
92
9193static MACHINE_RESET( exelv )
9294{
95   static const spchroms_interface exelv_speech_intf = { "tms5220c" };
96
9397   tms3556_reset();
98   spchroms_config( machine, &exelv_speech_intf );
9499   memory_set_bankptr( machine, 1, memory_region(machine, "user1") + 0x0200 );
95100}
96101
r6430r6431
196201   exelv_driver_state.wx318 = data;
197202}
198203
204
199205/*
200206    TMS7020 PORT A
201207    A0 - R - TMS7041 port B bit 7 (REV3)
r6430r6431
480486static const tms5220_interface exl100_tms5220_interface =
481487{
482488   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 */
486492};
487493
488494
r6430r6431
563569   ROM_LOAD("exl100_7041.bin", 0x0000, 0x1000, CRC(a0163507) SHA1(8452849df7eac8a89cf03ee98e2306047c1c4c38))         /* TMS7041 internal ROM, verification would be welcome  */
564570
565571   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 */
566576ROM_END
567577
568578
r6430r6431
574584   ROM_LOAD("exeltel_7042.bin", 0x0000, 0x1000, BAD_DUMP CRC(a0163507) SHA1(8452849df7eac8a89cf03ee98e2306047c1c4c38))         /* TMS7042 internal ROM, needs redump */
575585
576586   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 */
578595ROM_END
579596
580597

Previous 15994 Revisions Next


© 1998-2018 The MESS Team