Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!mucs!p4.cs.man.ac.uk!gilbertd From: gilbertd@p4.cs.man.ac.uk (Dave Gilbert) Newsgroups: comp.sys.acorn Subject: sprites in the desktop and OS_CallBack Keywords: sprites desktop colour Message-ID: Date: 5 Jun 91 07:43:47 GMT Sender: news@cs.man.ac.uk Lines: 30 Hi all, I'm posting this message on behalf of the person named below - reply to him and not me, or post a reply to the group. ----------------------------------------------------------------------- I am *trying* to write a RISCOS application in C, I have a window in which I want to stuff a sprite in. Currently I am doing this with put_sprite_given and it works fine in Mode 12, but obviously not in any other mode. If I use put_sprite_scaled it works but slows down loads and therefore I dont really want to use it. What is the recomended procedure for doing this ?? Am I supposed to read the VDU variables and use a different plotting routine depending upon the mode ?? Also is there anyway to use a colour translation table if not using put_sprite_scaled ??? The other problem I am having at the moment is with OS_CallBack, it seems to eat away at my system stack. If I am not running it from desktop then I get an error, if in desktop the system stack bar just grows and grows !!! Any ideas ??? Reuben Wells. cca90051 @ uk.ac.bham.ibm3090 -- ------------------------------------------------------------------------------- - Dave Gilbert - gilbertd@p4.cs.man.ac.uk - The MTBF of a piece of equipment - - G7FHJ@GB7NWP - is inversly proportional to its - ------------------------------------------- importance -