mirror of
https://github.com/holub/mame
synced 2025-05-11 00:28:49 +03:00
added sound
This commit is contained in:
parent
b562706272
commit
c7f9edd793
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
- preserve tape and hook it up, the game is not playable without it
|
- preserve tape and hook it up, the game is not playable without it
|
||||||
- discrete sound (should be simple to those that know how)
|
|
||||||
- is timing accurate?
|
- is timing accurate?
|
||||||
- correct dump for gfx roms
|
- correct dump for gfx roms
|
||||||
|
|
||||||
@ -16,6 +15,7 @@ TODO:
|
|||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "cpu/s2650/s2650.h"
|
#include "cpu/s2650/s2650.h"
|
||||||
|
#include "sound/dac.h"
|
||||||
|
|
||||||
#include "quizshow.lh"
|
#include "quizshow.lh"
|
||||||
|
|
||||||
@ -157,8 +157,8 @@ WRITE8_MEMBER(quizshow_state::quizshow_tape_control_w)
|
|||||||
|
|
||||||
WRITE8_MEMBER(quizshow_state::quizshow_audio_w)
|
WRITE8_MEMBER(quizshow_state::quizshow_audio_w)
|
||||||
{
|
{
|
||||||
// d1: audio beep on/off
|
// d1: audio out
|
||||||
// TODO
|
dac_signed_w(machine().device("dac"), 0, (data & 2) ? 0x7f : 0);
|
||||||
|
|
||||||
// d0, d2-d7: N/C
|
// d0, d2-d7: N/C
|
||||||
}
|
}
|
||||||
@ -388,7 +388,10 @@ static MACHINE_CONFIG_START( quizshow, quizshow_state )
|
|||||||
MCFG_MACHINE_RESET(quizshow)
|
MCFG_MACHINE_RESET(quizshow)
|
||||||
|
|
||||||
/* sound hardware (discrete) */
|
/* sound hardware (discrete) */
|
||||||
// ..
|
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||||
|
|
||||||
|
MCFG_SOUND_ADD("dac", DAC, 0)
|
||||||
|
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
|
||||||
MACHINE_CONFIG_END
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
|
|
||||||
@ -443,4 +446,4 @@ static DRIVER_INIT( quizshow )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
GAMEL( 1976, quizshow, 0, quizshow, quizshow, quizshow, ROT0, "Atari (Kee Games)", "Quiz Show", GAME_NO_SOUND | GAME_NOT_WORKING, layout_quizshow )
|
GAMEL( 1976, quizshow, 0, quizshow, quizshow, quizshow, ROT0, "Atari (Kee Games)", "Quiz Show", GAME_NOT_WORKING, layout_quizshow )
|
||||||
|
Loading…
Reference in New Issue
Block a user