video/v9938.cpp: QA notes

This commit is contained in:
angelosa 2023-11-27 23:25:17 +01:00
parent 82f9511ca4
commit 43818feb99

View File

@ -241,14 +241,14 @@ void v99x8_device::set_screen_parameters()
}
else
{
// NYSC
// NTSC
m_scanline_start = (m_cont_reg[9] & 0x80) ? 16 : 26;
m_scanline_max = (m_cont_reg[9] & 0x80) ? 234 : 244;
}
m_visible_y = (m_cont_reg[9] & 0x80) ? 212 : 192;
}
// FIXME: this doesn't really allow for external clock configuration
void v99x8_device::configure_pal_ntsc()
{
if (m_pal_ntsc)
@ -692,6 +692,7 @@ void v99x8_device::device_reset()
m_cmd_write_first = m_pal_write_first = 0;
m_int_state = 0;
m_read_ahead = 0; m_address_latch = 0; // ???
// FIXME: this drifts the scanline number wrt screen h/vpos
m_scanline = 0;
// MZ: The status registers 4 and 6 hold the high bits of the sprite
// collision location. The unused bits are set to 1.
@ -810,6 +811,7 @@ void v99x8_device::check_int()
** called; because of this Mr. Ghost, Xevious and SD Snatcher don't
** run. As a patch it's called every scanline
*/
// FIXME: breaks nichibutsu hrdvd.cpp & nichild.cpp, really needs INPUT_MERGER instead.
m_int_callback(n);
}