Previous 199869 Revisions Next

r24578 Tuesday 30th July, 2013 at 14:23:27 UTC by David Haywood
checkpoint (nw)
[src/mame/drivers]casanova.c

trunk/src/mame/drivers/casanova.c
r24577r24578
2626      return 0;
2727   }
2828
29
30   DECLARE_READ16_MEMBER( unk_casanova_28x_r ) { return 0x0000; }
31
32   DECLARE_WRITE16_MEMBER( unk_casanova_40x_w ) { }
33   DECLARE_WRITE16_MEMBER( unk_casanova_48x_w ) { }
34
35
36   DECLARE_READ16_MEMBER( unk_casanova_50x_r ) { return 0x0000; }
37   DECLARE_READ16_MEMBER( unk_casanova_58x_r ) { return 0x0000; }
38   DECLARE_READ16_MEMBER( unk_casanova_60x_r ) { return 0x0000; }
39
40   DECLARE_WRITE16_MEMBER( unk_casanova_80x_w ) { }
2941};
3042
3143
r24577r24578
3345static ADDRESS_MAP_START( casanova_map, AS_PROGRAM, 16, casanova_state )
3446   AM_RANGE(0x000000, 0x07ffff) AM_ROM
3547   AM_RANGE(0x100000, 0x10ffff) AM_RAM
48   AM_RANGE(0x200000, 0x202fff) AM_RAM // tilemaps
49
50   AM_RANGE(0x280000, 0x280001) AM_READ(unk_casanova_28x_r)
51
52   AM_RANGE(0x300000, 0x3005ff) AM_RAM_WRITE(paletteram_xRRRRRGGGGGBBBBB_word_w) AM_SHARE("paletteram")
53
54   AM_RANGE(0x400000, 0x400001) AM_WRITE(unk_casanova_40x_w)
55   AM_RANGE(0x480000, 0x480001) AM_WRITE(unk_casanova_48x_w)
56
57   AM_RANGE(0x500000, 0x500001) AM_READ(unk_casanova_50x_r)
58   AM_RANGE(0x580000, 0x580001) AM_READ(unk_casanova_58x_r)
59   AM_RANGE(0x600000, 0x600001) AM_READ(unk_casanova_60x_r)
60
61   AM_RANGE(0x800000, 0x800001) AM_WRITE(unk_casanova_80x_w)
62
3663ADDRESS_MAP_END
3764
3865
66
67
68
3969static INPUT_PORTS_START( casanova )
4070INPUT_PORTS_END
4171
r24577r24578
74104
75105   MCFG_CPU_ADD("maincpu", M68000, 10000000 )
76106   MCFG_CPU_PROGRAM_MAP(casanova_map)
77//   MCFG_CPU_VBLANK_INT_DRIVER("screen", casanova_state,  irq1_line_hold)
107   MCFG_CPU_VBLANK_INT_DRIVER("screen", casanova_state,  irq4_line_hold)
78108
79109   MCFG_GFXDECODE(casanova)
80110
r24577r24578
85115   MCFG_SCREEN_VISIBLE_AREA(0*8, 48*8-1, 0*8, 30*8-1)
86116   MCFG_SCREEN_UPDATE_DRIVER(casanova_state, screen_update_casanova)
87117
88   MCFG_PALETTE_LENGTH(0x200)
118   MCFG_PALETTE_LENGTH(0x300)
89119
90120
91121//   MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")

Previous 199869 Revisions Next


© 1997-2024 The MAME Team