mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
balsente.cpp: Remove outdated ACIA hack (sound communications now work better without it)
This commit is contained in:
parent
fa8e18f41d
commit
6ecb37a638
@ -248,7 +248,7 @@ void balsente_state::cpu1_base_map(address_map &map)
|
||||
map(0x9902, 0x9902).portr("IN0");
|
||||
map(0x9903, 0x9903).portr("IN1").nopw();
|
||||
map(0x9a00, 0x9a03).r(FUNC(balsente_state::random_num_r));
|
||||
map(0x9a04, 0x9a05).r("acia", FUNC(acia6850_device::read)).w(FUNC(balsente_state::acia_w));
|
||||
map(0x9a04, 0x9a05).rw("acia", FUNC(acia6850_device::read), FUNC(acia6850_device::write));
|
||||
map(0xa000, 0xbfff).bankr("bankab");
|
||||
map(0xc000, 0xdfff).bankr("bankcd");
|
||||
map(0xe000, 0xffff).bankr("bankef");
|
||||
|
@ -109,7 +109,6 @@ private:
|
||||
DECLARE_WRITE_LINE_MEMBER(nvrecall_w);
|
||||
uint8_t novram_8bit_r(address_space &space, offs_t offset);
|
||||
void novram_8bit_w(offs_t offset, uint8_t data);
|
||||
void acia_w(offs_t offset, uint8_t data);
|
||||
uint8_t adc_data_r();
|
||||
void adc_select_w(offs_t offset, uint8_t data);
|
||||
void spiker_expand_w(offs_t offset, uint8_t data);
|
||||
|
@ -252,20 +252,6 @@ void balsente_state::novram_8bit_w(offs_t offset, uint8_t data)
|
||||
|
||||
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* 6850 UART communications
|
||||
*
|
||||
*************************************/
|
||||
|
||||
void balsente_state::acia_w(offs_t offset, uint8_t data)
|
||||
{
|
||||
// Ugly workaround: suppress soft reset command in order to avert race condition
|
||||
m_acia->write(offset, (BIT(offset, 0) && data == 0xe0) ? 0 : data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* ADC handlers
|
||||
|
Loading…
Reference in New Issue
Block a user