In 16-bit code? int 10h/5
http://www.ctyme.com/intr/rb-0091.htmIn 32-bit code... you're in for a world of hurt, I think! This file might help?
http://www.programmersheaven.com/download/1866/ZipFileList.aspxIt actually deals with switching to mode 13h, but using ports rather than int 10h. Also check out "ports.lst", part of the RBIL package. I think it may be port 3CEh (and 3CFh?) that you want, but I'm not sure...
Unless you've determined that buffering the screen is really too slow, I'd go with that. Reading from video memory is very slow. If your "new pixel" depends on the "old pixel", work in a buffer (probably two buffers) - copy video memory to a buffer once, if you must, work in the buffer(s), and copy the buffer back to screen memory when you're done. "rep movsd" is pretty fast, but you can use wider registers for even more speed(?) if you need to...
Best,
Frank