Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #5541
| From | News <chrisjohnson@spamcop.net> |
|---|---|
| Subject | Re: Sprite ops Where am I going wrong? |
| Newsgroups | comp.sys.acorn.programmer |
| Date | 2018-10-07 10:21 +0100 |
| Message-ID | <57432ebcafchrisjohnson@spamcop.net> (permalink) |
| References | <805e664257.john@user.orpheusmail.co.uk> <pp9u7h$ojn$1@dont-email.me> <00bc1f4357.Matthew@sinenomine.freeserve.co.uk> |
| Organization | None |
In article <00bc1f4357.Matthew@sinenomine.freeserve.co.uk>, Matthew Phillips <spam2011m@yahoo.co.uk> wrote: > In message <pp9u7h$ojn$1@dont-email.me> > on 6 Oct 2018 druck wrote: > > On 05/10/2018 21:53, J Peachey wrote: > > > The code that was working on my Iyonix was fairly basic. > > > > > > SYS"Wimp_SpriteOp",12,,f$ for rom sprites and > > > SYS"OS_SpriteOp",&112,R1%,f$ > > > > > > Where in both cases f$ is the output path. What has changed that the above > > > code no longer works on modern systems, > > > > How does it "no longer works"? Error message? > It would be good to see what f$ is set up to also. > I've never used this call, so I tried it out quickly on an Iyonix, > just using the following: > SYS"Wimp_SpriteOp",12,,"ADFS::HardDisc4.$.Aaaa" > I get "Sprite doesn't exist". That's on RISC OS 5.16. But the > same happens on our RISC PC, on 4.02. > So if John's code is working on his Iyonix, it must be doing > something different to what I tried. Give us a bit more of the > program and we might be able to help better! I get the same on modern hardware (my Iyonix died a while ago now). I am a little confused. The PRM says that R2 is a ptr to sprite name, and also says sprites are always accessed by name. Looking at the analogous OS_SpriteOp 12, it does say R2 is pointer to pathname, so that should be ok. I cannot get this call to work on ARMX6 hardware - the "Sprite doesn't exist" error is raised. -- Chris Johnson
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sprite ops Where am I going wrong? J Peachey <john@jpeachey.co.uk> - 2018-10-05 21:53 +0100
Re: Sprite ops Where am I going wrong? Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2018-10-06 10:02 +0100
Re: Sprite ops Where am I going wrong? J Peachey <john@jpeachey.co.uk> - 2018-10-06 11:33 +0100
Re: Sprite ops Where am I going wrong? druck <news@druck.org.uk> - 2018-10-06 10:11 +0100
Re: Sprite ops Where am I going wrong? J Peachey <john@jpeachey.co.uk> - 2018-10-06 11:29 +0100
Re: Sprite ops Where am I going wrong? Matthew Phillips <spam2011m@yahoo.co.uk> - 2018-10-07 07:37 +0100
Re: Sprite ops Where am I going wrong? News <chrisjohnson@spamcop.net> - 2018-10-07 10:21 +0100
Re: Sprite ops Where am I going wrong? druck <news@druck.org.uk> - 2018-10-07 11:41 +0100
Re: Sprite ops Where am I going wrong? druck <news@druck.org.uk> - 2018-10-08 19:40 +0100
Re: Sprite ops Where am I going wrong? J Peachey <john@jpeachey.co.uk> - 2018-10-07 18:43 +0100
Re: Sprite ops Where am I going wrong? Steve Fryatt <news@stevefryatt.org.uk> - 2018-10-07 19:55 +0100
Re: Sprite ops Where am I going wrong? J Peachey <john@jpeachey.co.uk> - 2018-10-08 12:01 +0100
Re: Sprite ops Where am I going wrong? news@sprow.co.uk - 2018-10-06 03:25 -0700
Re: Sprite ops Where am I going wrong? J Peachey <john@jpeachey.co.uk> - 2018-10-06 11:46 +0100
csiph-web