Re: A82: Avalanche 1.0 for Ash 3.0 bug or secret


[Prev][Next][Index][Thread]

Re: A82: Avalanche 1.0 for Ash 3.0 bug or secret



HAve you ever seen the program Hardware Scroller for the TI83 ? This
program uses the hardware scroll commands to scroll a picture down on the
screen and there is no flicker at all. If you scroll by moving bytes you
firstr have to move all the bytes, and then rewrite the whole picture
(which takes extremely long time). The scroll the display you need one
command, if you do it in mem you need a lot more than that. 

If you look at ShowPic whiuch rewrites  picture to the display as fast as
possible, you wll see that it flickers. TO make the picture shakem you
would need to rewrite the picture alot too, so that would probably cause
flicker too.

So i think that it is best to use hardware scroll when possible, the
reason for this is that it i faster.

Dines
_______________________________________

Dines Justesen
Email: dines@post1.com or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________

On Tue, 25 Nov 1997, Thomas J. Hruska wrote:

> At 09:54 AM 11/25/97 +0100, you wrote:
> >How did you implement it ? Do you move the bytes or do you use hardware
> >scrolling ?
> 
> I scroll the screen in the GRAPH_MEM and delete the last line (i.e.
> scrolling left removes the farthest right line).  I thought about using
> hardware scrolling, but decided not to since I wanted to not have
> flickering at the edges of the screen as I refreshed the page (remember the
> display controller is slow) and also because I wouldn't be able to do
> vertical scrolling (left and right) easily using the display controller
> (read, shift, probably push and pop af every loop, and write...pain in the
> neck).  However, shaking the screen could be done using hardware scrolling
> in the horizontal directions only (up and down), the vertical scrolling can
> only be done by Z80 ASM code using similar routines to what I have.
> 
> >Dines
> >
> >_______________________________________
> >
> >Dines Justesen
> >Email: dines@post1.com or
> >       c958362@student.dtu.dk
> >WWW  : http://www.gbar.dtu.dk/~c958362/
> >_______________________________________
> >
> >On Mon, 24 Nov 1997, Thomas J. Hruska wrote:
> >
> >> At 06:25 PM 11/24/97 -0600, you wrote:
> >> <snip>
> >> >around thanksgiving so I might not get the chance to work on it. But I 
> >> >have a question to ask you asm programmers: I want the screen to "shake" 
> >> >when you play but haven't figured out how. Could somebody please tell me 
> >> >how this could be accomplished? I remember DINES talking about screen 
> >> >scrooling and KURAI's dying eyes battle demo shakes when you get hit, so 
> >> >if any of you two could help me out I would appreciate it.
> >> >~Ilya
> >> 
> >> How about my scrolling routines in my Development Kit?  All you really need
> >> to do is call the scrolling routines a few times (maybe at random) and then
> >> display the screen, then restore it and do it again.  Should produce the
> >> shaking effect nicely.
> >> 
> >> 
> >>                  Thomas J. Hruska -- thruska@tir.com
> >> Shining Light Productions -- "Meeting the needs of fellow programmers"
> >>          http://www.geocities.com/SiliconValley/Heights/8504
> >>                     http://shinelight.home.ml.org
> >> 
> >>   Spam-Fighter code is:  14806560   (New technique to fighting spam)
> >>   Enter "Spam-Fighter:  XXXXXXXX" in the body of a personal message
> >>   to thruska@tir.com.  Otherwise the message will be filtered as spam.
> >> 
> >
> >
> >
>                  Thomas J. Hruska -- thruska@tir.com
> Shining Light Productions -- "Meeting the needs of fellow programmers"
>          http://www.geocities.com/SiliconValley/Heights/8504
>                     http://shinelight.home.ml.org
> 
>   Spam-Fighter code is:  14806560   (New technique to fighting spam)
>   Enter "Spam-Fighter:  XXXXXXXX" in the body of a personal message
>   to thruska@tir.com.  Otherwise the message will be filtered as spam.
> 


Follow-Ups: References: