New starter documentation
Pages: 1 2
Jonathan Dawes (1547) 26 posts |
Hi all, I’m interested in the level below how to drive the GUI, more along the lines of the boot process/OS structure, but not all the way down to SWIs etc. I just want to get a feel for the way this thing ticks… |
Jonathan Dawes (1547) 26 posts |
Ahh, I’ve just found a trove of info in the User Guide (the links inside acorn.riscos.com are a bit scrambled so I missed this) Still, if anyone has any gems they could point me to I’d be much obliged. |
Chris Gransden (337) 1207 posts |
There’s a certain amount of help built into RISC OS. Press control-f12 to bring up a task window and type help To list all the help type help . |
GavinWraith (26) 1563 posts |
Such *commands are implemented in relocatable modules. The SWIs are too. The relocatable module format has an optional facility for providing *help information. So everything rather depends on how conscientious the author of the module has been. The modules that go back to Acorn are, on the whole, well provided with *help information, but the same cannot always be said for later ones. Old magazines, like Acorn User or Foundation Risc User (on CD) often had useful stuff. The boot process has evolved with the version of the OS. I have a dim memory of a nice drawfile that illustrated its several stages. Trying to unravel the contents of !Boot is not straightforward, for me at least. When Castle introduced RISC OS 5 the boot process was extended to cope with USB devices, but I understand little of what goes on in that department. Unfortunately the PRMs were never updated to cover the RISC OS 5 fork. One of the purposes of this forum, I believe, is to bring together such information. Best of luck in your search for enlightenment. Make sure to broadcast what you discover, so that other readers of this forum like myself can profit from your efforts :). |
Trevor Johnson (329) 1645 posts |
There should be some documentation being updated/prepared soon, with the intention being to do so for September 2012. And now we have a dedicated thread in which to discuss it! Right now, responses are being awaited from copyright holders (well, just Castle Technology at the moment) regarding source file formats and licensing of the material. It’s expected that the work will be done by community members; there are a few people (including me) who’ve already expressed an interest in helping. The intention is that the finished product will be released under a free licence. In the mean time, new users may wish to start/contribute to a New users’ FAQ, which would mean that docs could address the issues which people actually want answers to. Thanks. |
GavinWraith (26) 1563 posts |
The pdf file at this URL contains the diagram that I was thinking of: http://foundation.riscos.com/Private/promo/BootDiagram.pdf It would be very desirable if ROOL could produce an updated diagram for RO 5.18. |
Jonathan Dawes (1547) 26 posts |
Splendid! I’ll spend some time picking through that. |
Trevor Johnson (329) 1645 posts |
A new directory tree could possibly be created (and then butchered) using Cat_Draw. I’ll have a look at this. |
Keith Dunlop (214) 162 posts |
Watch out for the copyright on that image Trevor – it is a ROL document… |
Trevor Johnson (329) 1645 posts |
Thanks – you’re right. |
Rik Griffin (98) 264 posts |
I’ll just make my routine moan about not being able to edit the wiki from RISCOS. |
Trevor Johnson (329) 1645 posts |
Cat_Draw’s not been 32-bitted yet (I’ve got Jim Lesurf’s latest DrawGen). Does anyone here have an email address for Martin Carradus, to save me sending him a postcard? I’ve had a quick look in the docs for !BBC_C32 (which Martin’s been updating recently) but maybe I’ve missed it. It’s a similar story with FileTree, which uses Joris Röling’s FontMenu module (distributed version dated 1991). Maybe John Tytgat’s in touch or knows another way of getting the software working. My RiscPC went up into the loft last year and I’m not really ready to get it back down ATM. |
Chris Hall (132) 3554 posts |
A quick hack and I realise that you are not quite clear what sort of draw file you want. A draw file showing the contents of !Boot in the alpha distro along with the BASIC programme that created it is in this ‘zip’ archive here This would print at 6m by 0.5m and is therefore too detailed. |
Trevor Johnson (329) 1645 posts |
Might be good as a frieze in Steve’s house! It’s alphabetical, isn’t it? |
Chris Hall (132) 3554 posts |
It’s alphabetical, isn’t it? Yes. It produces an alphbetically sorted list of files and directories and then reads it back in (allowing you to tweak and edit it) to produce a draw file. Screen shot here |
Jonathan Dawes (1547) 26 posts |
Hi All, I understand some of the structure related to Hook_500 etc, but given that it starts in !Boot and runs (presumably) !Boot the file in there, it’s not like it contains a list of “source” commands. Is there something that explains in a little more detail how the OS starts evaluating the contents of !Boot? |
Trevor Johnson (329) 1645 posts |
It’s easy to end up messing around with things as they are. There’s a bit of stuff on Paul Vigay’s riscos.org. One day there may be a "completely new boot sequence". |
Martin Avison (27) 1494 posts |
My Reporter module will enable you to log all commands issued during Boot. There are lots! So it may be too much detail. It also has many other uses! |
Chris Hall (132) 3554 posts |
A quick hack and I realise that you are not quite clear what sort of draw file you want. But I am working on it see here |
Martin Bazley (331) 379 posts |
No, it runs the !Run file, just like any other application. The !Boot file in any application directory (not just the Boot directory) has a quite different purpose. By tracing the sequence of commands in the !Run file, you can see exactly what it does. The main !Run file is just the starting point – there’s a lot hidden away deeper inside the directory. |
Jonathan Dawes (1547) 26 posts |
Sorry, I meant !Run. But there’s not a lot in !Run, which is what I’m getting at and you alluded to. For instance, the first active line in !Run is But that object is a directory, so I’m assuming this means it runs !Boot. Resources. !System. !Run However, that looks like something of a dead end. It doesn’t seem to run anything else… |
Jonathan Dawes (1547) 26 posts |
It’s the “/” that caught me out. This is Riscos speak for “source” I take it? It’s easy to mistake for the “|” comment character. So what’s the difference between It’s all very confusing (rubs head) |
Andrew Daniel (376) 76 posts |
“/” Is shorthand for RUN, just as “.” is shorthand for “CAT”. |
Jonathan Dawes (1547) 26 posts |
Blimey! So . is not just the directory separator but also shorthand for a 3 letter command! Anyway, it’s starting to make sense now, thanks! |
Trevor Johnson (329) 1645 posts |
Yes… it goes all the way back to the BBC Micro! |
Pages: 1 2