Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Harvey ! (Registered 2024-11-25) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > VICE PAL Emulation Patch
2007-09-21 20:05
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
 
... 12 posts hidden. Click here to view all posts....
 
2007-09-21 22:31
MagerValp

Registered: Dec 2001
Posts: 1074
Interesting stuff, this will make PAL emulation nearly 100%.
2007-09-22 08:55
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?

2007-09-22 09:13
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... :)
2007-09-22 09:46
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.

2007-09-22 09:57
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)
2007-09-22 11:33
chatGPZ

Registered: Dec 2001
Posts: 11357
so, did anyone try the darn patch? =P
2007-09-22 11:34
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 ;)
2007-09-22 11:36
tlr

Registered: Sep 2003
Posts: 1787
The screen shots look really nice, maybe we'll drop this into VICEplus?
2007-09-22 11:44
chatGPZ

Registered: Dec 2001
Posts: 11357
it might need some additional patches to work with 256 colors, not sure .... try it =)
2008-04-26 10:24
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
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
zscs
Alakran_64
Mike
Rock/Finnish Gold
ArturoDente
Barfly/Extend
Britelite/Dekadence
Aomeba/Artline Desig..
Airwolf/F4CG
Skylab/The Movers
The Human Co../Maste..
dyme
Holy Moses/Role
Oxbow/Xenon
Guests online: 101
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Mikael  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.061 sec.