- 1
- 2 675
Ian
Приєднався 6 чер 2021
How To get a BBC Model B Emulator running on a Raspberry Pi Pico - Full Tutorial
Welcome to my How To get a BBC Model B Emulator running on a Raspberry Pi Pico Full Tutorial video.
This shows you all the steps you need to take for a full setup from scratch using a Raspberry Pi 3 to code the Pico.
Appart from the main RaspberryPi software used, the Pico port of B-em BBC Emulator is all down to Graham Sanderson @kilograham so BIG thumbs up to him.
On your Windows PC
----------------------------------
www.raspberrypi.com/software/operating-systems/
Choose - Raspberry Pi OS with desktop and recommended software
downloads.raspberrypi.org/raspios_full_armhf/images/raspios_full_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-full.zip
rufus.ie/en/
Choose - Download / Last updated 2021.08.03: / Rufus 3.16 (1.1 MB)
github.com/pbatard/rufus/releases/download/v3.16/rufus-3.16.exe
Then unZIP RaspIOS - 2021-05-07-raspios-buster-armhf-full.img
Run Rufus, Click SELECT and navigate to the .img file the START
** USE AT LEAST 16Gb SDcard else Wolfram will fail to update and crash the Pi **
Over to the Raspberry Pi
-----------------------------------------
sudo apt-get update
sudo apt-get upgrade
** UPGRADE TAKES A GOOD hour and a half TIME **
reboot
mkdir pico
cd pico
git clone github.com/raspberrypi/pico-sdk
git clone github.com/raspberrypi/pico-extras
git clone github.com/raspberrypi/pico-examples
git clone github.com/raspberrypi/pico-playground
git clone github.com/kilograham/b-em.git
cd pico-sdk
git submodule update --init
cd ../pico-extras
git submodule update --init
cd ../
sudo apt-get install gcc-arm-none-eabi
reboot
sudo apt-get install cmake
cd b-em
mkdir pico_build
cd pico_build
cmake -DPICO_SDK_PATH=../../pico-sdk -DPICO_BOARD=vgaboard ..
make -j6
sudo apt-get install libsdl2.dev
cd../../
git clone github.com/kilograham/sdl_event_forwarder.git
cd sdl_event_forwarder
mkdir build
cd build
cmake ..
make
DRAG pico/b-em/build/src/pico/beeb_1080p.uf2 to Pico
./sdl_event_forwarder /dev/ttyUSB0
Remember when running the BBC Emulator, the {BREAK} key is F12 and press F11 to bring up the Emulator Menu which allows you to change the disc image you are using (amongst other things)
As I mentioned, I tried to use a Windows PC to build the software and even after installing all the software advised, I still had issues getting the B-Em to CMake and then Make. However I now realise that using a Raspberry Pi is actually the most elegant solution as with the need to use the Keyboard Forwarder the using a PC for that task is a bit silly and begs the question 'Why not just us Beeb-Em running on the PC?'
Hopefully the above will help you get the BBC Emulator running smoothly on you Pico but if you have any issues please comment. Likewise if you can improve on any of the steps then feel free to add that to the comments also.
Ian
-----------------------------------------------------
Usefull Resources ;
You can get you Pico (and Raspberry Pi if you need it) from many places but the best place for the Pimoroni Pico VGA Demo Base is Pimoroni's own website - shop.pimoroni.com/products/pimoroni-pico-vga-demo-base
You'll also need male 0.1" headers on you Pico (either order with or ready soldered) but you'll also need 2x3 way (they split easily with practice!) for the soldering you'll need to do on the Demo board so order some if you have none in you garage left from college days like I have !
This is the Yizhet 2x FT232RL USB to TTL Serial Converter Adapter 3.3V 5.5V Module Mini Port for Arduino and Raspberry Pi that I purchased - smile.amazon.co.uk/gp/product/B07R17BMTL
And don't forget you'll need some Aukru 40x 20cm Female-Female Dupont Jumper Wire Jumpers Cables for Arduino Raspberry Pi - smile.amazon.co.uk/gp/product/B00OL6JZ3C
This shows you all the steps you need to take for a full setup from scratch using a Raspberry Pi 3 to code the Pico.
Appart from the main RaspberryPi software used, the Pico port of B-em BBC Emulator is all down to Graham Sanderson @kilograham so BIG thumbs up to him.
On your Windows PC
----------------------------------
www.raspberrypi.com/software/operating-systems/
Choose - Raspberry Pi OS with desktop and recommended software
downloads.raspberrypi.org/raspios_full_armhf/images/raspios_full_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-full.zip
rufus.ie/en/
Choose - Download / Last updated 2021.08.03: / Rufus 3.16 (1.1 MB)
github.com/pbatard/rufus/releases/download/v3.16/rufus-3.16.exe
Then unZIP RaspIOS - 2021-05-07-raspios-buster-armhf-full.img
Run Rufus, Click SELECT and navigate to the .img file the START
** USE AT LEAST 16Gb SDcard else Wolfram will fail to update and crash the Pi **
Over to the Raspberry Pi
-----------------------------------------
sudo apt-get update
sudo apt-get upgrade
** UPGRADE TAKES A GOOD hour and a half TIME **
reboot
mkdir pico
cd pico
git clone github.com/raspberrypi/pico-sdk
git clone github.com/raspberrypi/pico-extras
git clone github.com/raspberrypi/pico-examples
git clone github.com/raspberrypi/pico-playground
git clone github.com/kilograham/b-em.git
cd pico-sdk
git submodule update --init
cd ../pico-extras
git submodule update --init
cd ../
sudo apt-get install gcc-arm-none-eabi
reboot
sudo apt-get install cmake
cd b-em
mkdir pico_build
cd pico_build
cmake -DPICO_SDK_PATH=../../pico-sdk -DPICO_BOARD=vgaboard ..
make -j6
sudo apt-get install libsdl2.dev
cd../../
git clone github.com/kilograham/sdl_event_forwarder.git
cd sdl_event_forwarder
mkdir build
cd build
cmake ..
make
DRAG pico/b-em/build/src/pico/beeb_1080p.uf2 to Pico
./sdl_event_forwarder /dev/ttyUSB0
Remember when running the BBC Emulator, the {BREAK} key is F12 and press F11 to bring up the Emulator Menu which allows you to change the disc image you are using (amongst other things)
As I mentioned, I tried to use a Windows PC to build the software and even after installing all the software advised, I still had issues getting the B-Em to CMake and then Make. However I now realise that using a Raspberry Pi is actually the most elegant solution as with the need to use the Keyboard Forwarder the using a PC for that task is a bit silly and begs the question 'Why not just us Beeb-Em running on the PC?'
Hopefully the above will help you get the BBC Emulator running smoothly on you Pico but if you have any issues please comment. Likewise if you can improve on any of the steps then feel free to add that to the comments also.
Ian
-----------------------------------------------------
Usefull Resources ;
You can get you Pico (and Raspberry Pi if you need it) from many places but the best place for the Pimoroni Pico VGA Demo Base is Pimoroni's own website - shop.pimoroni.com/products/pimoroni-pico-vga-demo-base
You'll also need male 0.1" headers on you Pico (either order with or ready soldered) but you'll also need 2x3 way (they split easily with practice!) for the soldering you'll need to do on the Demo board so order some if you have none in you garage left from college days like I have !
This is the Yizhet 2x FT232RL USB to TTL Serial Converter Adapter 3.3V 5.5V Module Mini Port for Arduino and Raspberry Pi that I purchased - smile.amazon.co.uk/gp/product/B07R17BMTL
And don't forget you'll need some Aukru 40x 20cm Female-Female Dupont Jumper Wire Jumpers Cables for Arduino Raspberry Pi - smile.amazon.co.uk/gp/product/B00OL6JZ3C
Переглядів: 2 676
Can you please share the uf2 files for the bbc and master 1080p 50hz ? I don't have a Linux based computer (only windows) and I'm struggling to compile this emulator. Thanks.
I think i'd rather run RiscOS on the pi, then use the BBC Emulator on that.
Interesting. Might try this.
I struggle to see the point other than an exercise in making a sub standard result. I mean the carrier board is £21 or so. Add Pico and you're at cost of a Pi3 and you still can't use a keyboard without that forwarder. The Pi3 would be so much better. It's more ab exercise in "cos I can but I'll use a proper solution once concept has been demonstrated" ??? But thorough video 😁
Do you need any other reason than "because I can" or "because I want to try it"? Following things logically, any old Windows or Mac OS computer made in the last 30 years will run a BBC emulator at full speed with ease. A £5, used Netbook makes a great portable 8 bit emulation platform.
Why not share a UF file ??
I though using text on a UA-cam description was easy to access on any device, CUT/PASTE even saves on the typing, and you'll spot any errors as they happen so that made it a good way to do a walk through.
Pardon? Can you speak up a bit please?
Sorry, I always thought my accent was quite neutral, and the volume level was ok but I'll triple check next time 🙂
@@ian5330 was fine. You're softly spoken. He's clearly of the Shouty type 🤣
Great video. Are you planning on doing more?
I will if I get time 😲
@@ian5330 Great news as I enjoyed your content! I’m not too great on the coding side so walk through videos etc are really useful! Davy
i liked this video so much i will support this channel in any way i can. i am you 15th subscriber
Thanks 🙂
I`m 29th lol
Good Video.
Thanks 🙂
Really clear step-by-step - and very useful info for the pico-demo board Thanks
Thanks, took some editing (and googling to find a few answers) but best way to learn is to try it
Great video, very useful content too :)
Thanks, made it because I couldn't find a full explanation already available
Hello dear 👋
great work , just cursious ,if i did this how many games will it have ,or do i have to have the games to add to it ,
Yes you can download .SSD files from the web to copy games across but that will be my next video ... when I get time 😲