| |
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.... |
| |
Krill
Registered: Apr 2002 Posts: 2852 |
Oswald: I referred to Carlos's statement about using char gfx to display hires images. |
| |
yago
Registered: May 2002 Posts: 332 |
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.
|
| |
Monte Carlos
Registered: Jun 2004 Posts: 351 |
@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
|
| |
Oswald
Registered: Apr 2002 Posts: 5023 |
imho axel ment with without videoram that he needs a HW scroll solution. |
| |
Monte Carlos
Registered: Jun 2004 Posts: 351 |
I may be stupid, but what's HW?
Monte
|
| |
Oswald
Registered: Apr 2002 Posts: 5023 |
Hard Ware |
| |
HCL
Registered: Feb 2003 Posts: 717 |
Maybe Axel can just tell us.. or better show us the picture. Then i think everyone can figure the best way of moving it :). |
| |
Axel Account closed
Registered: Apr 2006 Posts: 42 |
I wanted to scroll zoomed samurai picture, this from my Samurai demo.
|
| |
HCL
Registered: Feb 2003 Posts: 717 |
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 ;). |
| |
algorithm
Registered: May 2002 Posts: 702 |
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 |