Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #832

Re: Sprite Loading / Plotting SWIs and lotting in any colour depth

From Martin Bazley <martin.bazley@blueyonder.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Sprite Loading / Plotting SWIs and lotting in any colour depth
Message-ID <73888d1c52.martin@blueyonder.co.uk> (permalink)
References <23903224.727.1317553440459.JavaMail.geo-discussion-forums@yqcr11> <6868509.667.1317554148688.JavaMail.geo-discussion-forums@yqbr29> <18723939.3923.1317668986907.JavaMail.geo-discussion-forums@yqlb4> <4e8a1091$0$290$14726298@news.sunsite.dk> <19563583.1557.1317673474203.JavaMail.geo-discussion-forums@yqbu18>
Organization virginmedia.com
Date 2011-10-03 21:45 +0100

Show all headers | View raw


The following bytes were arranged on 3 Oct 2011 by Michael :

> On Monday, October 3, 2011 8:44:16 PM UTC+1, Alex Macfarlane Smith wrote:
> > I'm pretty sure OS_SpriteOp's only work on the modes of the sprites they
> > were originally created in, so you can't (sensibly) plot a 32K colour
> > sprite in a 16M colour mode. But I don't have access to any useful
> > documentation at the moment to confirm that.
>
> Isn't that what this is for though?
>
> [Action code when plotting sprites: 64 = Dither when plotting a 16 or
> 32bpp sprite into a reduced depth]

Sigh.  No.  See my other post.  I quote from the manual page for the SWI
and reason code, OS_SpriteOp 34, you are using:

"Do not use if not in the same mode style (colours/resolution) as the
sprite."

I shall leave determining the correct reason code to use when the above
situation arises as an exercise for the reader.

-- 
  __<^>__
 / _   _ \  I don't have a problem with God; it's his fan club I can't stand.
( ( |_| ) )
 \_>   <_/  ======================= Martin Bazley ==========================

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-02 04:04 -0700
  Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-02 04:15 -0700
    Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-03 12:09 -0700
      Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2011-10-03 20:44 +0100
        Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-03 13:24 -0700
          Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-10-03 21:45 +0100
        Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-04 12:36 +0200
          Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-04 18:33 +0200
            Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-04 20:25 +0200
            Re: Sprite Loading / Plotting SWIs and lotting in any colour depth "Ste (news)" <steve@revi11.plus.com> - 2011-11-02 00:25 +0000
              Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-11-02 19:05 +0100
                Re: Sprite Loading / Plotting SWIs and lotting in any colour depth druck <news@druck.freeuk.com> - 2011-11-02 21:21 +0000
      Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-10-03 21:41 +0100
        Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-03 18:22 -0700
          Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-04 20:07 +0200
    Re: Sprite Loading / Plotting SWIs and lotting in any colour depth chrisbazley@bigfoot.com - 2011-10-06 21:03 -0700
      Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-07 07:04 +0200

csiph-web