Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #5537
| Subject | Re: Sprite ops Where am I going wrong? |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| From | J Peachey <john@jpeachey.co.uk> |
| Date | 2018-10-06 11:29 +0100 |
| Message-ID | <6616b14257.john@user.orpheusmail.co.uk> (permalink) |
| References | <805e664257.john@user.orpheusmail.co.uk> <pp9u7h$ojn$1@dont-email.me> |
| Organization | Orpheus Internet Services |
In message <pp9u7h$ojn$1@dont-email.me>
druck <news@druck.org.uk> 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?
Sorry that would have been useful.
The person who reported the problem gets an invalid Object Id ()x7c129180)
(ox4277c180) (0x2) code 0
This error I can't replicate - but think this is due to the fact that the
two sprite save commands fail. Instead I get am error Sprite doesn't exist
(rom), or no system memory reserved for the system sprite area(ram).
Depending on whether the app tries to save either rom or ram sprites.
The program works if I use the SYS"Wimp_BaseOfSprites", which obviously
returns the addresses of the wimp pool- but which I was trying to get away
from.
It would seem that I would need to find the addresses of the sprite pools
and then use OS_SpriteOp,&112 etc
Thanks for the help so far.
> ---druck
--
_________________________________________
| University of Glos. Blighting Longlevens.
| mailto:john@jpeachey.co.uk
_______________________| http://www.jpeachey.co.uk
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