scn2674: make octopus look better (nw)

This commit is contained in:
cracyc 2016-09-19 22:04:03 -05:00
parent 9b721d0758
commit 0a3572591f

View File

@ -483,6 +483,16 @@ void scn2674_device::write_command(UINT8 data)
/* read from cursor address to pointer address */
LOG2674(("DELAYED read from cursor address to pointer address %02x\n",data));
break;
case 0xbf:
/* write from cursor address to pointer address TODO: transfer only during blank*/
for(i = m_cursor_l | (m_cursor_h << 8); i != (m_IR10_display_pointer_address_lower | (m_IR11_display_pointer_address_upper << 8)); i = ((i + 1) & 0xffff))
space().write_byte(i, m_buffer);
space().write_byte(i, m_buffer); // get the last
m_cursor_l = m_IR10_display_pointer_address_lower;
m_cursor_h = m_IR11_display_pointer_address_upper;
LOG2674(("DELAYED write from cursor address to pointer address %02x\n",data));
break;
}
}