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 > is a split sideborder scroll done before??
2008-11-13 14:51
Testa
Account closed

Registered: Oct 2004
Posts: 197
is a split sideborder scroll done before??

high party people.

the last days i was bussy with coding a sideborder split scroll. with a split scroll i simply mean a scroll that scrolls the left 20 chars to the left and the right 20 chars to the right. through the sideborders... smooth ofcourse and i only used sprites in the sideborder, so no ugly extented graphics...

not very hard to code but i had some fun... the question i have is this done before and is there a record.. my version holds 25 chars high, and you only can use one speed... it scrolls the whole picture one pixel each frame...

i am curious.
greetings,
Testa

 
... 14 posts hidden. Click here to view all posts....
 
2008-11-15 06:02
Oswald

Registered: Apr 2002
Posts: 5094
hmm really, what happens if one splits d016 in the middle of a line ? :) fex. fineshift=0 on the left side then 7 in the middle then simply d021 comes through where the screen is "teared appart" ? :) is this possible with d011 or one of the known d011 effects will come alive, or nothing? :)
2008-11-15 10:53
doynax
Account closed

Registered: Oct 2004
Posts: 212
Quote: hmm really, what happens if one splits d016 in the middle of a line ? :) fex. fineshift=0 on the left side then 7 in the middle then simply d021 comes through where the screen is "teared appart" ? :) is this possible with d011 or one of the known d011 effects will come alive, or nothing? :)

I expect x scrolling works much like y scrolling or the sideborders. That is the register value is used simply to determine when to start a process, in this case on which sub-cycle in the left border to start clocking pixels through the display shift register.
In other words I don't expect changing the x fine-scroll in the middle of a scanline to change anything.
2008-11-15 12:34
WVL

Registered: Mar 2002
Posts: 902
Quote: Hey Testa, still don't know if you mean something like in this:
Happy New Year 2008
[/url]

just a shitty 1x1-d016-split-borderscroller I did in 1993... definately your version sounds like pushing limits \ö/


obviously this isnt a d016 split ;) but more like a rol/asl scroller. (it looks nice tho! :D)
2008-11-15 12:36
WVL

Registered: Mar 2002
Posts: 902
Quote: I expect x scrolling works much like y scrolling or the sideborders. That is the register value is used simply to determine when to start a process, in this case on which sub-cycle in the left border to start clocking pixels through the display shift register.
In other words I don't expect changing the x fine-scroll in the middle of a scanline to change anything.


Ofcourse it does :( How else do you think Cruzer made those rocking highres arrows in the lower border + 8 sprites in One Year Camelot III? Or the 41 column wide picture Soundemon made in Tense Years?
2008-11-15 14:38
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: Ofcourse it does :( How else do you think Cruzer made those rocking highres arrows in the lower border + 8 sprites in One Year Camelot III? Or the 41 column wide picture Soundemon made in Tense Years?

40.875 if I may...

:D

I split hair and you split registers.
2008-11-15 14:56
Testa
Account closed

Registered: Oct 2004
Posts: 197
Quote: obviously this isnt a d016 split ;) but more like a rol/asl scroller. (it looks nice tho! :D)

yeps, but totally rol/asl a 40 by 25 chars picture is impossible ofcourse.. i used $d016 splits but not at the badlines. at the badlines , and only at the right half of the picture i use ror to scroll the graphics, so i role 25 * 20 bytes.. the ror speedcode is mixed with the rastercode of the sideborder routine..

i also used different screens to scroll all the charpointers... dma delay is not an option here and read and restore all the charpointers takes too much rastertime, so i used different screens and clever memory management...

to move all the graphics through the sideborder, i use different frames (this is why you can only use one scroll speed) and i also used double buffers for the sprites so you simply can change all the spritepointers at the right moment..

one min point of this story is that you can't show/scroll any new graphics... the distance between both halfs simply gets bigger until the whole picture is gone.... (oswald: i hope this is what you mean)

this way splitscrolling a 25 by 40 chars picture is no problem at all, i am suprised this isn't done before..
it is not hard at all.... well i hope i explained enough now.. becoz i gave away a pefectly nice little effect now,..... but you are welcome....

and one last hint.. you can also use a 52 chars wide sideborder picture, too make it even more cooler...

and when you have scrolled 16 chars and there are 24 chars left you can always switch to a 8 sprite sideborder routine (only sprites) and scroll the remaining chars in different speeds (to polish the effect more)... but if you do this there is not much free memory left i am afraid..... (becoz the remaining 24 graphic chars must be converted to sprites aswell)

greetings,
Testa





2008-11-15 18:08
Danzig

Registered: Jun 2002
Posts: 440
Quote: Ofcourse it does :( How else do you think Cruzer made those rocking highres arrows in the lower border + 8 sprites in One Year Camelot III? Or the 41 column wide picture Soundemon made in Tense Years?

it IS a $d016-splitscroller. An easy one 7 pixels, no badline. it was just a proove of concept back then. at time I was in Comic Pirates, PJ Dynamix did that routine with a 2x2-scroller skipping the badline (it's black in the font :D ) and no sideborder. I told him that would have been cool in border and he claimed: Not possible!

Testa: Sure you can do a larger one. just skip the badlines and change the font. remember: april 1993 ;)
2008-11-15 18:27
Testa
Account closed

Registered: Oct 2004
Posts: 197
danzig, i am not sure what you mean with bigger, i already used 192 graphics lines and black lines each bad line is not good enough for me.. .. just read the post before yours , everthing is there....

have a nice weekend!
bye
2008-11-15 20:13
Danzig

Registered: Jun 2002
Posts: 440
you got me wrong :) i mean you can make it BIGGER than my old 7 pixel version.

but the question was: done before? answer: yes ;)

EDIT: and NO, I don't want a world first entry on codebase for that crap :D
2008-11-15 20:41
Testa
Account closed

Registered: Oct 2004
Posts: 197
crab? you mean those nice tastefull red lobsters???? he he...
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
E$G/HF ⭐ 7
CreaMD/React
Guests online: 108
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
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 NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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