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


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

Saving a sprite in a sprite area

From Paul Sprangers <Paul@sprie.nl>
Subject Saving a sprite in a sprite area
Newsgroups comp.sys.acorn.programmer
Date 2022-06-13 11:51 +0200
Message-ID <59f7d8d041Paul@sprie.nl> (permalink)
Organization None

Show all headers | View raw


Dear all,

I managed to use ChangeFSI in my BASIC program for rescaling a JPEG and
re-typing it to a sprite. The resulting sprite is saved to disk, as a
single sprite file.

However, what I want to achieve is that the resulting sprite is saved to an
existing sprite file that contains more than 60 sprites. It should thereby
overwrite a particular sprite with the same name in that file.

The most likely call seems to be SYS"OS_SpriteOP", but I can't find a
reason code that does exactly that. The reason codes that I tried
nevertheless, either cause a corrupt sprite file or don't do anything
noticeable at all. What should I do? (rather than giving up on trying to be
a programmer).

Kind regards,
Paul

-- 
https://riscos.sprie.nl

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


Thread

Saving a sprite in a sprite area Paul Sprangers <Paul@sprie.nl> - 2022-06-13 11:51 +0200
  Re: Saving a sprite in a sprite area druck <news@druck.org.uk> - 2022-06-14 10:02 +0100
    Re: Saving a sprite in a sprite area Paul Sprangers <Paul@sprie.nl> - 2022-06-14 12:33 +0200
      Re: Saving a sprite in a sprite area Paul Sprangers <Paul@sprie.nl> - 2022-06-14 14:00 +0200
        Re: Saving a sprite in a sprite area druck <news@druck.org.uk> - 2022-06-14 21:12 +0100
          Re: Saving a sprite in a sprite area Paul Sprangers <Paul@sprie.nl> - 2022-06-15 09:50 +0200

csiph-web