News for hackers. Stuff that matters.
Re:Raspberry Pi Boot to BASIC by musicale on Thursday January 06, 2022 @11:21AM (#29825528)
(2021)

RISC OS Pico [1] (I think it was short for Pi Computer) booted the Pi directly into BBC BASIC. It would be great if they'd make it a supported image on the current Pi boards.

The .zip archive is still available if you follow the links on archive.org (and even includes the book "First Steps in Programming RISC OS Computers" and associated demo programs.) Its 2.1MB boot .IMG is somewhat smaller than Ubuntu. Has anyone tried it?

[1] https://web.archive.org/web/20181109020010/https://www.risco...

Re:Raspberry Pi Boot to BASIC by vitovito on Thursday January 06, 2022 @03:22PM (#29829485)
Just did! Has only bootloaders from 2014, though, and firmware changes with the Pi itself mean it won't work on the latest Raspberry Pi models, nor will replacing the RISCOS.IMG from a current version with the Pico version.

When I tried RISC OS' own instructions to have the equivalent experience with their latest OS versions, they seemed to be missing a step, too, as I'd still boot to a desktop on a Pi 4: https://www.riscosopen.org/wiki/documentation/show/Raspberry...

Write the latest full RISC OS (through Raspberry Pi Imager or elsewhere). Edit CMDLINE.TXT per their instructions, and after it boots, on your keyboard, press F12 to open a command line at the bottom of the screen, type in the commands from their instructions, and then also type:

    Unplug Desktop
Then press Ctrl-Break to reboot. You don't need to copy files to other SD cards or anything. It will boot immediately into BBC BASIC in Mode 7 (40x25, Teletext pixels, 16 colors).

In swapping the SD card between a Pi 1/2 and a Pi 4, I was getting occasional misfires, though, and it wouldn't boot into BASIC, getting hung up on the wrong networking driver, or complaining about a missing desktop. Ctrl-Break to reboot should fix it.

Re:Raspberry Pi Boot to BASIC by incanus77 on Thursday January 06, 2022 @07:31PM (#29832898)
This worked great. One note: Ctrl-Break on the official Pi keyboard is Ctrl-PrtScn.
Re:Raspberry Pi Boot to BASIC by bencollier49 on Thursday January 06, 2022 @12:11PM (#29826298)
Yes! It actually runs games from the BBC Welcome disk pretty well.

https://www.bencollier.info/projects/electronics/emulation/f...

Re:Raspberry Pi Boot to BASIC by Kim_Bruning on Thursday January 06, 2022 @11:26AM (#29825597)
Else it's just an F12 -> *BASIC away, right?
Re:Raspberry Pi Boot to BASIC by pmyteh on Thursday January 06, 2022 @11:41AM (#29825833)
Yes. Or, assuming the old mechanism still works, using *Configure Language to boot into BASIC by default every time the machine starts.

My guess is that the RISC OS version of BBC BASIC will also have slightly better compatibility with things like old printed program listings than BBC BASIC for Linux, so may be a better choice for the full nostalgia hit.