Raspberry PI booting into BASIC
Terry Swanborough (455) 53 posts |
Hi After looking at the boot sequence for quite some time :-) /Choices:Boot.Desktop which I removed I changed the language to 13 (Basic) using It sort of works but BASIC starts up using the full memory in the if I go back into the desktop and then Can I boot directly into BASIC? TIA Terry |
john evans (1898) 63 posts |
As this looks like it could be useful in future, & I know next to nothing about RiscOS (yet) I tried your 2 * lines in: SDFS::RISCOSPI.$.Boot & RPI booted up with: Run SDFS::RISCOSPI.$.Boot in the window title bar & the > prompt & File ‘1234’ not found but I’m unsure if a “Basic” window is what you’re expecting? |
Steffen Huber (91) 1953 posts |
ISTR that you can do a *configure language [module number] where module number is the number of the module you want to start. Usually it is 10, as “Desktop” is the module number 10. Look what number “BASIC” has, and everything should work. |
Terry Swanborough (455) 53 posts |
Hi Steffen That’s what I tried at first expecting it to work. |
Chris Hall (132) 3554 posts |
See this thread – you need to unplug bootfx |
Terry Swanborough (455) 53 posts |
Hi just to let you know that I have now got this working many thanks to everyone. |
Chris Evans (457) 1614 posts |
How? |
Terry Swanborough (455) 53 posts |
Hi Chris I did the following:- In the file !boot.Utils.Bootrun I changed / added BootResources:!fonts (I am using fonts in my program so needed this to make it run) In my basic program I added :- Regards Terry |
Martin Bazley (331) 379 posts |
Oh FFS, first I get the markup systems mixed up, then I discover I’ve posted in the wrong thread… |
Darren Williams (2236) 1 post |
Thanks Terry for the solution to this. I have my PI booting directly in to BASIC. I found that in the Bootrun file, you can change the line HON to HOFF to deactivate the hourglass. |
Richard Molyneux (1568) 6 posts |
…or forget all that, and use !Edit to ‘Create’ a ‘BASIC’ file containing the line ‘*BASIC’ (no return necessary), then rename the !Boot folder (e.g. to ‘Boot’) and ‘Save’ (F3) the file in its place (i.e. as ‘$.!Boot’) :-) That way a simple renaming of files/folders (You can enter ‘*Desktop’ whilst in BASIC) returns you to the original state. Of course, the BASIC file can always be used to load other resources, contain your complete program, etc. |
Richard Molyneux (1568) 6 posts |
I’d already unplugged BootFX as described above (and I’m now finding it impossible to *RMReInit it!), so you might still need to do that. You can always add ‘*Unplug BootFX’ as the first line of your !Boot BASIC file (so BootFX will be ‘Unplugged’ for future boot-ups). If you need to use display modes other than the default, you’ll need to add e.g. ‘*LoadModeFile $.Boot.Resources.Configure.Monitors.Others.Generic’, with the relevant MDF (Monitor Definition File). Renaming the !Boot folder doesn’t appear to cause problems with ‘Loader’ (Where ‘Config.TXT’, etc. resides). |
laurent (2411) 44 posts |
and what about RISC OS PICO ????? |