SWI Blond Moment
Andy S (2979) 504 posts |
No offence to blonds. ;-) I should probably be able to figure this out for myself by now; it’s probably something obvious; been staring at this line of code for far too long; blah, blah! Opening a nested window, this line of code works fine: _swix(Wimp_OpenWindow, _INR(1,4), &colpanel_open_str, 0x4B534154 /*'TASK'*/, w, 0);
os_swix4 (Wimp_OpenWindow, &colpanel_open_str, 0x4B534154, w, 0);
Here’s the contents of the registers at that point:
My ARM assembler is very rusty, so I don’t understand why that’s a data abort. Is there anything obvious in the information I’ve given? Let me know if more is needed. |
Andy S (2979) 504 posts |
Hang on, R1 = 4b534154, that should have been in R2! Are all my registers out by one? :-( That’s it, isn’t it? |
Andy S (2979) 504 posts |
That was it. As you were. |