| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
VICE PAL Emulation Patch
inspired by some of E.D.s comments i played with improving the PAL emu. read details in the txt.
http://hitmen.c02.at/temp/patch122-palemu.txt
http://hitmen.c02.at/temp/vice-1.22-palemu-0.diff
try it :)
example:
http://hitmen.c02.at/temp/old.png
http://hitmen.c02.at/temp/new.png |
|
| |
Oswald
Registered: Apr 2002 Posts: 5086 |
nice one, btw being so faithfull.. how about emulating also the grey dots & the slightly visible vertical lines of charcolumns of newer VICIIs? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
the first is related to the actual VIC emulation, i surely wont touch that =D (and i hate those grey dots, so thats a double nono =D) afaik the actual cause of these dots isnt exactly known either, so its kinda hard to emulate.
the other is similar to the red/green artifacts that you get with composite video when displaying alternating black/white patterns in hires..... simply said, both are caused by "mixing" of the color and the luma signal. (part of the luma is interpreted as color) emulating this halfway accurate would be VERY computing intense. maybe in some years :=) |
| |
MagerValp
Registered: Dec 2001 Posts: 1074 |
Interesting stuff, this will make PAL emulation nearly 100%. |
| |
Sledge
Registered: Sep 2003 Posts: 102 |
Quote: nice one, btw being so faithfull.. how about emulating also the grey dots & the slightly visible vertical lines of charcolumns of newer VICIIs?
Perhaps I have missed this, but what is the "grey dots" effect on the newer VIC-II?
|
| |
tlr
Registered: Sep 2003 Posts: 1787 |
I never had a newer VIC-II myself, but I saw this the first time when the C128's started popping up. A grey dot appears in some cases when changing a color register like $d020.
Don't know the details either, but doing color splits, even if all colors are black can show this.
We deemed those new machines broken ofcourse, but then again linecrunch + vsp quite frequenctly froze my machine... :)
|
| |
MagerValp
Registered: Dec 2001 Posts: 1074 |
I think the color registers are multiplexed, and there's a timing glitch in the HMOS chips. When you write to the register it's unavailable for a short while from the picture generation circuit, and it gets floating inputs ($f), outputting a grey dot. I'm just guessing though, and have no details to back it up.
Either way, to emulate it you don't have to understand it perfectly :) Just output a half a pixel wide grey dot when updating the register.
YAPE, the plus/4 emulator, has grey dot emulation btw.
|
| |
tlr
Registered: Sep 2003 Posts: 1787 |
Ah, seems like a resonable theory.
AFAIK outputing half a pixel isn't supported in the core raster emulation code of vice currently though.
(common to all platforms) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
so, did anyone try the darn patch? =P |
| |
Scout
Registered: Dec 2002 Posts: 1570 |
Quote: so, did anyone try the darn patch? =P
Well, if there was a Windows binary I would have...
Sorry ;) |
| |
tlr
Registered: Sep 2003 Posts: 1787 |
The screen shots look really nice, maybe we'll drop this into VICEplus? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
it might need some additional patches to work with 256 colors, not sure .... try it =) |
| |
Ed
Registered: May 2004 Posts: 173 |
Ok. so I built my own vice with the Groepaz patch using Ubuntu 8.04 LTS
First I downloaded the latest vice 1-22.tar.gz (source file) then I just put it in my Documents folder (you can of course put it anywhere you feel like storing it... Like for instance in your games folder.
i go to the System-> Administrator Tools -> Synaptic Package Manager and make sure I have build-essential and libxaw7-dev. (Just search for these, mark them and install them and their dependencies). (Yeah I know. commands rule, mouse gestures and windows dont :P )
Ok we are ready to start. Open a terminal: Applications -> Acessories -> Terminal:
cd Documents
farbraus.d64
vice-1.22-palemu-0.diff
patch122-palemu.txt Play_With_Colours_by_Wrath_Designs.d64
vice-1.22.tar.gz
tar -xvf vice-1.22.tar.gz
... it runs it untar thing...
patch -p1 < vice-1.22-palemu-0.diff
... it patches. Please keep the .diff file outside of
the vice 1-22 folder when patching...
then i enter the vice 1-22 folder, and write
make
... it runs it thing...
sudo make install
ok, if nothing went wrong you should be able to run the vice-emu, with command:
sudo x64
.. this because we want to change stuff and then save setting...
make sure to activate pal emulation and exakt colours...
I ran the Play_With_Colours_by_Wrath_Designs.d64
and it looked good. Also, I ran the good old demo
where the last graphics upscroller flicker very nicely, just like on the c64. Oh and even the Mirage
football look great :)
So. Incorporate this into vice emulator, dear vice creators and please throw in some easy to use
gliders/sliders/setting boxes, or anything else to make it tweakable... (did not get that working
here ok... but hey.. Ubuntu since 2008 04 24 -> only :) )
Oh, and remember that farbraus does not look that extra
cool run with true pal emulation :P
Respect
/Eddie |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
.... and if you cant wait, the viceplus svn has it included, including gui options :) |
| |
Joe
Registered: Apr 2002 Posts: 226 |
I'm interested in the newly raised questions about the check board mixing of colors and the behaviour of it on a real machine and let's say a 1084S monitor.
It seems most of the similar color blends in horizontal axis has been resolved, but not all of the vertical artefacts (or even diagonally and so on).
I remember that if one dithered black with extremely bright colors, the field could really stand out more (usually being heavily darker than what it would seem in emulation).
In a non-emulation it would probably look like the black color wasn't any different from let´s say dark grey or even middle grey part from the joining hm... Cyan?
It would be of interest if anyone could emulate to particularities from the real machine, and I do remember that they are even greater in hires. |
| |
Joe
Registered: Apr 2002 Posts: 226 |
*In a non-PAL Emulation* |
| |
Adam
Registered: Jul 2009 Posts: 323 |
Does anyone know how to use VICE on an external screen?
Im trying to run it on my PAL 50Hz television but VICE
insists on running on my monitor instead. I've got
multiple outputs on my video card and would like to
use my TV as the main monitor for VICE instead..
(for even more true PAL emulation!) ;)
>> Adam/Usagi << |
| |
Jammer
Registered: Nov 2002 Posts: 1335 |
Has anyone used recent build of Stella (Atari 2600 emulator)? There have emulated plenty of video signals and IMHO they did this right. Maybe WinVice should borrow the algorithm? ;)
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
uhm, those images show the horizontal blur that VICE can do since forever? or what am i missing? |
| |
Jammer
Registered: Nov 2002 Posts: 1335 |
WAT? ;) Not only, pay attention. Vice so far cannot emulate well those 'shadows'. Also greenish vertical gradient bars on light checkerboards are not handled well whereas Stella has no bigger problems here. To my eyes, Stella takes more details into account. |
| |
algorithm
Registered: May 2002 Posts: 705 |
If you have a beefy computer, check out Micro64 and turn on the full PAL/CRT emulation :-) |
| |
Jammer
Registered: Nov 2002 Posts: 1335 |
https://www.youtube.com/watch?v=d1qEP2vMe-I
Now that... was really awesome! :D |
| |
TheRyk
Registered: Mar 2009 Posts: 2219 |
Wow, I wonder how much "beef" you would need to use this properly. Time for a new tower anyway after 3 or 4 years :) |