🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #431

Re: Problems with ColourTrans and C

#431
From: Nicko van Someren
Date: Sat, 26 Sep 1992 20:40
23 lines
1429 bytes
In article <1992Sep24.163123.11003@waikato.ac.nz> pdenize@waikato.ac.nz writes:
>Programs do what you tell them to do not what you want them to.
>
>I'm afraid I have a case of this.
>
>Please, Please, Please, can someone take a moment to read my code below and 
>tell me why it will not do what I want it to do. 
>(email pdenize@waikato.ac.nz)
>
>I just wanted to plot a scaled sprite, mode independently, in C.  But the 
>colour translation just will not work.
>
>
>Paul Denize

There is a wimp call (Wimp_ReadPixTrans) that sets up almost every thing you
need.  Have a look at the PRM page 1277 (vol 3) or the example !Ball64 that
comes with the C setup.

Nicko
+-----------------------------------------------------------------------------+
| Nicko van Someren, nbvs@cl.cam.ac.uk, (44) 223 358707 or (44) 860 498903    |
+-----------------------------------------------------------------------------+
Technical Details
Message-ID: <1992Sep26.204019.14834@cl.cam.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!cam-cl!cl.cam.ac.uk!nbvs
References: <1992Sep24.163123.11003@waikato.ac.nz>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!cam-cl!cl.cam.ac.uk!nbvs
From: nbvs@cl.cam.ac.uk (Nicko van Someren)
Subject: Re: Problems with ColourTrans and C
Message-ID: <1992Sep26.204019.14834@cl.cam.ac.uk>
Sender: news@cl.cam.ac.uk (The news facility)
Reply-To: nbvs@cl.cam.ac.uk (Nicko van Someren)
Organization: U of Cambridge Comp Lab, UK
References: <1992Sep24.163123.11003@waikato.ac.nz>
Date: Sat, 26 Sep 92 20:40:19 GMT
Lines: 23