🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

GEM Graphics Buffering

#38313
From: TerrellE
Date: Fri, 28 Apr 1989 15:35
32 lines
1683 bytes

I am pleased to find out that buffered graphics are possible with GEM (in
fact even with the subset of GEM available from OSS Personal Pascal).

The XBIOS recognizes two screen bitmaps, the logical buffer and the physical 
buffer.

All GEM graphics output goes to the logical buffer.  The physical buffer
is the bitmap which is visible on the screen.  When the logical and
physical buffers are the same (i.e. have the same address) graphics output
is immediately visible on the screen.  As graphics commands are given one
can watch the screen change.  By default, the physical and logical screen
buffers are the same.

However, by using a different logical buffer one can send graphics
output to the logical buffer without it being visible on the display
screen.  Later, the contents of the logical buffer can be "blasted" to
the display screen.

This technique is useful when one needs to make a complex drawing and have it 
blasted to the screen after it's been completely formed, rather than 
have the user watch as it is slowly drawn.  Even if it still takes the same
amount of time to draw the image, it will tend to appear faster to a user.

Finally, I could furnish examples in OSS Personal Pascal if there is any
interest.




Eric Terrell (att!druhi!terrell)
Technical Details
Message-ID: <4194@druhi.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bbn!apple!rutgers!att!mtuxo!mtgzz!drutx!druhi!terrell

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bbn!apple!rutgers!att!mtuxo!mtgzz!drutx!druhi!terrell
From: terrell@druhi.ATT.COM (TerrellE)
Newsgroups: comp.sys.atari.st
Subject: GEM Graphics Buffering
Message-ID: <4194@druhi.ATT.COM>
Date: 28 Apr 89 15:35:56 GMT
Reply-To: terrell@druhi.ATT.COM (TerrellE)
Organization: AT&T, Denver, CO
Lines: 32