Home | History | Annotate | Line # | Download | only in !BtNetBSD
checkro403 revision 1.1
      1 REM >checkro403
      2 REM $NetBSD: checkro403,v 1.1 2002/05/09 20:03:57 jdolecek Exp $
      3 REM
      4 REM This program checks the build date of RISC OS to see if it is the one
      5 REM with the bug in OS_Module 7 (RO 4.03 for the Castle Kinetic Card). If
      6 REM so, it ensures that the memfix module has been loaded
      7 :
      8 ON ERROR ERROR EXT 0,"This version of RISC OS 4.03 needs the memfix module. NetBSD will not boot without it": END
      9 SYS"XOS_ReadSysInfo",9,1 TO build$;flags%
     10 IF (flags% AND 1)<>0 THEN END    :REM SWI returned with the V flag set
     11 IF build$="20000507-001" THEN OSCLI"rmensure memfix 0.11 rmload <BtNetBSD$Dir>.memfix"
     12