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

In message <efc8fd5350.pnyoung@xxxxxxxxxxxxxxxxxxxx>
          Dr Peter Young <pnyoung@xxxxxxxxxxxx> wrote:

> 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.

And for the real dense how do you do it? On text file?

Cheers

Alan


-- 
---
To alter your preferences or leave the group, 
visit http://www.freelists.org/list/iyonix-support
Other info via http://www.freelists.org/webpage/iyonix-support

Other related posts: