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


Forums > C64 Coding > Double buffering color ram in half of the screen?
2017-10-18 11:52
Color Bar

Registered: Oct 2012
Posts: 133
Double buffering color ram in half of the screen?

Suppose you have some text or MC bitmap graphics only in the bottom half of the screen, perhaps you could double buffer (color ram & gfx) using FLD?

I mean: in one frame you first switch to an empty screen in the top half (where you have some sprite action, say) and in the bottom half you switch to the desired graphics screen. In another frame you FLD the top half of desired color ram & gfx down to the bottom half.

Don't know if this can be useful though.
 
... 11 posts hidden. Click here to view all posts....
 
2017-10-18 19:09
Groepaz

Registered: Dec 2001
Posts: 8275
actually the idea is even older... some other guy came up with a japanese-style bullet-hell shooter like thingy which used this technique and posted it here on csdb even more years before. too bad i totally forgot the name of the guy or the production (maybe someone else remembers?)
2017-10-18 19:10
Krill

Registered: Apr 2002
Posts: 902
And there are more benefits, beyond technical advantages: there are 256 freely-positionable double-height tiles (8x16 or 4x16 pixels), which is (almost) double as much graphics to play with for a graphician/level designer. :)
2017-10-18 21:09
ChristopherJam

Registered: Aug 2004
Posts: 682
Quote: actually the idea is even older... some other guy came up with a japanese-style bullet-hell shooter like thingy which used this technique and posted it here on csdb even more years before. too bad i totally forgot the name of the guy or the production (maybe someone else remembers?)

That was Doynax's Balls of the Scrolling Thunder; he commented extensively about it in the Sorting discussion ten years ago.
2017-10-18 21:38
Groepaz

Registered: Dec 2001
Posts: 8275
mmmh but where is it then? pretty sure it had a csdb entry too.... *shrug*
2017-10-18 21:40
ChristopherJam

Registered: Aug 2004
Posts: 682
Never completed to my knowledge.
2017-10-18 21:41
Groepaz

Registered: Dec 2001
Posts: 8275
no, but binary posted and added as "preview". i certainly have run it myself :)

edit: Balls of Scrolling Thunder Preview
2017-10-19 00:09
Color Bar

Registered: Oct 2012
Posts: 133
Quote: That was Doynax's Balls of the Scrolling Thunder; he commented extensively about it in the Sorting discussion ten years ago.

Quoting doynax
The d800 copy is double buffered and evenly distributed across 16 frames, so it really doesn't take much raster time at all ;)

Yes, I remember having seen this, but how does he do it? With linecrunching or FLD?
2017-10-19 00:16
Groepaz

Registered: Dec 2001
Posts: 8275
in one frame, push down the screen 12(?*) (raster)lines using FLD, then create 12 doubled (character)lines. in the second frame crunch the first 12(?*) lines and then create 12 doubled lines.

(*) not sure if that is the optimum if you also want to do vertical scrolling
2017-10-19 02:51
Skate

Registered: Jul 2003
Posts: 469
if anyone interested in original version of the Doynax's game, there you go.

http://www.akaydin.com/c64/stuff/Balls_of_the_Scrolling_Thunder..
2017-10-19 03:05
Groepaz

Registered: Dec 2001
Posts: 8275
Balls of the Scrolling Thunder (Preview) :)
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
Dymo
DJ Gruby/TRIAD
TheRealWanderer
G-Force
Acidchild/Padua
Romppainen/ΤRIΛD
iAN CooG/HVSC
Scan/House Designs
TomoAlien
Guests online: 56
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.5)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.6)
2 FMX Music Demo  (9.6)
3 Daah, Those Acid Pil..  (9.5)
4 Dawnfall V1.1  (9.5)
5 Synthesis  (9.5)
6 Dawnfall  (9.4)
7 Treu Love [reu]  (9.4)
8 Field Sort  (9.4)
9 Pro Memoria 4  (9.3)
10 KAOS 64  (9.3)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 The Judges  (9.3)
Top Logo Graphicians
1 Pal  (9.5)
2 Jailbird  (9.3)
3 Yazoo  (9.2)
4 Mermaid  (9.2)
5 Elko  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.708 sec.