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 > Hires image scrolling
2006-04-06 12:39
Axel
Account closed

Registered: Apr 2006
Posts: 42
Hires image scrolling

How to scroll hires image 400 pixels high (without videoram) up and down smoothly?
 
... 16 posts hidden. Click here to view all posts....
 
2006-04-08 15:58
Krill

Registered: Apr 2002
Posts: 3098
Oswald: I referred to Carlos's statement about using char gfx to display hires images.
2006-04-08 17:01
yago

Registered: May 2002
Posts: 333
A 4-color-bitmap can be converted to different multicolor-charsets.
To speed up the scrolling, different screens can be used.
Now up/down scrolling only takes some irqs and no data-copying.
2006-04-09 13:12
Monte Carlos

Registered: Jun 2004
Posts: 370
@Krill

Axel said: "Without Videoram". ;)
Anyway, you could scroll the color-ram as well or use the
extended color mode with 4times more charsets. Not as flexible
as hbm, but perhaps flexible enough.

Monte
2006-04-09 13:32
Oswald

Registered: Apr 2002
Posts: 5127
imho axel ment with without videoram that he needs a HW scroll solution.
2006-04-10 08:20
Monte Carlos

Registered: Jun 2004
Posts: 370
I may be stupid, but what's HW?

Monte



2006-04-10 08:50
Oswald

Registered: Apr 2002
Posts: 5127
Hard Ware
2006-04-11 06:48
HCL

Registered: Feb 2003
Posts: 731
Maybe Axel can just tell us.. or better show us the picture. Then i think everyone can figure the best way of moving it :).
2006-04-11 22:49
Axel
Account closed

Registered: Apr 2006
Posts: 42
I wanted to scroll zoomed samurai picture, this from my Samurai demo.
2006-04-12 06:43
HCL

Registered: Feb 2003
Posts: 731
Oh, so we're too late then (darn!)..

Well, i think most ideas of how to move that picture are already mentioned here. Without further knowledge about different vic-tricks, the copy-method is of course the easiest way. First use hardware scrolling by setting $d011 to values between $30 and $37, then simply copy the whole picture to a new buffer, and finally as you re-start the d011-scrolling you also switch to the new gfx-buffer. (Waiting for Samurai 2 ;).
2006-12-11 14:45
algorithm

Registered: May 2002
Posts: 707
The $d800 area may cause some problems I did a simple bitmap scroll routine (no linecrunch used) 320x200 multicolor koala two screen high picture. Its trivial enough to do this via double buffering, but $d800 needs to be copied as fast as possible (preferably not while the raster beam is on the picture)
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
Xiny6581/Pretzel Log..
REBEL 1/HF
Alakran_64
hedning/G★P
Sychamis
HCL/Booze Design
TheRealWanderer
Smasher/F4CG
Guests online: 508
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Performers  (9.3)
4 Oxyron  (9.3)
5 Censor Design  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Sulevi  (9.6)
4 Pal  (9.6)
5 Hein  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.054 sec.