Previous 15994 Revisions Next

r2980 Friday 25th July, 2008 at 18:19:29 UTC by Wilbert Pol
[EXL100/EXELTEL] Added tms7040 cpu. Added placeholders for the currently undumped rom from the tms7040.
[src/mess]mess.mak
[src/mess/drivers]exelv.c

src/mess/mess.mak
r2979r2980
211211CPUS += TX0_64KW
212212CPUS += TX0_8KW
213213CPUS += LR35902
214#CPUS += TMS7000
214CPUS += TMS7000
215215CPUS += TMS7000_EXL
216216CPUS += SM8500
217217CPUS += V30MZ
src/mess/drivers/exelv.c
r2979r2980
518518   AM_RANGE(0x012d, 0x0012d) AM_READWRITE(tms3556_reg_r/*right???*/, tms3556_reg_w)
519519   AM_RANGE(0x012e, 0x0012e) AM_READWRITE(tms3556_vram_r/*right???*/, tms3556_vram_w)
520520   AM_RANGE(0x0130, 0x00130) AM_READWRITE(mailbox_r, mailbox_w)
521   AM_RANGE(0x0200, 0x7fff) AM_ROMBANK(1)                  /* system ROM */
521   AM_RANGE(0x0200, 0x7fff) AM_ROMBANK(1)                        /* system ROM */
522522   AM_RANGE(0x8000, 0xbfff) AM_NOP
523   AM_RANGE(0xc000, 0xc7ff) AM_RAM                        /* CPU RAM */
523   AM_RANGE(0xc000, 0xc7ff) AM_RAM                              /* CPU RAM */
524524   AM_RANGE(0xc800, 0xf7ff) AM_NOP
525   AM_RANGE(0xf800, 0xffff) AM_ROM                        /* tms7020 internal ROM */
525   AM_RANGE(0xf800, 0xffff) AM_ROM AM_REGION(REGION_CPU1,0x0000)      /* tms7020 internal ROM */
526526
527527ADDRESS_MAP_END
528528
r2979r2980
534534ADDRESS_MAP_END
535535
536536
537static ADDRESS_MAP_START(exelv_tms7040_map, ADDRESS_SPACE_PROGRAM, 8)
538   AM_RANGE(0xf000, 0xffff) AM_ROM AM_REGION(REGION_CPU2,0x0000)
539ADDRESS_MAP_END
540
541
542static ADDRESS_MAP_START(exelv_tms7040_port, ADDRESS_SPACE_IO, 8)
543ADDRESS_MAP_END
544
545
537546/* keyboard: ??? */
538547static INPUT_PORTS_START(exelv)
539548
r2979r2980
550559   MDRV_CPU_IO_MAP(exelv_portmap, 0)
551560   MDRV_CPU_VBLANK_INT_HACK(exelv_hblank_interrupt, 363)
552561
562   MDRV_CPU_ADD("tms7040", TMS7000, 4910000)
563   MDRV_CPU_PROGRAM_MAP(exelv_tms7040_map, 0)
564   MDRV_CPU_IO_MAP(exelv_tms7040_port, 0)
565
566   MDRV_INTERLEAVE(1)
567
553568   MDRV_MACHINE_RESET( exelv )
554569
555570   /* video hardware */
r2979r2980
570585  ROM loading
571586*/
572587ROM_START(exl100)
573   ROM_REGION(0x10000, REGION_CPU1, 0)
574   ROM_LOAD("exl100in.bin", 0xf800, 0x0800, CRC(049109a3) SHA1(98a07297dcdacef41c793c197b6496dac1e8e744))      /* TMS7020 ROM, needs verification */
588   ROM_REGION(0x800, REGION_CPU1, 0)
589   ROM_LOAD("exl100in.bin", 0x0000, 0x0800, CRC(049109a3) SHA1(98a07297dcdacef41c793c197b6496dac1e8e744))      /* TMS7020 ROM, needs verification */
575590
591   ROM_REGION(0x1000, REGION_CPU2, 0)
592   ROM_LOAD("exl100_7041.bin", 0x0000, 0x1000, NO_DUMP)         /* TMS7041 internal ROM. Max 4KB rom, could also be 2KB */
593
576594   ROM_REGION(0x10000, REGION_USER1, ROMREGION_ERASEFF)         /* cartridge area */
577595ROM_END
578596
579597
580598ROM_START(exeltel)
581599   /*CPU memory space*/
582   ROM_REGION(0x10000,REGION_CPU1,0)
583   ROM_LOAD("exeltelin.bin", 0xf006, 0x0ffa, CRC(c12f24b5))      /* internal ROM */
600   ROM_REGION(0x1000, REGION_CPU1, 0)
601   ROM_LOAD("exeltelin.bin", 0x0006, 0x0ffa, CRC(c12f24b5))      /* TMS7020 internal ROM */
584602
603   ROM_REGION(0x1000, REGION_CPU2, 0)
604   ROM_LOAD("exeltel_7041.bin", 0x0000, 0x1000, NO_DUMP)         /* TMS7041 internal ROM. Max 4KB ROM, could also be 2KB */
605
585606   ROM_REGION(0x10000,REGION_USER1,0)
586607   ROM_LOAD("exeltel14.bin", 0x0000, 0x10000, CRC(52a80dd4) SHA1(2cb4c784fba3aec52770999bb99a9a303269bf89))   /* system ROM */
587608ROM_END

Previous 15994 Revisions Next


© 1998-2018 The MESS Team