the quest for correct vic20 lumas

You need an actual VIC.

Moderator: Moderators

groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

the quest for correct vic20 lumas

Post by groepaz »

On Forum64 a Thread spawned about finding "the" proper vic20 palette. For a start, i knocked up a little test program that displays all the colors ordered by their (supposed) luminance (which is a very important property). You can find the test program here: https://sourceforge.net/p/vice-emu/code ... urtest.d64

It would be cool if some of you could do the following:

run the "luma test" program on your vic20. adjust your monitor for maximum contrast, but completely dial down the color saturation. if the display does NOT show the colors ordered by luminance ("brightness") then LIST the program, edit the DATA line at the bottom accordingly until it DOES show the right order - and post the result.

i tried to do this, but i am not entirely convinced. someone who has an s-video mod can probably do this better.

NTSC results would also be interesting :)

thanks!
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
chysn
Vic 20 Scientist
Posts: 1205
Joined: Tue Oct 22, 2019 12:36 pm
Website: http://www.beigemaze.com
Location: Michigan, USA
Occupation: Software Dev Manager

Re: the quest for correct vic20 lumas

Post by chysn »

This is a CR NTSC VIC-20 through a 1702 with Tint at detent, Color at minimum, Brightness at detent, Contrast at maximum.

I'm not really sure whether this shows the colors ordered by luminance or not... If I play with the monitor settings a bit, I can get all the colors to match their names. This is really a very well-preserved 1702.

The white looks nowhere near blue in real life. Probably scan-line or whatever happens to CRTs when photographed.

IMG_4602.jpg
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5

WIP: MIDIcast BASIC extension

he/him/his
User avatar
Mike
Herr VC
Posts: 4841
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: the quest for correct vic20 lumas

Post by Mike »

Jason, you're supposed to:
groepaz wrote:[...] completely dial down the color saturation. [...]
As long as the display shows colours, it is effectively impossible to bring them in order regarding their luminance.
chysn wrote:The white looks nowhere near blue in real life. Probably scan-line or whatever happens to CRTs when photographed.
It happens quite often with screenshots of CRTs. The camera exposure is not synchronised with the frame scan and this easily leads to 'missing' parts (the exposure didn't see a full frame) or double exposure of parts of the screen, with times slightly longer than 1/60s.
User avatar
tokra
Vic 20 Scientist
Posts: 1123
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: the quest for correct vic20 lumas

Post by tokra »

Here we go, NTSC and PAL, both S-video-modded. I can't really decide how to order these, so I left the order as is.

NTSC:
IMG_4827.jpg
PAL:
IMG_4828.jpg
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: the quest for correct vic20 lumas

Post by groepaz »

I can't really decide how to order these, so I left the order as is.
Yeah, i had the same problem.... the first 5 are doable, the others are so similar its hard to tell. Your picture also shows the same annoying noise pattern in the chroma that i saw. :/
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
Mike
Herr VC
Posts: 4841
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: the quest for correct vic20 lumas

Post by Mike »

Judging from tokra's photos, I would swap Light Purple and Light Orange on both PAL and NTSC. Light Orange is ever so slightly brighter than Light Purple. The others are o.k. - but swapping these two would also be consistent with the order of Purple and Orange, i.e. the order within the normal versions of colours is the same as in the lighter versions.
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: the quest for correct vic20 lumas

Post by groepaz »

BTW - if you have svideo mod, did you actually *disconnect* the chroma input? that should remove the noise hopefully
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
chysn
Vic 20 Scientist
Posts: 1205
Joined: Tue Oct 22, 2019 12:36 pm
Website: http://www.beigemaze.com
Location: Michigan, USA
Occupation: Software Dev Manager

Re: the quest for correct vic20 lumas

Post by chysn »

Mike wrote: Tue Jul 13, 2021 9:50 am Jason, you're supposed to:
groepaz wrote:[...] completely dial down the color saturation. [...]
As long as the display shows colours, it is effectively impossible to bring them in order regarding their luminance.
OK, I see the desired result after Tokra's post. As far as I know, there's no way to do that (colorless image) with the 1702, at least with the composite input.
User avatar
tokra
Vic 20 Scientist
Posts: 1123
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: the quest for correct vic20 lumas

Post by tokra »

groepaz wrote: Wed Jul 14, 2021 5:09 am BTW - if you have svideo mod, did you actually *disconnect* the chroma input? that should remove the noise hopefully
Oh, of course. Results look much better this way:

NTSC:
IMG_4832.jpg
PAL:
IMG_4831.jpg
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: the quest for correct vic20 lumas

Post by groepaz »

so, can you try to reorder them to make a better ramp? its really hard to tell on the picture :=) or does it all look fine?
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
tokra
Vic 20 Scientist
Posts: 1123
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: the quest for correct vic20 lumas

Post by tokra »

It's not just the photo. The colors on a real screen are that close as well. I'd suggest moving Light Purple up two colors, below Light Red. This is similar to what Mike said, but I believe it is still darker then Cyan.
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: the quest for correct vic20 lumas

Post by groepaz »

well, try it and show us :)
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
Mike
Herr VC
Posts: 4841
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: the quest for correct vic20 lumas

Post by Mike »

By the way, my original Colour Test program prints the "GREEN" caption in black foreground colour, not white. :)

"PAL engine" and "NTSC engine" actually operate with timings that suit a MINIGRAFIK display window, and they have first been used to implement a software greyscale mode by mixing green/purple for a darker grey and light green/light purple for a lighter grey. At the time I was just too lazy to write yet another raster routine and repurposed these routines to produce the colour bars. In the 2019 re-release I posted a slightly improved version of both engines. They are now slightly more compact and avoid a side effect the table values of the auxiliary colour had on the background colour in the first visible hires pixel columns.
User avatar
tokra
Vic 20 Scientist
Posts: 1123
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: the quest for correct vic20 lumas

Post by tokra »

I fiddled around with the values a little, first on my LCD and also on my 1084. When I switched some values around because they looked darker/brighter, the new result suddenly looked the other way around. I changed all text-output to white so it wouldn't distract, but the strange results remained the same. Either way this seems to be the best order for both PAL and NTSC I could come up with. I know it looks like you should swap some colours in the middle but as said if I did that it suddenly looked worse.

NTSC:
IMG_4834.jpg
PAL:
IMG_4835.jpg
Last edited by tokra on Thu Jul 15, 2021 7:12 am, edited 1 time in total.
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: the quest for correct vic20 lumas

Post by groepaz »

can you please write out the order, i cant make out wth the last 2 or 3 are =) but the ramp looks good! (just light purple and light orange swapped around?)
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
Post Reply