🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #40814

Re: Fine scrollin'

#40814
From: Barry Lay
Date: Tue, 13 Feb 1990 16:21
22 lines
1613 bytes
Jeff,
  I tried to mail to you directly the last time, but the message got sent back
"userid not known".  This seems to happen a lot on this network nowadays.
Hopefully others will be interested too.

Having done some playing around with scrolling methods, I would say that 
blitting is definitely the way to go.  Figure out the screen size in pixels,
subtract the offset of the scroll amount (1, in your case), and use a raster
copy opaque (vro_cpyfm(), if memory serves me right) to shift the screen by
the offset amount.  You will now need to overlay the "vacated" screen space.
If you are working within a window, v_gtext() will work fine.  It doesn't care
what pixel it starts on, although it is faster if it is snapped horizontally
to a byte boundary.  If you are dealing with the alpha screen, you are in for
some work, unless somebody in netland knows a quick way to do this.  I would
build the text line image in some buffer (alternate Logbase?) and blit a
portion of it into the screen.  I don't have much experience with the alpha
mode, so I will defer to better advice here.

If you would like to see a code fragment for a window, send me a note.  Perhaps
personal mail works better.

Barry
Technical Details
Message-ID: <1990Feb13.162107.2537@gpu.utcs.utoronto.ca>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!utgpu!barry
References: <1199@elmgate.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!utgpu!barry
From: barry@gpu.utcs.utoronto.ca (Barry Lay)
Newsgroups: comp.sys.atari.st
Subject: Re: Fine scrollin'
Keywords: graphics atari helpx2
Message-ID: <1990Feb13.162107.2537@gpu.utcs.utoronto.ca>
Date: 13 Feb 90 16:21:07 GMT
References: <1199@elmgate.UUCP>
Organization: UTCS Public Access
Lines: 22