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


Forums > C64 Coding > Kefrens bars
2019-11-27 08:35
Strepto

Registered: Dec 2015
Posts: 11
Kefrens bars

I've been thinking about kefrens bars on the c64.
How do you think it is implemented?
Perhaps using repeated char lines and update the chars using cycle exact timing?
 
... 12 posts hidden. Click here to view all posts....
 
2019-11-27 11:34
Smasher

Registered: Feb 2003
Posts: 512
hey, I'm not a fan of Kefrens bars, but cool to have you back in bizz Strepto! :)
2019-11-27 16:26
HCL

Registered: Feb 2003
Posts: 716
@Krill: :)
2019-11-27 16:45
Oswald

Registered: Apr 2002
Posts: 5017
repeating last row is now not stretching but linecrunch ?! or that is the same timing that results in bitmap move up ?
2019-11-27 17:06
Golara
Account closed

Registered: Jan 2018
Posts: 212
Quote: repeating last row is now not stretching but linecrunch ?! or that is the same timing that results in bitmap move up ?

Linecrunch is what is used for moving the bitmap up, but what really happens is that the last pixel line of a char is displayed only, so you skip the 7 pixel lines, because of that, the next char line is drawn higher than normal, repeat that and you scroll bitmap up. Here the same technique is used but instead of moving bitmap data, the whole screen is just these pixel lines from 7th line of a char and that line is modified to look like kefrens.
2019-11-27 18:38
Oswald

Registered: Apr 2002
Posts: 5017
yes I get all that, I was asking why is Krill calling a stretcher linecrunch, probably same routine with different result in different gfxmode. I havent coded linecrunch, but have done kefrens.
2019-11-27 19:42
Krill

Registered: Apr 2002
Posts: 2822
Quoting Oswald
I was asking why is Krill calling a stretcher linecrunch
Mostly because the term "stretcher" is rather ambiguous, as it could be repeated badlines, repeated char rows (without badlines), linecrunching, or something i just forgot.
2019-11-27 21:12
Oswald

Registered: Apr 2002
Posts: 5017
linecrunch as I understood it, reduces whole char rows to a single rasterline, what is being stretched ?
2019-11-27 21:26
Krill

Registered: Apr 2002
Posts: 2822
Quoting Oswald
linecrunch as I understood it, reduces whole char rows to a single rasterline, what is being stretched ?
The same rasterline will be repeated, as there is no DMA (badline) to fetch new char data, and RC will remain at 7. Thus, there is stretching.
2019-11-27 21:28
Oswald

Registered: Apr 2002
Posts: 5017
linecrunch crunches lines (char rows) down to a single rasterline, and this is used to move the screen upwards, so there should be badlines and not the same single rasterline displayed but in each rasterline a new char row in 1 pixel high glory ?
2019-11-27 21:53
Krill

Registered: Apr 2002
Posts: 2822
Quoting Oswald
linecrunch crunches lines (char rows) down to a single rasterline, and this is used to move the screen upwards, so there should be badlines and not the same single rasterline displayed but in each rasterline a new char row in 1 pixel high glory ?
If you linecrunch continuously, with a write to $d011 each rasterline, there will be no badlines. Once you stop writing to $d011, the last rasterline of the current char row will be repeated, but after that, there will be normal badline DMA action and new lines as normal, with whatever line counter is left after all the linecrunching.
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
Max/Flat3
Paul Bearer
Acidchild/Padua
Paladin/G★P
Guests online: 118
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

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