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 Mon, 13 Jun 2022 11:51:47 +0200 (Custom)
Message-ID <59f7d8d041Paul@sprie.nl> (permalink)
User-Agent Pluto/3.18 (RISC OS/5.29) NewsHound/v1.52-32
Organization None
Path csiph.com!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!abe006.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines 22
Injection-Date Mon, 13 Jun 2022 11:51:52 +0200
Injection-Info news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes 1329
Xref csiph.com comp.sys.acorn.programmer:6387

Show key headers only | 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