mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
(nw) phc25: some sounds
This commit is contained in:
parent
9e0c0173dd
commit
d5d22147e2
@ -5,7 +5,7 @@
|
||||
Sanyo PHC-25
|
||||
|
||||
|
||||
http://www.geocities.jp/sanyo_phc_25/
|
||||
https://web.archive.org/web/20180107213100/http://www.geocities.jp/sanyo_phc_25/
|
||||
http://www.phc25.com/
|
||||
|
||||
Z80 @ 4 MHz
|
||||
@ -22,7 +22,9 @@
|
||||
|
||||
TODO:
|
||||
|
||||
- sound isn't working
|
||||
- sound is strange, volume is often low to non-existent.
|
||||
- colours and graphics are different to those shown at
|
||||
http://www.phc25.com/collection.htm - who is correct?
|
||||
- screen attribute bit 7 is unknown
|
||||
|
||||
|
||||
@ -323,16 +325,16 @@ void phc25_state::phc25(machine_config &config)
|
||||
|
||||
/* sound hardware */
|
||||
SPEAKER(config, "mono").front_center();
|
||||
ay8910_device &psg(AY8910(config, AY8910_TAG, 1996750));
|
||||
ay8910_device &psg(AY8910(config, AY8910_TAG, 1'000'000));
|
||||
psg.port_a_read_callback().set_ioport("JOY0");
|
||||
psg.port_b_read_callback().set_ioport("JOY1");
|
||||
psg.add_route(ALL_OUTPUTS, "mono", 1.00);
|
||||
psg.add_route(ALL_OUTPUTS, "mono", 2.00);
|
||||
|
||||
/* devices */
|
||||
CASSETTE(config, m_cassette);
|
||||
m_cassette->set_formats(phc25_cassette_formats);
|
||||
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
|
||||
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.15);
|
||||
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.1);
|
||||
m_cassette->set_interface("phc25_cass");
|
||||
|
||||
CENTRONICS(config, m_centronics, centronics_devices, "printer");
|
||||
|
Loading…
Reference in New Issue
Block a user