grandcentral: remove board register 1 stub.

This commit is contained in:
Maxim Poliakovski 2023-12-10 00:03:37 +01:00
parent a1ad0a3e07
commit 078aa79270
2 changed files with 1 additions and 7 deletions

View File

@ -77,9 +77,6 @@ GrandCentral::GrandCentral() : PCIDevice("mac-io/grandcentral"), InterruptCtrl()
this->swim3 = dynamic_cast<Swim3::Swim3Ctrl*>(gMachineObj->get_comp_by_name("Swim3"));
this->floppy_dma = std::unique_ptr<DMAChannel> (new DMAChannel());
this->swim3->set_dma_channel(this->floppy_dma.get());
// set EMMO pin status (active low)
this->emmo_pin = GET_BIN_PROP("emmo") ^ 1;
}
void GrandCentral::notify_bar_change(int bar_num)
@ -121,8 +118,7 @@ uint32_t GrandCentral::read(uint32_t rgn_start, uint32_t offset, int size)
case 6:
case 7: // VIA-CUDA
return this->viacuda->read((offset >> 9) & 0xF);
case 0xA: // Board register 1 (IOBus dev #1)
return BYTESWAP_32(this->emmo_pin << 8);
case 0xA: // IOBus dev #1
case 0xB: // IOBus dev #2
case 0xC: // IOBus dev #3
case 0xE: // IOBus dev #5

View File

@ -119,8 +119,6 @@ protected:
private:
uint32_t base_addr = 0;
uint8_t emmo_pin; // factory tester status, active low
// interrupt state
uint32_t int_mask = 0;
uint32_t int_levels = 0;