🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12750

Re: Trouble with Images

#12750
From: Chuck McManis
Date: Thu, 18 May 1989 18:37
16 lines
1251 bytes
Generally, problems with images can be traced to the image data
not being in Chip ram. With the Lattice 5.0 compiler you can 
declare them as 
chip	short	ImageData[] = { .. };

And that will insure that they are placed in Chip RAM when loaded. 
This has the benefit of not placing *all* your data into Chip ram
which is what the -cD switch does. The other problem with images
is displaying them in X plane screens when your image is Y planes
deep. You can avoid suprises by providing all of the image planes
although the PlaneOnOff feature is pretty neat (if somewhat limited).

--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
"A most excellent barbarian ... Genghis Kahn!"
Technical Details
Message-ID: <105674@sun.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!sun!pepper!cmcmanis
References: <1410018@hpcvca.CV.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!sun!pepper!cmcmanis
From: cmcmanis%pepper@Sun.COM (Chuck McManis)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Trouble with Images
Message-ID: <105674@sun.Eng.Sun.COM>
Date: 18 May 89 18:37:49 GMT
References: <1410018@hpcvca.CV.HP.COM>
Sender: news@sun.Eng.Sun.COM
Reply-To: cmcmanis@sun.UUCP (Chuck McManis)
Organization: Sun Microsystems, Mountain View
Lines: 16