dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
356 stars 33 forks source link

Commodore dm602 - 1901 "Green" monitor monochrome #416

Closed Alessandro1970 closed 6 years ago

Alessandro1970 commented 6 years ago

Hi, is it possible to add a green filter to simulate the green monitor monochrome Commodore ?

commodore_dm602_green_small

dirkwhoffmann commented 6 years ago

I plan to add a selection box "Monitor" to the Emulator settings with the following options:

Color Black and white Monochrome (Green) Monochrome (Amber) Monochrome (Sepia)

I'm still unsure how to correctly convert an RGB color to a greenish color value. In the case of a black and white monitor, it's easy. One could simply convert the color to the YUV model and display the luminance. For a green display, one needs to "multiply" the luminance by a green base color and I guess the multiplication is different to a simple linear interpolation. Has anybody already found some document or example code that explains the conversion?

Alessandro1970 commented 6 years ago

Yes, I remember three types of monochromatic monitors on sale for the Commodore64 besides the TV B/W and the color one. Here, they were known as the green phosphor monitor, the amber phosphor monitor and the white/paper phosphor monitor. I do not know if at the time it was correct to say "phosphorus" but they were called that. untitled 1

rossimariolee commented 6 years ago

Great. I had a PC20 Commodore with a white/paper phosphor monitor: it was great for programming in turbo pascal, it did not strain your eyes. It would be great to be able to choose these monitors in VirtualC64 and bring them in real time to see what effect it does! Great option. Thank you

Alessandro1970 commented 6 years ago

For VICE have made 2 VPL files that should simulate the amber and green monitors, I tried them on the VICE but it does not seem a good result ... amber.zip green.zip

dirkwhoffmann commented 6 years ago
palette amber greenpalette green
Alessandro1970 commented 6 years ago

Great, I appreciate it a lot.

mortinus commented 6 years ago

Beautiful add-on! Many thanks.

mortinus commented 6 years ago

Will there be a white/paper monitor filter?

Alessandro1970 commented 6 years ago

White paper or BW have the same yield, the difference was in the monitor that was high persistence. With the emulator we have the same result as BW more or less.

mortinus commented 6 years ago

In Italy you had more monitors green phosphors because with your military system dated you had acquired more orders on the products here and remained in capital gains ... In France we had more BLU monitors and I assure you that they were more relaxing ...

Alessandro1970 commented 6 years ago

Eh.. yes you're right, Italy has had and has this kind of problems. I hope in a united Europe as the only hope not to sink into a deeper crisis because of the continued loss of possessions due to non-EU buyers (the evil from outside comes from the presence of groups with capital and no capital, understand me despite the language different: our capital should be preserved with commitment and sense of duty and not sold off...). And perhaps in the minds of some Europeans the common concept of the Holy Roman Empire has not completely vanished, I hope that too much weakness based on past taboos does not make us helpless and unable to react, unfortunately the story is always made by those who win and it is too easy bestowing sentences, after ... However, this is not the place for 2 speeches and 4 beers, not bad your idea of blue phosphors, maybe Dirk implements it together with Amber and Green ... If yes, I'll try it willingly!

puleyo commented 6 years ago

Never heard of a commodore blue monitor for commodore 64/128

Alessandro1970 commented 6 years ago

I never even heard of blue monitors for C64 too, but @mortinus in France yes !

dirkwhoffmann commented 6 years ago

When I add Duron paperwhite

duron

as base color, it looks like this:

paperwhite

It's very close to black and white though.

dirkwhoffmann commented 6 years ago

Does anybody have a reference picture of a blue monochrome monitor?

Alessandro1970 commented 6 years ago

Commodore PET 2001 series had monochrome monitor (blue phosphor) Monochrome monitors are commonly available in three colors: if the P1 phosphor is used, the screen is green monochrome. If the P3 phosphor is used, the screen is amber monochrome. If the P4 phosphor is used, the screen is white monochrome (known as "paper white"); this is the same phosphor as used in early television sets. An amber screen was claimed to give improved ergonomics, specifically by reducing eye strain; this claim appears to have little scientific basis. I do not find any blue monitor for C64 neither for the Amiga.

dirkwhoffmann commented 6 years ago

"If the P4 phosphor is used, the screen is white monochrome (known as "paper white")"

OK, cool, so the paperwhite option is meant to be similar to black and white.

Alessandro1970 commented 6 years ago

PET 2001 series / 2001-N & -B series, CBM 3000 series Video: discrete TTL video circuit, 9" monochrome monitor (blue phosphor on the original 2001, green on 2001-N PETs) ...not usable for cbm64.

commodore_pet_2001_display

#

VICE Palette file

#

Syntax:

Red Green Blue Dither

#

white screens use P4 phosphor

Background

00 00 00 0

Foreground

FF FF FF F

### (00 00 FF F)

mortinus commented 6 years ago

I'm sorry I was joking, I was not referring to the commodore 64, but to the monitors used in the offices of IBM that in those years were in blue phosphors. Forget about that! 😆

dirkwhoffmann commented 6 years ago

Can I close?

Alessandro1970 commented 6 years ago

Ok