I want to know (or calculate) the number of CPU cycles a VGA scanline takes to be drawn. I'll do it for 8088 and 8086 only, because 286 is fast enough to wait for scanlines (reading the vga ports). I don't think there is another way to synchronize code with the crt display.
Any ideas on how to do it?.
I could write pixels to vram with changing colours, and just count myself, but maybe this is not very accurate .
Thanks!
Any ideas on how to do it?.
I could write pixels to vram with changing colours, and just count myself, but maybe this is not very accurate .
Thanks!