Previous 199869 Revisions Next

r26337 Thursday 21st November, 2013 at 16:52:35 UTC by David Haywood
placeholder functions for the spyhunter bootleg / proto / low-cost board

i've asked around and the Spanish guy who owns Megaphoenix (by Dinamic) also has one of these as well as the 1942 (although no time to dump anything)
http://mamedev.emulab.it/haze/pics2013/spyhunter_alt.jpg is his PCB, it has even clearer Bally Midway license text on it.. there's got to be some story behind these, they were clearly aimed at the Spanish market.
[src/mame/drivers]mcr3.c
[src/mame/includes]mcr3.h

trunk/src/mame/drivers/mcr3.c
r26336r26337
534534   AM_RANGE(0xf0, 0xf3) AM_DEVREADWRITE("ctc", z80ctc_device, read, write)
535535ADDRESS_MAP_END
536536
537WRITE8_MEMBER(mcr3_state::spyhuntpr_a800_w)
538{
537539
540}
541
542WRITE8_MEMBER(mcr3_state::spyhuntpr_a801_w)
543{
544
545}
546
547WRITE8_MEMBER(mcr3_state::spyhuntpr_a802_w)
548{
549
550}
551
552WRITE8_MEMBER(mcr3_state::spyhuntpr_a803_w)
553{
554
555}
556
557WRITE8_MEMBER(mcr3_state::spyhuntpr_a900_w)
558{
559
560}
561
562WRITE8_MEMBER(mcr3_state::spyhuntpr_fd00_w)
563{
564
565}
566
538567static ADDRESS_MAP_START( spyhuntpr_map, AS_PROGRAM, 8, mcr3_state )
539568   ADDRESS_MAP_UNMAP_HIGH
540569   AM_RANGE(0x0000, 0xdfff) AM_ROM
570
571   AM_RANGE(0xa800, 0xa800) AM_WRITE( spyhuntpr_a800_w )
572   AM_RANGE(0xa801, 0xa801) AM_WRITE( spyhuntpr_a801_w )
573   AM_RANGE(0xa802, 0xa802) AM_WRITE( spyhuntpr_a802_w )
574   AM_RANGE(0xa803, 0xa803) AM_WRITE( spyhuntpr_a803_w )
575   AM_RANGE(0xa900, 0xa900) AM_WRITE( spyhuntpr_a900_w )
576
541577   AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(spyhunt_videoram_w) AM_SHARE("videoram")
542578   AM_RANGE(0xe800, 0xebff) AM_MIRROR(0x0400) AM_RAM_WRITE(spyhunt_alpharam_w) AM_SHARE("spyhunt_alpha")
543579   AM_RANGE(0xf000, 0xf7ff) AM_RAM AM_SHARE("nvram")
r26336r26337
548584   AM_RANGE(0xfc01, 0xfc01) AM_READ_PORT("IN1")
549585   AM_RANGE(0xfc02, 0xfc02) AM_READ_PORT("IN2")
550586   AM_RANGE(0xfc03, 0xfc03) AM_READ_PORT("IN3")
551//   AM_RANGE(0xfc01, 0xfc01) AM_READ_PORT("IN3")
552587   
553//   AM_RANGE(0xfa80, 0xfdff) AM_RAM
588   AM_RANGE(0xfd00, 0xfd00) AM_WRITE( spyhuntpr_fd00_w )
554589
555
556
557590   AM_RANGE(0xfe00, 0xffff) AM_RAM // a modified copy of spriteram for this hw??
558591ADDRESS_MAP_END
559592
593WRITE8_MEMBER(mcr3_state::spyhuntpr_port04_w)
594{
595
596}
597
560598static ADDRESS_MAP_START( spyhuntpr_portmap, AS_IO, 8, mcr3_state )
561599   ADDRESS_MAP_UNMAP_HIGH
562600   ADDRESS_MAP_GLOBAL_MASK(0xff)
601   AM_RANGE(0x04, 0x04) AM_WRITE(spyhuntpr_port04_w)
563602   AM_RANGE(0x84, 0x86) AM_WRITE(spyhunt_scroll_value_w)
564603   AM_RANGE(0xe0, 0xe0) AM_WRITE(watchdog_reset_w)
565604   AM_RANGE(0xe8, 0xe8) AM_WRITENOP
trunk/src/mame/includes/mcr3.h
r26336r26337
7373   UINT32 screen_update_spyhuntpr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
7474   void mcr3_update_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int color_mask, int code_xor, int dx, int dy, int interlaced);
7575   void mcr_common_init();
76
77   DECLARE_WRITE8_MEMBER(spyhuntpr_a800_w);
78   DECLARE_WRITE8_MEMBER(spyhuntpr_a801_w);
79   DECLARE_WRITE8_MEMBER(spyhuntpr_a802_w);
80   DECLARE_WRITE8_MEMBER(spyhuntpr_a803_w);
81   DECLARE_WRITE8_MEMBER(spyhuntpr_a900_w);
82   DECLARE_WRITE8_MEMBER(spyhuntpr_port04_w);
83   DECLARE_WRITE8_MEMBER(spyhuntpr_fd00_w);
84
85
86
7687};

Previous 199869 Revisions Next


© 1997-2024 The MAME Team