VOGONS


Reply 42 of 42, by MobyGamer

User metadata
Rank Member
Rank
Member
Great Hierophant wrote:

I believe that 320x200 resolutions ran at 60Hz on CGA and EGA devices and only on VGA card did they up the refresh rate to 70Hz. This would suggest that games with CGA and EGA graphics show tearing on VGA adapters. Also, Hercules cards used a 50Hz refresh rate.

You're correct about the refresh rates, but not the tearing. Most games that had full-rate effects like that (like the train pulling into the station in Agent USA, or the smooth screen transitions in Roller Coaster Rumbler) synced to the actual monitor refresh rate through monitoring vertical retrace via port 3da. On VGA, they work the same way, albeit at 70Hz which is a little faster.

The only game that used vertical/horizontal retrace effects that I know of that was NOT tied to monitoring the actual hardware was California Games in "CGA MORE-color" mode. Those palette changes are fired off by one-shot interrupts that are set to go off a certain amount of time after vertical sync starts. Since the one-shot delay value is fixed in the code, the game does a quick check to see if it's running on something other than 4.77MHz 8088 and reverts to regular CGA if true.