blob: 0227b4856f8eb7f47dc08c52f47955f832af8511 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#include "sound/discrete.h"
#include "sound/custom.h"
/*----------- video timing -----------*/
#define MASTER_CLOCK XTAL_11MHz
#define PIXEL_CLOCK (MASTER_CLOCK/2)
#define CPU_CLOCK (PIXEL_CLOCK)
#define HTOTAL (512-160)
#define HBSTART (256)
#define HBEND (0)
#define VTOTAL (256)
#define VBSTART (208)
#define VBEND (0)
/*----------- defined in audio/phoenix.c -----------*/
SOUND_START( phoenix );
DISCRETE_SOUND_EXTERN( phoenix );
WRITE8_HANDLER( phoenix_sound_control_a_w );
WRITE8_HANDLER( phoenix_sound_control_b_w );
void *phoenix_sh_start(int clock, const struct CustomSound_interface *config);
/*----------- defined in audio/pleiads.c -----------*/
WRITE8_HANDLER( pleiads_sound_control_a_w );
WRITE8_HANDLER( pleiads_sound_control_b_w );
WRITE8_HANDLER( pleiads_sound_control_c_w );
void *pleiads_sh_start(int clock, const struct CustomSound_interface *config);
void *naughtyb_sh_start(int clock, const struct CustomSound_interface *config);
void *popflame_sh_start(int clock, const struct CustomSound_interface *config);
/*----------- defined in video/naughtyb.c -----------*/
extern UINT8 *naughtyb_videoram2;
extern UINT8 *naughtyb_scrollreg;
extern int naughtyb_cocktail;
WRITE8_HANDLER( naughtyb_videoreg_w );
WRITE8_HANDLER( popflame_videoreg_w );
VIDEO_START( naughtyb );
PALETTE_INIT( naughtyb );
VIDEO_UPDATE( naughtyb );
/*----------- defined in video/phoenix.c -----------*/
PALETTE_INIT( phoenix );
PALETTE_INIT( survival );
PALETTE_INIT( pleiads );
VIDEO_START( phoenix );
VIDEO_UPDATE( phoenix );
WRITE8_HANDLER( phoenix_videoram_w );
WRITE8_HANDLER( phoenix_videoreg_w );
WRITE8_HANDLER( pleiads_videoreg_w );
WRITE8_HANDLER( phoenix_scroll_w );
READ8_HANDLER( phoenix_input_port_0_r );
READ8_HANDLER( pleiads_input_port_0_r );
READ8_HANDLER( survival_input_port_0_r );
READ8_HANDLER( survival_protection_r );
|