Skip to content

Commit

Permalink
mu100b, psr540: minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
galibert committed Nov 5, 2024
1 parent b2aef48 commit d817f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mame/yamaha/ymmu100.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ u16 mu100_state::adc_battery_r()
// model detect. pulled to GND (0) on MU100, to 0.5Vcc on the card version, to Vcc on MU100R
u16 mu100_state::adc_type_r()
{
return 0;
return m_lcd ? 0 : 0x200;
}

u16 mu100r_state::adc_type_r()
Expand Down
2 changes: 1 addition & 1 deletion src/mame/yamaha/ympsr540.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ void psr540_state::map(address_map &map)
map(0x00400000, 0x007fffff).rom().region("program_rom", 0);

// c00000-ffffff: cs3 space, 8 bits, cs assert extension, 3 wait states
map(0x00c00000, 0x00c00fff).m(m_swx00, FUNC(swx00_sound_device::map));
map(0x00c00000, 0x00c007ff).m(m_swx00, FUNC(swx00_sound_device::map));

// Dedicated dram space, ras precharge = 1.5, ras-cas delay 2, cas-before-ras 2.5, dram write 4, read 3, idle 0, burst, ras down, 16bits, 9-bit address
// Automatic refresh every 436 cycles, cas-before-ras
Expand Down

0 comments on commit d817f13

Please sign in to comment.