New starter documentation
Pages: 1 2
Theo Markettos (89) 919 posts |
It’s actually slightly more logical than it seems… commands can be abbreviated with a full stop, so you can write *RMReInit as *RMRe. and *Help as *He. There’s an ordering that commands are searched for, so that it runs down the list until the abbreviated prefix matches something. It just so happens that *Cat is on top of the list so the 0-character abbreviation is *. /Foo is something else… it means run the executable on disc called Foo rather than the builtin command. So /Help runs something off disc not the usual help command. It’s not strictly necessary if you know that a builtin command doesn’t exist, but is good practice. And there’s %Command, which bypasses the aliases system. You can set a system variable called Alias$MyCommand such that |
Rik Griffin (98) 264 posts |
In case it’s helpful for this project, the test harness for my Treeview Toolbox gadget will generate an interactive display of a directory structure – you can expand / collapse individual subdirectories and scroll to any part of the tree. Download the “developer pack” from http://www.btinternet.com/~rik.griffin/gadgets.html then extract the contents. Run the !Harness application, and just drop the !Boot directory into the main window. |
Chris Hall (132) 3554 posts |
Watch out for the copyright on that image Trevor – it is a ROL document… So here’s one that isn’t copyright ROOL, produced by this BASIC programme – it is an A3 draw file 294k in size as the image below: |
Chris Hall (132) 3554 posts |
So here’s one that isn’t copyright ROOL, Now revised as a PDF here produced using this BASIC programme (requires MakeDraw as provided on Pi) here Edited 08:30 19th July to add essential missing file to BootHow.zip |
Chris Hall (132) 3554 posts |
Now that a link to the manual that describes version 1.05 of BBC BASIC is included on the Pi, it would be nice to have a description of what changes have been included now that BASIC is at version 1.52. DIM foo% LOCAL value Not sure how to extract this from the CVS in a form that will suit – in the manual it describes exactly which changes appeared in which version of BASIC (up to BASIC V ver 1.05). |
Trevor Johnson (329) 1645 posts |
|
Chris Hall (132) 3554 posts |
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. Gavin, |
Martin Carradus (1913) 5 posts |
To Trevor Johnson No. 329: I note you mention Cat_Draw. I would be happy to send you my original © source code, for that, if you wanted:-) I am now correspondent No. 1913, in RISC OS OPEN. Sorry! I hadn’t realised that my Draw_Gen module, was now out of date:-( Martin. |
Martin Carradus (1913) 5 posts |
P.S. That’s meant to be ‘C’ NOT ©. |
Martin Carradus (1913) 5 posts |
I have now ‘32-bitted’ my application: !Cat_Draw, and the updated version 2.00, dated 22nd February 2013, is available for download from my web site. Martin. |
Chris Evans (457) 1614 posts |
You can go back and correct it with an ‘edit post’
Which is where? |
Steve Pampling (1551) 8170 posts |
martin carradus cat_draw in google works quite well, first link in fact. :-P |
Chris Evans (457) 1614 posts |
For others ease here it is: http://www.martinkd.freeuk.com/cat_draw.html |
Ronald May (387) 407 posts |
@Chris Internal Error, trap while in trap handler: Or have I got something conflicting? |
Martin Carradus (1913) 5 posts |
This ‘OS_PlatformFeatures’ bug, was pointed out to me by Vince Hudd, recently (June/July). He was having trouble on the ‘Raspberry’. It appears that it was the ‘Banner’ Panel-running ‘C’ code, that was using a library that had not been 32-bitted. (The ‘Platform Features’ it was trying to get hold of, were the Screen ‘Eigenvalues’.) I ended up buying the Raspberry ‘C’ compiler, together with its 32-bit ‘Link’ libraries, and completely recompiling ALL my software, which can be downloaded, for free, from my two sites: http://www.martinkd.freeuk.com and http://www.leaf.mindcraft.freeuk.com . In the process, I updated my ‘DrawGen’ module to 32-bit, that is used in my applications !Cat_Draw (Draw File version of directory catalogue), !Text_Draw (Draw File version of supplied Text File), and !BBC_Draw (Draw File Jackson structure diagram of supplied BBC Basic program file). It STILL ain’t all quite right, but I did the best I could with it:-) Regards, Martin. |
Pages: 1 2