ZeroPain 0.08
David Pitt (3386) 1248 posts |
With ZeroPain 0.08 running on O5.25 SYS "XOS_Module",18,"ZeroPain" TO r0%,r1% IF r0%=18 THEN PRINT "ZeroPain Module loaded" ELSE PRINT "ZeroPain Module not loaded" ENDIF SYS "OS_Memory",20,-1 TO ,r1% CASE r1% OF WHEN 0 : PRINT "Compatibility page disabled" WHEN 1 : PRINT "Compatibility page enabled" WHEN -1 : PRINT "Compatibility not supported" ENDCASE I see some items removed from ZeroPain. I took read this to mean that ZeroPain only logs. It is not that clear cut in that the painfull SecureSockets 1.04 does require ZeroPain 0.08 to start. I should add that nothing appears to be actually broken. |
Jeffrey Lee (213) 6048 posts |
Yes, otherwise it wouldn’t be able to trap read accesses to zero page and log them. |
Martin Avison (27) 1494 posts |
I think that is how ZeroPain works – if the compatibility page is not there an abort happens, and if ZP is running it traps the abort, logs it then emulates the read. If the compatibility page is there, it simply satisfies the read with dummy information and there is no abort. I believe the ZP emulation returns similar data to that in the compatibility page. [Jeffrey beat me to it typing his more concise message!] |
David Pitt (3386) 1248 posts |
Thanks for the explanations. That was how I understood ZeroPain 0.07 to work, I managed to think something had changed with 0.08. |
Colin Ferris (399) 1814 posts |
With ref to VRPC-DL RO 5.25 (17-Apr-2018) !Zap (12 Jul 2015 tnk-11) Can’t seem to modify ARM code – ie Module. The ‘Enter’ key does’t seem to respond – anyone else see this. Thanks |
Colin Ferris (399) 1814 posts |
Running ‘Protector’ (Zero PAGE Schutzprogramm) by Andreas Feldner. *Protect 2 switches writing and read protection for the Zeropage (have I wonder if this could be used to log Zero Pain errors – for ones using ‘Low Vector’ builds – ie like the emulators? |
Andrew Rawnsley (492) 1445 posts |
We tend to use Adrian Lees tools from http://www.sendiri.co.uk/ when doing zero page tests on RO4.x and low vector builds. It’s a bit of a pain to have to turn them on/off constantly to cope with various legacy bits and bobs which cause problems, but it gives a few extra options, esp if you’re using virtual systems. |
Steve Pampling (1551) 8170 posts |
Strikes me as a good idea to provide something of a testbed on standard off the shelf portable machines (laptop PeeCee) |
Martin Avison (27) 1494 posts |
Would be a useful idea perhaps, but I suspect that when using RISC OS versions older than 5.25 the number of zero page accesses would increase with age, which could easily swamp the ones anyone was interested in – particularly when older applications were also used. So any logging would probably need some means to restrict the logs in some way … and istr some discussion in the early days indicating that was not simple. For versions 5.25 or later, will a low vector build still be required? |