Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > New video modes? 320x400 and 160x400
2007-04-10 03:44
nikoniko
Account closed

Registered: Dec 2006
Posts: 1
New video modes? 320x400 and 160x400

Hi all,
Hydrophilic/Hydradix over at the Commodore 128 Alive! forums has been working on a technique to achieve 320x400 and 160x400 interlaced modes on a C128, taking advantage of the VIC IIe's undocumented test bit to allow fine control of raster output. He's succeeded in getting it to work for NTSC (at least on his own TV), and has now put up a simple demonstration and instructions on fiddling with the settings. Anyway, with some experimentation it sounds like it could turn into something pretty cool, especially if some bright minds here could combine it with other techniques.

I know this place is mainly about 64 coding, but since the approach should also work on 128s in 64 mode, I thought you might like to know about it.

Here's his announcement: http://landover.no-ip.com/128/viewtopic.php?pid=2637

And here's his webpage, which goes into some detail about the technique: http://www.geocities.com/hydradix/C128/Interlace.htm

And finally, here's the original forum discussion while he was working on it: http://landover.no-ip.com/128/viewtopic.php?id=807

I believe he's tried to make it easy to tweak, so PAL support could probably be achieved by someone who wants to play with it.

I'd recommend that if you want to ask him questions, the forums I linked to are probably the best place since he's a frequent poster over there.

Cheers,
nikoniko
 
... 46 posts hidden. Click here to view all posts....
 
2007-05-24 08:46
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: JackAsser: Compare the half pixel scrolling interlaced screen of a C64 with a static "true" interlaced PAL screen and you will see that there is no difference in how the actual interlacing is performed (i.e. half pixel offsets). A scrolling "true" interlaced screen looks different of course. The scrolling is only there to make it possible to fake the sub pixel screen positioning, thus achieving the same resolution you can get with true sub pixel positioning and a static screen.

In practice it's colour blending, but you have to look at the math behind it as well. Counting the interlacing offset per frame gives us a variance of 0.5 pixels - which is why it doubles the percieved resolution, just like "proper" interlacing.


Hmm I c. And sorry for my post being messed up...
2007-05-27 02:08
ChristopherJam

Registered: Aug 2004
Posts: 1409
OK, let's try a diagram, and I'll slow things down by a factor of 25 so you can see what's going on.

Here's what hydrophilic's technique looks like:



Here's what the half pixel scroll technique (as used in LT3 etc) looks like:



Note that in both cases, every second frame you see all the odd lines of the original double height image, and every other frame you see all the even lines. Also, in both cases, if your eye is following any movement of the letter (none in the first case, a continuous motion in the second), the missing lines appear between the lines you just saw.

I don't see how either case can be claimed to be higher resolution or more 'real' than the other. The sole advantage of the new technique is that you can display the image without having to scroll it.
2007-05-27 06:56
Radiant

Registered: Sep 2004
Posts: 639
That is not how the scroll technique in i.e. LT3 looks like. There is no space between the lines.
2007-05-27 07:50
ChristopherJam

Registered: Aug 2004
Posts: 1409
That depends on how your monitor's dot pitch compares to the line spacing.

I zoomed both images by a factor of two so that two rows of pixels in your web browser is equivalent to one row on the c64 - no other way to display the interlaced version correctly.

Here are some greater zooms, with blurring to simulate raster beam spread:

(lt3)

(hydrophilic)

Does that make it any clearer?
2007-05-27 07:58
Oswald

Registered: Apr 2002
Posts: 5094
on the above the hydrophilic looks like true "half" line lace.
2007-05-27 08:36
ChristopherJam

Registered: Aug 2004
Posts: 1409
Do you at least concur that each technique shows the same number of pixels each refresh?

When you look at one of hydrophilic's images, the eye constantly looks at the same point of the screen, so the odd lines project on to your retina between where the even lines appeared on the previous frame.

When you look at a letter in the scroller on LT3, the eye pans up the screen at a continuous speed, so again the odd lines project on to your retina between where the even lines appeared on the previous field. (not something that happens when you watch the slowed down version, as each field is being displayed dozens of times instead of just flashing up once, so the impression of continuous motion is lost).

I could add a red cross over the the LT3 image showing where your eye looks if anyone wants it...
2007-05-27 12:27
Radiant

Registered: Sep 2004
Posts: 639
I don't see the difference between that and i.e. interlacing on the Amiga. Looks normal to me.
2007-05-27 15:05
Oswald

Registered: Apr 2002
Posts: 5094
well all I can do is disagee. true interlace is true interlace and c64 400 is just not the same.
2007-05-27 17:07
algorithm

Registered: May 2002
Posts: 705
As long as there is an illusion of a higher resolution, thats all that matters really.

Only trueish way of getting pixels in next field inbetween the line is via strobe methods (eg flashing a line/box of a specific color) but the effect varies from TV to TV. Maybe there can be sometype of calibration mode at the beginning.. Obviously this would not work on emulators.
2007-05-29 09:05
Frantic

Registered: Mar 2003
Posts: 1648
@algo: would it work to flash an area in the non-visible part of the border? Stupid question probably, but I gotta ask just to be sure. ;)
Previous - 1 | 2 | 3 | 4 | 5 | 6 - 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
BYB/Hokuto Force
Mike
Alakran_64
slimeysmine
zzarko/Avatar
syntaxerror
Guests online: 176
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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