Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Nicron ! (Registered 2024-05-21) 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-22 10:20
Oswald

Registered: Apr 2002
Posts: 5028
still a real interlaced display uses the half lines, independant of the scrolling speed.
2007-05-22 12:52
Copyfault

Registered: Dec 2001
Posts: 467
Now I at least think I got the point Mager Valp&radiantx tried to make clear: the image we get when scrolling up by 1 pixel every 2nd frame is exactly the same as if it would be scrolled by 0.5 pixel every frame in real interlace. Hmm, but then, this is more like a resolution reduction for the true interlace (the halfpixel-scrolling makes one type of lines, e.g. EVEN ones, obsolete). So this seems more like a transformation true (PAL)-interlace -> Only-ODD-lines-interlace.

Still... the brain must play a central role here! Nobody here who had the chance to do a direct comparison?

CF
2007-05-22 14:15
ptoing

Registered: Sep 2005
Posts: 271
This effect has nothing to do with scanlines at all as far as I understand. It is purely optical (an illustion if you will).

I made some pictures of how I think it works.

I took my picture Yus Chunk and seperated it into it's odd and even lines (yes I know it is only 200 pixels high to begin with, but the effect still applys)




Now when condense them by taking out the blanks and animate them one after another, odd first you get this. You can see that the even frame seems to scroll even tho technically it DOES NOT. This is because due to being condensed the lines got shifted up by one, hence the fake scrolling. And this is also the reason you only need to shift the whole deal up every 2nd frame.


And because this has fuck all to do with scanlines you can also do this horizontally as well.
2007-05-22 14:47
algorithm

Registered: May 2002
Posts: 702
When applying this to still images, you can still get some type of percievement of resolution increase (although it would be classed as color interlace only)

Try the same for a two white line circles at 400 pixels.

remove odd lines from first pic. even lines from second
then remove the gaps and flick them every frame.

What do you see. Percieved resolution increase, even though it is only color interlace.
2007-05-22 18:04
Spinball

Registered: Sep 2002
Posts: 87
Quote: This effect has nothing to do with scanlines at all as far as I understand. It is purely optical (an illustion if you will).

I made some pictures of how I think it works.

I took my picture Yus Chunk and seperated it into it's odd and even lines (yes I know it is only 200 pixels high to begin with, but the effect still applys)




Now when condense them by taking out the blanks and animate them one after another, odd first you get this. You can see that the even frame seems to scroll even tho technically it DOES NOT. This is because due to being condensed the lines got shifted up by one, hence the fake scrolling. And this is also the reason you only need to shift the whole deal up every 2nd frame.


And because this has fuck all to do with scanlines you can also do this horizontally as well.


or vertical+horizontal(=diagonal) and you get crossbows 640x400 from krestage2
2007-05-22 20:04
MagerValp

Registered: Dec 2001
Posts: 1060
Half pixel scroll on the C64 gives just as real a resolution increase as interlaced video modes on the Amiga. Interlace works because our brain merges the two fields, but it's wrong to call it an illusion.
2007-05-22 20:22
ptoing

Registered: Sep 2005
Posts: 271
Well, it kinda is an illusion tho, just as animation is an illusion. Those things do not "move" either, it's just still images played after another and that makes them LOOK as if they move = illusion.
2007-05-22 21:54
Krill

Registered: Apr 2002
Posts: 2854
Doesn't Amiga's interlace also scroll the whole other picture by half a pixel in y-direction?
2007-05-22 21:56
Oswald

Registered: Apr 2002
Posts: 5028
mager, to my knowledge the c64 only uses the odd or even frames, there are no halfpictures whatsoever. while the amiga does really use odd/even fields.
2007-05-23 09:16
Radiant

Registered: Sep 2004
Posts: 639
Krill: Halfpixel scrolling is possible on the C64 as well, on a moving image. Kinda the point of the whole thread. :-)
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
Alakran_64
kbs/Pht/Lxt
Asthor/Exlusive ON
moraff/Panic/Gorbat ..
Bitbreaker/Performers
wil
cercamon/Scene World..
Guests online: 104
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 No Bounds  (9.6)
7 Comaland 100%  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Covert Bitops  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Crest  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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