I just tested the code juj posted, on a real vga + a modern pc monitor, and it is 60hz, but there are still black bands at the top and bottom of the screen, the bottom one is larger.
If I set the square pixels, the image is centered, and the top/bottom bars contain overscan (color 0). Both vga...