VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

What's the difference between the VGA's Dot Clock rate (divide by 1, 2 or 4) and character clock (divide by 1, 2 or 4)?
How does the DIVIDE SCANLINE CLOCK BY 2 affect ouput?
How do any of them affect output?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 1 of 3, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie

Think of the text mode. You have 8 pixels across one character, 9 if VGA and the 9-clock mode is active. so one character clock is 8 or 9 dot clocks.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 2 of 3, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie

also the divide scanline by 2 bit tells the card to count each scanline twice when outputting to the monitor. Based on VGA hacking on my end that apparently means that the CRTC values for vertical scan are effectively doubled. most bioses seem to set the bit for CGA and EGA modes on VGA hardware where older software might expect a 200-line video output. it also ties into how VGA cards emulate CGA interleaved memory access.

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.

Reply 3 of 3, by TheGreatCodeholio

User metadata
Rank Oldbie
Rank
Oldbie

You might also find this helpful: https://m.youtube.com/watch?v=9NCJ3B1NxGg

DOSBox-X project: more emulation better accuracy.
DOSLIB and DOSLIB2: Learn how to tinker and hack hardware and software from DOS.