Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spg format + [tsconf_betadisc_flop.xml] updated games/demos [holub, tslabs] #11274

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
416 changes: 414 additions & 2 deletions hash/tsconf_betadisc_flop.xml

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/mame/sinclair/spec128.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@ void spectrum_128_state::spectrum_128_port_7ffd_w(offs_t offset, uint8_t data)
m_exp->iorq_w(offset | 1, data);
}

void spectrum_128_state::bank3_set_page(u8 page)
{
m_port_7ffd_data &= 0xf8;
m_port_7ffd_data |= page & 0x07;
spectrum_128_update_memory();
}

void spectrum_128_state::spectrum_128_update_memory()
{
m_bank_rom[0]->set_entry(BIT(m_port_7ffd_data, 4));
Expand Down
1 change: 1 addition & 0 deletions src/mame/sinclair/spec128.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class spectrum_128_state : public spectrum_state
virtual void machine_start() override;
virtual void machine_reset() override;

virtual void bank3_set_page(u8 page) override;
virtual void spectrum_128_update_memory() override;
virtual rectangle get_screen_area() override;

Expand Down
Loading
Loading