On Wed, Oct 31, 2018 at 11:49:00AM +0000, Ralph Corderoy wrote: > Hi Reuben, > > Couple of minor comments. > > > + /* Intercept OS_Reset to check for turning off > > + https://www.riscosopen.org/wiki/documentation/show/OS_Reset > > + */ > > + if (swinum == SWI_OS_Reset) { > > + if (arm.reg[0] == 0x46464F26) { /* 0x0ff */ > > It's "&0ff", not 0x0ff.
I think it's a bug in the webpage, but the hex spells "&OFF" (letter oh not number zero, all capitalised). PRM 5a doesn't mention any parameters to OS_Reset - can anyone confirm the above hex number is correct for power off? Theo _______________________________________________ RPCEmu mailing list RPCEmu@riscos.info http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu