[iyonix-support] Re: New 5.14 ROM on Iyonix

  • From: Dr Peter Young <pnyoung@xxxxxxxxxxxx>
  • To: iyonix-support@xxxxxxxxxxxxx
  • Date: Thu, 30 Apr 2009 08:27:26 +0100

On 29 Apr 2009  "Steve (ROOL)" <srevill@xxxxxxxxxxxxxx> wrote:

> On 29 Apr, Alan Adams <alan@xxxxxxxxxxxxxxxx> wrote:
>> OSCLI("HELP UTILITYMODULE { > UTILITYVERSION/TXT }")
>> X=OPENIN"UTILITYVERSION/TXT"
>> IF X=0 THEN ERROR 1,"CANNOT OPEN INPUT"
>> REPEAT
>>   A$=GET$#X
>> UNTIL (INSTR(A$,"MOS Utilities")>0) OR EOF#X
>> CLOSE#X:X=0
>> OSCLI("DELETE UTILITYVERSION/TXT")
>> IF INSTR(A$,"MOS Utilities")<1 THEN PRINT"Not found":END
>> A$=MID$(A$,INSTR(A$,"MOS Utilities")+13,999)
>> I%=0
>> WHILE(MID$(A$,I%,1))=" "
>>   I%+=1
>> ENDWHILE
>> A$=MID$(A$,I%,99)
>> I=VAL(A$)*100
>> I%=INT(I+0.001)
>> IF I%>513 THEN END
>> OSCLI("RUN ADFS::HardDisc4.$.RiscOS-open.go514")
>> END
>>
>> The logic is to check the version number, so it doesn't run the
>> softloader if 5.14 or 5.15 are already running. The code was extracted
>> from another application, where it successfully gets the OS version
>> from 3.1 to 4.39, including 5.xx.

> What's wrong with putting:

>   RMEnsure UtilityModule 5.14 Run softload.go514

> somewhere into the early boot sequence and putting the softload archive
> contents into !Boot.Library.softload.

> ?

Sounds good, but for the benefit of the ignorant, where would "in the 
early boot sequence" be? PreDesk perhaps? Sorry to be dense.

With best wishes,

Peter.

-- 
Peter, \  /      zfc Tm       \     Prestbury, Cheltenham,  Glos. GL52
Anne    \/ __            __    \                              England.
and     / /  \ | | |\ | /  _    \      http://pnyoung.orpheusweb.co.uk
family /  \__/ \_/ | \| \__/     \______________ pnyoung@xxxxxxxxxxxx
---
To alter your preferences or leave the group, 
visit //www.freelists.org/list/iyonix-support
Other info via //www.freelists.org/webpage/iyonix-support

Other related posts: