mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Spectrum +2/+3 contended memory is different to Spectrum 128k [smf]
This commit is contained in:
parent
cecbe8e906
commit
b9e9b2555a
@ -371,6 +371,12 @@ static void specpls3_floppies(device_slot_interface &device)
|
||||
device.option_add("3ssdd", FLOPPY_3_SSDD);
|
||||
}
|
||||
|
||||
bool specpls3_state::is_contended(offs_t offset) {
|
||||
u8 bank = m_bank_ram[3]->entry();
|
||||
return spectrum_state::is_contended(offset)
|
||||
|| ((offset >= 0xc000 && offset <= 0xffff) && (bank & 4)); // Memory banks 4,5,6 and 7 are contended
|
||||
}
|
||||
|
||||
/* F4 Character Displayer */
|
||||
static const gfx_layout spectrum_charlayout =
|
||||
{
|
||||
|
@ -34,6 +34,7 @@ protected:
|
||||
virtual void machine_start() override;
|
||||
virtual void machine_reset() override;
|
||||
virtual void plus3_update_memory() override;
|
||||
virtual bool is_contended(offs_t offset) override;
|
||||
|
||||
private:
|
||||
void rom_w(offs_t offset, uint8_t data);
|
||||
|
Loading…
Reference in New Issue
Block a user