11.1SjdolecekREM >checkro403 21.1SjdolecekREM $NetBSD: checkro403,v 1.1.1.1 2002/05/09 20:03:57 jdolecek Exp $ 31.1SjdolecekREM 41.1SjdolecekREM This program checks the build date of RISC OS to see if it is the one 51.1SjdolecekREM with the bug in OS_Module 7 (RO 4.03 for the Castle Kinetic Card). If 61.1SjdolecekREM so, it ensures that the memfix module has been loaded 71.1Sjdolecek: 81.1SjdolecekON ERROR ERROR EXT 0,"This version of RISC OS 4.03 needs the memfix module. NetBSD will not boot without it": END 91.1SjdolecekSYS"XOS_ReadSysInfo",9,1 TO build$;flags% 101.1SjdolecekIF (flags% AND 1)<>0 THEN END :REM SWI returned with the V flag set 111.1SjdolecekIF build$="20000507-001" THEN OSCLI"rmensure memfix 0.11 rmload <BtNetBSD$Dir>.memfix" 12