Previous 15994 Revisions Next

r1087 Sunday 7th October, 2007 at 15:40:21 UTC by Nathan Woods
[PC] Introduced audio/pc.h, containing headers removed from pcshare.h
[src/mame/machine]8042kbdc.c pcshare.c pcshare.h
[src/mess/audio]pc.c pc.h*
[src/mess/drivers]at.c pc.c
[src/mess/machine]amstr_pc.c europc.c ibmpc.c pc.c tandy1t.c

src/mame/machine/8042kbdc.c
r1086r1087
181181#include "machine/pit8253.h"
182182#include "machine/pcshare.h"
183183
184#ifdef MESS
185#include "audio/pc.h"
186#endif /* MESS */
184187
188
189
185190/***************************************************************************
186191
187192    Constants & macros
src/mame/machine/pcshare.c
r1086r1087
4747
4848#include "machine/pc_hdc.h"
4949#include "machine/nec765.h"
50#include "audio/pc.h"
5051
5152#include "mscommon.h"
5253#endif /* MESS */
src/mame/machine/pcshare.h
r1086r1087
1#include "driver.h"
21#include "sound/custom.h"
32
43/* flags for init_pc_common */
r1086r1087
2827
2928READ32_HANDLER(at_page32_r);
3029WRITE32_HANDLER(at_page32_w);
31
32/*----------- defined in audio/pc.c -----------*/
33
34extern struct CustomSound_interface pc_sound_interface;
35void pc_sh_update(void *param, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
36void pc_sh_speaker(int mode);
37
38void pc_sh_speaker_change_clock(double pc_clock);
src/mess/audio/pc.c
r1086r1087
1414#include "streams.h"
1515#include "machine/pcshare.h"
1616#include "machine/pit8253.h"
17#include "audio/pc.h"
1718
1819#define SND_LOG(n,m,a)
1920#define BASECLOCK   1193180
r1086r1087
2122
2223static void *pc_sh_custom_start(int clock, const struct CustomSound_interface *config);
2324
24struct CustomSound_interface pc_sound_interface =
25const struct CustomSound_interface pc_sound_interface =
2526{
2627   pc_sh_custom_start
2728};
src/mess/audio/pc.h
r0r1087
1/***************************************************************************
2
3   audio/pc.h
4
5   Functions to emulate a PC PIC timer 2 used for simple tone generation
6
7   TODO:
8   Add support for the SN76496 used in the Tandy1000/PCjr
9   It most probably is on port 0xc0, but I'm not sure...
10
11****************************************************************************/
12
13#ifndef __AUDIO_PC_H__
14#define __AUDIO_PC_H__
15
16#include "driver.h"
17
18extern const struct CustomSound_interface pc_sound_interface;
19void pc_sh_update(void *param, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
20void pc_sh_speaker(int mode);
21 
22void pc_sh_speaker_change_clock(double pc_clock);
23
24#endif /* __AUDIO_PC_H__ */
src/mess/machine/europc.c
r1086r1087
44#include "machine/pit8253.h"
55#include "video/pc_aga.h"
66#include "mscommon.h"
7#include "audio/pc.h"
78
89/*
910
src/mess/machine/ibmpc.c
r1086r1087
33#include "machine/pcshare.h"
44#include "includes/ibmpc.h"
55#include "memconv.h"
6#include "audio/pc.h"
67
78#define VERBOSE_PIO 0      /* PIO (keyboard controller) */
89
src/mess/machine/tandy1t.c
r1086r1087
33#include "machine/pckeybrd.h"
44
55#include "machine/pcshare.h"
6#include "audio/pc.h"
67#include "includes/tandy1t.h"
78
89
src/mess/machine/pc.c
r1086r1087
4040#include "includes/europc.h"
4141#include "includes/ibmpc.h"
4242#include "machine/pcshare.h"
43#include "audio/pc.h"
4344
4445#include "includes/pc.h"
4546#include "mscommon.h"
src/mess/machine/amstr_pc.c
r1086r1087
66#include "includes/pclpt.h"
77#include "video/pc_vga.h"
88#include "memconv.h"
9#include "audio/pc.h"
910
11
1012/* pc20 (v2)
1113   fc078
1214   fc102 color/mono selection
src/mess/drivers/at.c
r1086r1087
3434#include "includes/ps2.h"
3535
3636#include "machine/pcshare.h"
37#include "audio/pc.h"
3738
3839#include "devices/mflopimg.h"
3940#include "devices/harddriv.h"
src/mess/drivers/pc.c
r1086r1087
4646#include "includes/ibmpc.h"
4747
4848#include "machine/pcshare.h"
49#include "audio/pc.h"
4950#include "includes/pc.h"
5051
5152#include "machine/pc_hdc.h"

Previous 15994 Revisions Next


© 1998-2018 The MESS Team