5 ms·
Back in the days of CRT monitors, you'd wait for a display refresh loop interrupt to fire, and as you knew that the screen refreshed at a particular number of c
by bencollier49 8y ago
Back in the days of CRT monitors, you'd wait for a display refresh loop interrupt to fire, and as you knew that the screen refreshed at a particular number of cycles per second, you knew how fast your game would run.
- rasz 8y agoBack in the days of CRT monitors and DOS, graphic hardware didnt generate vsync interrupts.
- bencollier49 8y agoYes it did. I used to use them to keep my games at the right speed.
- rasz 8y agoI should of narrowed my statement to VGA under DOS. You had to either manually poll 3dAh, or best case scenario politely ask VESA (SetDisplayStart) to page flip during vsync for you, but even that wasnt always working (for example Quake had a manual switch and treated it as something experimental). Interrupt was a remnant from CGA/EGA standard support, crapshoot on VGA cards. https://www.vogons.org/viewtopic.php?f=63&t=58445 https://www.vogons.org/viewtopic.php?f=63&t=58445 https://books.google.pl/books?id=gZ5SDTpMR-MC&pg=PA386&lpg=PA386&dq=ega+vertical+retrace+interrupt https://books.google.pl/books?id=gZ5SDTpMR-MC&pg=PA386&lpg=P...