Quote:
Originally Posted by Geijer
SysInfo uses Forbid/Permit
Here is a small snippet from 3.24:
Code:
movea.l 4.w,a6
jsr (_LVOForbid,a6)
bsr sub_CalcChipReadSpeed
move.l 4.w,a6
jsr (_LVOPermit,a6)
Unfortunantely the "Chip Speed vs A600" is implemented in a not that good way. There is too many instructions run compared to how much data is read from CHIP mem to make the test relevant. If you compare the result with and witout "real" FAST mem you will see quite a big difference in speed. But in reality the CHIP speed is exactly the same.
In the latest, yet to be released, SysInfo I've replaced the "Chip Speed vs A600" with a "bus test" implementation and print the result in MB/s instead.
|
You can't trust a benchmark program if you don't know what code is in it. AIBB's 'write pixel' test is 3 times slower on my A1200 when the Enforcer is running, due to it accessing low memory unnecessarily. Execbase should be cached in a variable,
not loaded from location 4 each time you need it!