[iyonix-support] Re: New version of MiscSetup available

  • From: Gavin Wraith <gavin@xxxxxxxxxxxxxxx>
  • To: iyonix-support@xxxxxxxxxxxxx
  • Date: Mon, 03 Dec 2007 11:17:25 GMT

In message <b5075c4b4f.pnyoung@xxxxxxxxxxxxxxxxxxxx> you wrote:


> An ignorant question: I have downloaded the zip with the new apps
> (though Paint says it's 1.99, 18-Sep-07)

You should download all-bin-2007-11-15.zip from
http://www.riscosopen.org/content/downloads/risc-os-tarballs

> and have put the new Paint and Draw (1.14) in my Apps directory.
> However, unless I run them explicitly, I get the original ROM-based
> version; in other words, this happens if I double-click on a Sprite
> file, or run DrawWorks, which is set to run Draw automatically.
>
> How do I prevent this happening? Or is it just a question of putting
> the two new apps in Boot > Configure > Look at?

You should add them to the ResourceFS at bootup. Put an Obey file in
$.!Boot.Choices.Boot.PreDesk containing

| edit 'myharddisc' to whatever you call your hard disc
set Root$Path ADFS::myharddisc.$.
Alias Check IfThere %%1 then %%0 %%1
Check AddApp Root:Apps.!Paint
Check AddApp Root:Apps.!Draw

and so on. This will overwrite the links to the ROM versions in
Resources:$.Apps.

Actually I set the variable Root$Path in the following small Basic
program that is run first in $.!Boot.Choices.Boot.PreDesk:

REM Find Hard drive name
DIM B% 255
SYS "OS_FSControl",37,"<Boot$Dir>.^",B%,,,256 TO ,,Root$
OSCLI "Path Root "+Root$+"."
END

The point is that the hard disc's name is then nowhere explicit
in the bootup process, which means that nothing has to be altered
when it comes to copying !Boot to a new hard disc, if all references
to it use Root$Path.

-- 
Gavin Wraith (gavin@xxxxxxxxxxxxxxx)
Home page: http://www.wra1th.plus.com/
---
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: