diff options
| author | 2023-08-27 04:37:35 +1000 | |
|---|---|---|
| committer | 2023-08-27 04:37:35 +1000 | |
| commit | 6c0005df396e3eb013314782ca9256eacadbe4d2 (patch) | |
| tree | e226a66c6734bc5de81551a449543ba817006946 /src/devices/video/mb86292.cpp | |
| parent | 9865cf3800c68a323f4bd956c6a95b33ba213887 (diff) | |
srcclean, #include order cleanup, and self-closing XML tag cleanup before MAME 0.258 release branch.
Diffstat (limited to 'src/devices/video/mb86292.cpp')
| -rw-r--r-- | src/devices/video/mb86292.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/devices/video/mb86292.cpp b/src/devices/video/mb86292.cpp index bfdfc6db1c4..4a16ebd6a25 100644 --- a/src/devices/video/mb86292.cpp +++ b/src/devices/video/mb86292.cpp @@ -115,8 +115,8 @@ void mb86292_device::device_reset() m_vsync_timer->adjust(attotime::never); -// m_crtc.vtr = m_crtc.htp = m_crtc.hdp = m_crtc.hdb = m_crtc.hsp = m_crtc.hsw = 0; -// m_crtc.vtr = m_crtc.vsp = m_crtc.vdp = m_crtc.vsw = 0; +// m_crtc.vtr = m_crtc.htp = m_crtc.hdp = m_crtc.hdb = m_crtc.hsp = m_crtc.hsw = 0; +// m_crtc.vtr = m_crtc.vsp = m_crtc.vdp = m_crtc.vsw = 0; m_irq.ist = m_irq.mask = 0; m_dce = 0; } @@ -652,36 +652,36 @@ TIMER_CALLBACK_MEMBER(mb86292_device::vsync_cb) } /* - GCTR Geometry ConTrol Register - ---- ---x ---- ---- ---- ---- ---- ---- FO FIFO Overflow - ---- ---- ---x xxxx x--- ---- ---- ---- FCNT FIFO Counter (up to 0x100000) - ---- ---- ---- ---- -x-- ---- ---- ---- NF FIFO Near Full (actually FIFO half size reached) - ---- ---- ---- ---- --x- ---- ---- ---- FF FIFO full - ---- ---- ---- ---- ---x ---- ---- ---- FE FIFO empty - ---- ---- ---- ---- ---- --xx ---- ---- GS Geometry engine Status - ---- ---- ---- ---- ---- --00 ---- ---- Idle - ---- ---- ---- ---- ---- --01 ---- ---- Processing, assume pixels rather than commands - ---- ---- ---- ---- ---- --1x ---- ---- <reserved> - ---- ---- ---- ---- ---- ---- --xx ---- SS geometry Setup engine Status - ---- ---- ---- ---- ---- ---- --00 ---- Idle - ---- ---- ---- ---- ---- ---- --01 ---- Processing - ---- ---- ---- ---- ---- ---- --10 ---- Processing (separate stage?) - ---- ---- ---- ---- ---- ---- --11 ---- <reserved> - ---- ---- ---- ---- ---- ---- ---- --xx PS Pixel engine Status - ---- ---- ---- ---- ---- ---- ---- --00 Idle - ---- ---- ---- ---- ---- ---- ---- --01 Processing, assume pixels rather than commands - ---- ---- ---- ---- ---- ---- ---- --1x <reserved> + GCTR Geometry ConTrol Register + ---- ---x ---- ---- ---- ---- ---- ---- FO FIFO Overflow + ---- ---- ---x xxxx x--- ---- ---- ---- FCNT FIFO Counter (up to 0x100000) + ---- ---- ---- ---- -x-- ---- ---- ---- NF FIFO Near Full (actually FIFO half size reached) + ---- ---- ---- ---- --x- ---- ---- ---- FF FIFO full + ---- ---- ---- ---- ---x ---- ---- ---- FE FIFO empty + ---- ---- ---- ---- ---- --xx ---- ---- GS Geometry engine Status + ---- ---- ---- ---- ---- --00 ---- ---- Idle + ---- ---- ---- ---- ---- --01 ---- ---- Processing, assume pixels rather than commands + ---- ---- ---- ---- ---- --1x ---- ---- <reserved> + ---- ---- ---- ---- ---- ---- --xx ---- SS geometry Setup engine Status + ---- ---- ---- ---- ---- ---- --00 ---- Idle + ---- ---- ---- ---- ---- ---- --01 ---- Processing + ---- ---- ---- ---- ---- ---- --10 ---- Processing (separate stage?) + ---- ---- ---- ---- ---- ---- --11 ---- <reserved> + ---- ---- ---- ---- ---- ---- ---- --xx PS Pixel engine Status + ---- ---- ---- ---- ---- ---- ---- --00 Idle + ---- ---- ---- ---- ---- ---- ---- --01 Processing, assume pixels rather than commands + ---- ---- ---- ---- ---- ---- ---- --1x <reserved> */ u32 mb86292_device::gctr_r(offs_t offset) { u32 res; res = (m_draw.state == DRAW_DATA) << 0; -// res |= (m_geo.state == SETUP) << 4; -// res |= (m_geo.state == DRAW_DATA) << 8; +// res |= (m_geo.state == SETUP) << 4; +// res |= (m_geo.state == DRAW_DATA) << 8; res |= (m_draw.fifo.queue_length() == 0) << 12; res |= (m_draw.fifo.queue_length() == 16) << 13; // TODO: pingu just hangs -// res |= (m_draw.fifo.queue_length() >= 8) << 14; +// res |= (m_draw.fifo.queue_length() >= 8) << 14; // fcnt << 15; // fo << 24; return res; |
