Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #1111
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news-transit.tcx.org.uk!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe09.ams2.POSTED!00000000!not-for-mail |
|---|---|
| From | Ian Hamilton <Ian.Hamilton@AAUG.net> |
| Subject | Re: DragASprite_Start (ARMv7) |
| Newsgroups | comp.sys.acorn.programmer |
| Message-ID | <523a436871Ian.Hamilton@AAUG.Net> (permalink) |
| References | <523a3825deIan.Hamilton@AAUG.Net> <6b3a423a52.martin@bach.planiverse.com> |
| User-Agent | Pluto/3.04e (RISC-OS/5.16) NewsHound/v1.52-32 |
| Lines | 31 |
| NNTP-Posting-Host | 82.44.198.150 |
| X-Complaints-To | http://netreport.virginmedia.com |
| X-Trace | newsfe09.ams2 1322661450 82.44.198.150 (Wed, 30 Nov 2011 13:57:30 UTC) |
| NNTP-Posting-Date | Wed, 30 Nov 2011 13:57:30 UTC |
| Organization | virginmedia.com |
| Date | Wed, 30 Nov 2011 13:22:24 +0000 (GMT) |
| Xref | x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:1111 |
Show key headers only | View raw
In article <6b3a423a52.martin@bach.planiverse.com>, Martin Wuerthner <spamtrap@mw-software.com> wrote: > In message <523a3825deIan.Hamilton@AAUG.Net> > Ian Hamilton <Ian.Hamilton@AAUG.net> wrote: > > What limitations are there for DragASprite_Start under ARMv7? Which > > elements need to be word aligned? > I am not aware of any API differences caused by ARMv7. Unless stated > otherwise, all pointers to word sized fields or structures that > contain word sized fields at word aligned offsets need to be word > aligned on entry to any RISC OS SWI on any processor. > ARMv7 does not make any difference. Earlier processors could not read > a word sized field from an unaligned address using a single load > instruction either, so it never made sense to have unaligned pointers > to word sized fields. I've just discovered the cause of the problem. I'm using Mode 28 sprites and it was crashing on some drags but not others. I initially thought it might be related to word alignment. It turns out a few of the sprites had palettes and it's dragging those which crash. I've removed the palettes and the problem appears to be resolved. Ian -- Ian Hamilton (Iyonix/ARMini) http://www.hamiltoni.pwp.blueyonder.co.uk/
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
DragASprite_Start (ARMv7) Ian Hamilton <Ian.Hamilton@AAUG.net> - 2011-11-30 11:19 +0000
Re: DragASprite_Start (ARMv7) Martin Wuerthner <spamtrap@mw-software.com> - 2011-11-30 14:09 +0100
Re: DragASprite_Start (ARMv7) Ian Hamilton <Ian.Hamilton@AAUG.net> - 2011-11-30 13:22 +0000
csiph-web