A86: Re: SCrolling


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

A86: Re: SCrolling




The fastest way to scroll left and right are an unrolled loop of these
instruction pairs:

rl (ll)
dec hl

--or--

rr (hl)
inc hl

If you are scrolling the entire screen, 1024 bytes, you need to unroll it at
least 5 times, because B for the DJNZ instruction is only 1 byte (obviously,
meaning it must be < 255...).  For storage, you have all of ram page 1,
starting at $800b.  It is almost 16k.



-----Original Message-----
From: InFuZeD <zoneti@home.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Monday, October 26, 1998 3:33 PM
Subject: A86: SCrolling


>
>Whats the fastest way to scroll left and right?
>Also, is there a 1028 byte area where I can store data residing in the
>GRAPH_MEM? I need it for a Chat Program I'm making so that you can
>scroll back up.
>
>-InFuZeD " Hybrid Guru "