Add ESCC B RCV DMA

Diagnosing issues in booting up Mac OS 9.0.4 for Beige G3
This commit is contained in:
dingusdev 2024-12-04 21:11:47 -07:00
parent 1bf4073fa7
commit 81ebc40158
2 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,8 @@ uint32_t HeathrowIC::dma_read(uint32_t offset, int size) {
return this->enet_xmit_dma->reg_read(offset & 0xFF, size);
case MIO_OHARE_DMA_ETH_RCV:
return this->enet_rcv_dma->reg_read(offset & 0xFF, size);
case MIO_OHARE_DMA_ESCC_B_RCV:
return this->escc_b_rcv_dma->reg_read(offset & 0xFF, size);
case MIO_OHARE_DMA_AUDIO_OUT:
return this->snd_out_dma->reg_read(offset & 0xFF, size);
default:
@ -154,6 +156,9 @@ void HeathrowIC::dma_write(uint32_t offset, uint32_t value, int size) {
case MIO_OHARE_DMA_ETH_RCV:
this->enet_rcv_dma->reg_write(offset & 0xFF, value, size);
break;
case MIO_OHARE_DMA_ESCC_B_RCV:
this->escc_b_rcv_dma->reg_write(offset & 0xFF, value, size);
break;
case MIO_OHARE_DMA_AUDIO_OUT:
this->snd_out_dma->reg_write(offset & 0xFF, value, size);
break;

View File

@ -406,6 +406,7 @@ private:
std::unique_ptr<DMAChannel> floppy_dma;
std::unique_ptr<DMAChannel> enet_xmit_dma;
std::unique_ptr<DMAChannel> enet_rcv_dma;
std::unique_ptr<DMAChannel> escc_b_rcv_dma;
std::unique_ptr<DMAChannel> snd_out_dma;
};