[Open-graphics] Video Controller fix

Timothy Normand Miller theosib at gmail.com
Wed May 9 17:57:42 EDT 2007


I checked in a change to progressive.asm.

The RESET_CURSOR_X flag was set on a WAIT instruction.  This flag
resets X and increments Y.  But since it's a WAIT instruction with a
count>1, it incremented Y many times for the one scanline.  Moreover,
we shouldn't increment Y until AFTER the first scanline (it starts at
zero).  So I moved the flag to the INC instruction following the SEND.

We may want to see about allowing it to be on the WAIT but making it
actually execute once, similarly to how having a RETURN on a WAIT only
executes the RETURN at on the last cycle of the loop.

-- 
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project


More information about the Open-graphics mailing list