On Tue, Jan 07, 2003 at 11:37:59PM -0000, f-k-nose wrote:
> ----- Original Message ----- 
> From: "Stuart Brady" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, January 07, 2003 11:32 PM
> Subject: Re: So long 2002, here comes 2003....
> 
> > Finishing unfinished SAM projects? ahahaha... I've a few of those to do.
> > 
> > I've a few of those to start, since I never really did much on the Sam.
> > I can write some simple z80 code that seems to work, but it seems to
> > take me ages to get anywhere.
> 
> I got a scroller working once.

Ooh, what sort of font? Flat scrolling, or did it move around? :)

I haven't written one yet... I imagine that it'd be good practice, and
maybe I could learn something in the process. Does this sound like a
sensible approach for pixel-by-pixel scrolling? :

Store two 256-byte buffers for each line. 128 bytes from an offset
(initially starting at 0) into the first buffer for each line would be
copied onto the screen, followed by a pause, and then the same for the
second buffer which scrolls everything by one pixel. At that point, new
bytes are written into the buffers at this offset, and at offset+128.
The offset is then incremented, and if it reaches 128, it is reset to 0.

I suppose changing the video page between scanlines would work? I know
that you can change the video mode, but I think I've only ever seen this
in Dave Laundon's Fred 69 menu. :)
-- 
Stuart Brady

Reply via email to