Ticket #193 (Fixed)Wed Nov 05 23:53:53 UTC 2008
Wrong register restored in Draw module
Reported by: | Stephen Wigner (209) | Severity: | Normal |
Part: | RISC OS: Module | Release: | Batch Three code release |
Milestone: | Status | Fixed |
Details by Stephen Wigner (209):
file: Draw.s.DrOutput
routine: updatebox
line: 1986
The register list restored on exit from this routine (which supports SWI “OS_ChangedBox”) does not match the list saved on entry.
updatebox
Push “t1,t2,t3,t4,outcnt,LR”
SavePSR outcnt
ADR R14,boundingbox
[snip]
commonbox
ADR R14,boundingbox
STMIA R14,{t1,t2,t3,t4}
RestPSR outcnt,,f
Pull “t1,t2,t3,t4,t5,PC”
The last line (1986) should read:
Pull “t1,t2,t3,t4,outcnt,PC”
Changelog:
Modified by Steve Revill (20) Fri, April 24 2009 - 01:28:01 GMT
- Status changed from Open to Fixed
Thanks Stephen. Your change has been committed.