The aim of Opt 4
Vladimir Shevchenko (2094) 88 posts |
Many years ago I had homesoldered clone of “ZX-Spectrum” with “Beta Disk Interface”. There it was very easy: if the boot program is present on the disk during reset – it will start, otherwise we will get an OS prompt. But in the RISC OS it is not enough. |
|
Rick Murray (539) 13840 posts |
Quick reply – writing in car. Use the Run action. I think the others are hangovers from the days of the BBC Micro. Hope this helps. ;-) |
|
Rick Murray (539) 13840 posts |
No I’m at home and can look in the PRM, I can add some more detail:
Old school Archie boot setups often used *Exec – my custom boot script did. However there is one major difference between then and now, and why we must *Run it. Why? Simple. There is no !Boot file, it is a directory. You can’t *Exec a directory. *Load is nonsense in this context. So the only viable option is to *Run it. Using *Run will invoke the usual application directory behaviour – namely that the !Run file within is Obeyed; and that’s what kicks off the whole process. |
|
Rick Murray (539) 13840 posts |
Okay. I can’t find a copy of the Arthur 1.2 PRM online, and no idea where my paper copy is (not seen/needed it in ~15 years). I’ve read the Beeb Advanced User Guide, the Master Advanced User Guide, a lot of crap about 8271/1770 (A)DFS types, Master MOS manuals, and a bunch of Google searches. I guess somebody somewhere might have an explanation. I sure don’t. ;-) |
|
Chris Evans (457) 1614 posts |
You could *Load a screen image 1 but I’m not sure why you’d want to do that and stop there. 1 You have to be in the correct mode already! (Settable by dip switches/soldered links on the keyboard). |
|
John Williams (567) 768 posts |
May I suggest that, with the possibility of multiple hard discs (or equivalent) one might require a Boot disc, a disc to load a data file, and a further disc to execute or otherwise run a command file. Seems sensible to me – cover all bases! I suspect the intellectual barrier is that there should be only one (Boot) disc. Perhaps Acorn was more prevoyant! Sorry, lapsing into French there – more fore-seeing! John |
|
Vladimir Shevchenko (2094) 88 posts |
Well, let’s not touch ‘*Load’ more… |
|
Chris Hall (132) 3554 posts |
For SDFS I seem to recall that the is a ‘soft-wired’ OPT4,3 assumed as there is nowhere to store the option on the card? |
|
Vladimir Shevchenko (2094) 88 posts |
*Opt 4 works on the RPi’s SDFS and is remembered between resets. I check it through *Cat. |
|
Richard Walker (2090) 431 posts |
Yes, if you do ‘Opt 4,0’, then you will effectively start RISC OS and the Desktop without the boot sequence running. And as Rick said, ‘4,3’ will try to *EXEC the application, which will fail. As I recall things from back-in-the-day, the opt setting was stored on the disk (hard or floppy). I agree it’s a bit of a relic these days – what’s the harm in just assuming every disk/device is effectively set to ‘4,2’? I find it one of those things you forget all about until you set up a new hard disk and wonder why it’s not booting. :) |
|
Brian Carroll (1595) 8 posts |
I think the others are hangovers from the days of the BBC Micro. Rick, I think you are right; the OPT set goes back to the BBC Micro days. *OPT 4,0 (switches off booting from Main) |
|
Tennant Stuart (2505) 122 posts |
Isn’t it because the three useful actions of *Opt 4 were determined by the various settings of two binary flags, and *Opt 4,1 was just an unneeded fourth combination? |
|
Vladimir Shevchenko (2094) 88 posts |
‘No combination should be wasted!’ as slogan? IMHO, the most unlikely assumption. |
|
Chris Evans (457) 1614 posts |
I rarely agree with Sherlocks ‘Once you have removed all other possibilities what you are left with must be true’1 but in this case it does seem the most probable. 1 The problem I see is that in most situations it is impossible to think of ALL possibilities. |