The optimal VICE PAL VIC aspect ratio
Moderator: Moderators
The optimal VICE PAL VIC aspect ratio
In VICE 2.2, you can set a fix aspect ratio in Settings/Video settings/Keep aspect ratio. The default is quite dreadful...
Well, I measured the Vic-20 output on a LCD TV (set to 4:3 display). I then tried to get the exact same aspect ratio on my computer's LCD monitor. I came up with a setting of 0.809
I'm using it windowed with double size and PAL emulation and it looks really nice.
Has anyone else done the same thing?
Well, I measured the Vic-20 output on a LCD TV (set to 4:3 display). I then tried to get the exact same aspect ratio on my computer's LCD monitor. I came up with a setting of 0.809
I'm using it windowed with double size and PAL emulation and it looks really nice.
Has anyone else done the same thing?
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
- Pedro Lambrini
- Vic 20 Scientist
- Posts: 1132
- Joined: Mon Dec 01, 2008 11:36 am
Well, I didn't measure anything but just by eye I ended up adjusting it to .833. First, I set it to .800 and then threw in another bit for good luck. It became .833 rather than .830 because I hit the 3 key twice by accident on my flaky keyboard... Pretty close if I say so myself!
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
- orion70
- VICtalian
- Posts: 4343
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
I followed tlr's suggestion and .825 looks just fine for me .
I did the same thing, although I didn't fine-tune it very much. I tried 0.900 (too wide), 0.700 (too narrow), and finally ended up with 0.800.Pedro Lambrini wrote:Well, I didn't measure anything but just by eye I ended up adjusting it to .833. First, I set it to .800 and then threw in another bit for good luck. It became .833 rather than .830 because I hit the 3 key twice by accident on my flaky keyboard... Pretty close if I say so myself!
Bacon
-------------------------------------------------------
Das rubbernecken Sichtseeren keepen das cotton-pickenen Hands in die Pockets muss; relaxen und watschen die Blinkenlichten.
-------------------------------------------------------
Das rubbernecken Sichtseeren keepen das cotton-pickenen Hands in die Pockets muss; relaxen und watschen die Blinkenlichten.
- Pedro Lambrini
- Vic 20 Scientist
- Posts: 1132
- Joined: Mon Dec 01, 2008 11:36 am
Has anyone done something like this for the other VICE emulators? The C64 for example?
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
I'm having a major issue with screen caps - I'm wondering why my screencaps are being stretched by my Nvidia card. The aspect ratio in my actual display is perfect (0.84)...I tried every variation of Video Option in VICE but my screencaps are all stretched horizontally? Anyone having a similar issue with this?
Learning all the time...
- Mike
- Herr VC
- Posts: 4888
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
I suppose you're referring to the menu option 'Snapshot > Save/stop media file ...' in VICE. In that case, this has nothing to do with your graphics adapter card. VICE always saves the screen buffer contents before any filters (such as rescaling and TV system emulation) are applied. And this screen buffer happens to use a 2:1 pixel aspect ratio.
If you want the filtered output, highlight the VICE window, use Alt+PrntScrn (this will just put the window in focus into the clipboard), and then paste the clipboard data into the image viewer of your choice.
I actually prefer the unfiltered output, because I then can apply filters of my own choice.
If you want the filtered output, highlight the VICE window, use Alt+PrntScrn (this will just put the window in focus into the clipboard), and then paste the clipboard data into the image viewer of your choice.
I actually prefer the unfiltered output, because I then can apply filters of my own choice.
- Mike
- Herr VC
- Posts: 4888
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
This 2:1 ratio (i.e. simple pixel doubling) was what VICE always used for display until around version 2.1 when fractional pixel aspect ratios were introduced. Of course that value of 2:1 had been totally off.
It still leaves its marks because one still specifies the pixel aspect ratio within VICE in ratio to this pixel doubled screen. You actually get a real pixel aspect ratio of 1.666:1, when you specify 0.833 (what I happen to use for PAL, btw.)
It still leaves its marks because one still specifies the pixel aspect ratio within VICE in ratio to this pixel doubled screen. You actually get a real pixel aspect ratio of 1.666:1, when you specify 0.833 (what I happen to use for PAL, btw.)
- Mike
- Herr VC
- Posts: 4888
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Hmm? I was under the impression, that NTSC had a different pixel aspect ratio more like 1.5:1 (which would correspond to 0.750 in VICE).
I got my value a long time ago by measuring the width and height of the text window of the VIC-20 on a TV set, which had been confirmed before to draw perfect circles with a standard test image of a broadcast station. The text window has 176 pixels width and 184 pixels height.
I don't remember the exact measurements, but the calculation went similar to this example:
Width: ~44 cm
Height: ~27.5 cm
Now, a single pixel has a width of (44/176) cm and height of (27.5/184) cm. Dividing the width of the pixel by its height gives the pixel aspect ratio thus:
... which is surely not more accurate than 2 digits after the decimal point.
Finally, I approximated this value of 1.67 with a fraction using small integers in numerator and denominator, and came up with 5/3 = 1.666...
I got my value a long time ago by measuring the width and height of the text window of the VIC-20 on a TV set, which had been confirmed before to draw perfect circles with a standard test image of a broadcast station. The text window has 176 pixels width and 184 pixels height.
I don't remember the exact measurements, but the calculation went similar to this example:
Width: ~44 cm
Height: ~27.5 cm
Now, a single pixel has a width of (44/176) cm and height of (27.5/184) cm. Dividing the width of the pixel by its height gives the pixel aspect ratio thus:
Code: Select all
44 27.5 44 * 184
------ / ------ = ------------ ~= 1.67
176 184 27.5 * 176
Finally, I approximated this value of 1.67 with a fraction using small integers in numerator and denominator, and came up with 5/3 = 1.666...