🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DrawImage() woes. (LONG)

#2818
From: J I L Gold
Date: Wed, 17 Jan 1990 10:11
16 lines
987 bytes
Is your image in chip RAM? If not, that's probably why you get junk.
If your C compiler supports it, write
	struct Image chip Hope = {...
or if not,
	struct Image Hope;
	struct Image *ChipHope;
	.
	.
	.
	ChipHope = (struct Image *)AllocMem(sizeof(struct Image),
						MEMF_CHIP|MEMF_CLEAR);
OK?
-- 
-- 
#  J.Gold                            |    mapjilg@uk.ac.bath.gdr               #
#  University of Bath , UK           |    jilg@uk.ac.bath.maths                #
Technical Details
Message-ID: <1990Jan17.101103.10084@gdt.bath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!mcsun!ukc!dcl-cs!gdt!gdr!mapjilg
References: <487@dsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!mcsun!ukc!dcl-cs!gdt!gdr!mapjilg
From: mapjilg@gdr.bath.ac.uk (J I L Gold)
Newsgroups: comp.sys.amiga.tech
Subject: Re: DrawImage() woes. (LONG)
Keywords: DrawImage(), PlanePick, PlaneOnOff
Message-ID: <1990Jan17.101103.10084@gdt.bath.ac.uk>
Date: 17 Jan 90 10:11:03 GMT
References: <487@dsoft.UUCP>
Organization: Bath University Computing Services, UK
Lines: 16