🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Image Gadget Trouble (image in, garbage out)

#2490
From: Jeff Smith
Date: Sun, 03 Dec 1989 05:18
27 lines
1315 bytes
 I am having some trouble with my first Intuition program and
I'm hoping someone can help.

I have a few image-gadgets that are giving me trouble. It seems
that when I run the program, some times the gadgets look fine and
other times they are just garbage. This happens between successive
runs of the same executable.

I know that Image data has to be in CHIP RAM, but I am currently 
doing nothing explicit to ensure this. From what I understand, if
the image is NOT stored in CHIP RAM, I am likely to get exactly
what I am getting. Now, my question.

1) I am using Manx 3.6a. Is there any way that I can have the system
	set these image structures up in CHIP RAM?  I know I could
	just do a MEMF_CHIP AllocMem() and copy the images into the
	new buffer, but that seems redundant. I suspect that 
	there is some neater way to have the initial declaration 
	guarantee CHIP RAM placement.


Any help on the matter is appreciated.

Jeff

...wathmath!watcgl!jasmith
Technical Details
Message-ID: <12529@watcgl.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watcgl!jasmith

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watcgl!jasmith
From: jasmith@watcgl.waterloo.edu (Jeff Smith)
Newsgroups: comp.sys.amiga.tech
Subject: Image Gadget Trouble (image in, garbage out)
Message-ID: <12529@watcgl.waterloo.edu>
Date: 3 Dec 89 05:18:36 GMT
Distribution: comp
Organization: UofW Computer Graphics Lab
Lines: 27