Raspberry Pi Pico, BBC Model B emulator.

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ค. 2021
  • The Raspberry Pi Pico does a great job of emulating the BBC Micro. In this video I setup the emulator and play some retro games. All credit to Graham Sanderson @kilograham for the pico port of the B-em project. Awesome job!
    00:50 Modifying Pimoroni VGA Demo Board
    03:09 Hardware Setup
    03:47 Software Setup
    05:51 Turning on the BBC Micro and the Pico Emulator
    07:10 Lets playing a game
    07:44 BBC B Keyboard Layout
    09:21 Phoenix on the Pico BBC Emulator
    10:50 Original Phoenix Arcade board.
    This video is not sponsored in any way.
    Pimoroni Pico VGA Demo Board
    shop.pimoroni.com/products/pi...
    USB to Serial 3.3v Adapter (also 5v)
    www.amazon.com/IZOKEE-FT232RL...
    Pico BBC Emulator code
    github.com/kilograham/b-em
    Keyboard Forwarder
    github.com/kilograham/sdl_eve...
    Phoenix BBC Model B game
    bbcmicro.co.uk/game.php?id=2719
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 52

  • @nebpublic
    @nebpublic ปีที่แล้ว +2

    Hi Robin.
    Nice video.
    Phoenix was my fav too. The Fur Elise brings back memories of way too much time spent playing this game!
    Very cool BBC Micro!

    • @robingrosset6941
      @robingrosset6941  ปีที่แล้ว

      Hey Neil, nice to hear from you!

    • @nebpublic
      @nebpublic ปีที่แล้ว +1

      @@robingrosset6941 I was watching a recommended video a couple of days ago and I thought ... I recognize that voice. Then I looked at the channel name!
      Looks like you're having fun.

  • @msx80
    @msx80 3 ปีที่แล้ว +20

    So basically the PICO is a perfect platform to write an emulator of an old 8 bit system or a simple fantasy console.. You got audio output, vga output, keyboard, etc.. awesome :)

    • @SpeccyMan
      @SpeccyMan ปีที่แล้ว

      I would imagine DOSBox would work quite well too if it has been ported.

    • @syrus3k
      @syrus3k ปีที่แล้ว +1

      @@SpeccyMan maybe.. the x86 architecture is quite a bit more complex than stuff like the zx spectrum.. probably a bit much in terms of RAM required to do it I'd imagine. I think most (all?) base systems had at least 64K of ram, then you need to store the emulator itself somewhere. Perhaps though, I mean it's a miracle you can even do this!

  • @ankos314
    @ankos314 3 ปีที่แล้ว +1

    Love these videos!

  • @wayland7150
    @wayland7150 ปีที่แล้ว +2

    Finally I can afford a BBC B.

  • @bborkzilla
    @bborkzilla 3 ปีที่แล้ว +8

    Here's a vote for the Phoenix game repair!

  • @HappyHackingVideoBlog
    @HappyHackingVideoBlog 2 ปีที่แล้ว

    Yes! I am interested in a video about the arcade PCB! :-D

  • @bobmcbob4399
    @bobmcbob4399 8 หลายเดือนก่อน +1

    Exile - you should try that. This is a metroidvania, well before Iga introduced the genre.

  • @farhanyousaf5616
    @farhanyousaf5616 2 ปีที่แล้ว

    Yes, let's see a video abou the repair... Sorry if the commend is old. Subbed!

  • @qchan7
    @qchan7 ปีที่แล้ว

    Great!

  • @Evilslayer73
    @Evilslayer73 2 ปีที่แล้ว

    Awesome a turorial !!!!!!!thanks so much :) i have all my parts since a long time !!

  • @garethwood6587
    @garethwood6587 2 ปีที่แล้ว +1

    Managed to get this working on the Pi 4 but how do you configure the controls or quit games to return to the menu? Thanks!

  • @Xalior
    @Xalior 3 ปีที่แล้ว +3

    +1 for repairing one of my alltime favourite arcade games, please :)
    (I have an FPGA reproduction which I frequently play, because I've managed to _keep_ some self control about collecting original arcade kit.... and I know once I start, I'm done for - and probably also then divorced!)
    -Dx

  • @damouze
    @damouze ปีที่แล้ว +3

    The most important question with any BBC micro emulator is of course: can it run Elite?

    • @SpeccyMan
      @SpeccyMan ปีที่แล้ว +3

      For me it would be: Can it run Repton. 😁

  • @wcg66
    @wcg66 2 ปีที่แล้ว +1

    I'm using a board based on the Picomite VGA layout. Is it possible to get the BBC micro emulator working on that?

  • @retrofan0119
    @retrofan0119 2 หลายเดือนก่อน

    Hi, thanks for this great video. Can you please share beeb_1080p.uf2 and master_1080p.uf2 files ? I am struuggling to compile them.

  • @dunk_law
    @dunk_law 2 หลายเดือนก่อน

    Does this work with the Pimoroni Pico DV Demo Base?

  • @ZXSpectrum128K
    @ZXSpectrum128K 2 ปีที่แล้ว

    there's two quad core pi zero boards out now

  • @meneerjansen00
    @meneerjansen00 ปีที่แล้ว

    Is the audio out analog (i.e. directly usable on a speakers) or digital? The website says "I2C"...?

    • @robingrosset6941
      @robingrosset6941  ปีที่แล้ว +1

      Its analog audio you just need headphones or amplified speaker.

  • @shaurz
    @shaurz 8 หลายเดือนก่อน

    It's a shame the Pico Demo board doesn't have a PS/2 connector, but I guess they ran out of pins on the Pico?

  • @msx80
    @msx80 3 ปีที่แล้ว +3

    Also, would it be possible to dedicate one of the two cores to generate VGA (and maybe audio) signals and use the other for actual program execution ?

    • @robingrosset6941
      @robingrosset6941  3 ปีที่แล้ว +7

      So video coming soon on HDMI output that uses half the I/O lines to VGA. You can also create a screen buffer and have one core tender video while to other just writes to the screen buffer. Also there is a ZX Spectrum and C64 emulator coming.

  • @lucymorgan499
    @lucymorgan499 3 หลายเดือนก่อน

    Would this project also work using the Pimoroni Pico DV Demo Board instead of the VGA Demo Board?

    • @robingrosset6941
      @robingrosset6941  3 หลายเดือนก่อน

      Yes I think it will work but will require some code changes from VGA output to DVI output. You can find a couple of videos on my channel for how to get HDMI or DVI output from a Pico. They may be helpful.

    • @lucymorgan499
      @lucymorgan499 3 หลายเดือนก่อน

      Thank you! @@robingrosset6941

  • @jackburton9507
    @jackburton9507 2 ปีที่แล้ว

    wow,wish I had your knowledge ,I own the vga board by mistake in ordering something that wasn't what i thought it was...looks nice hanging on the wall though , great work .

  • @adammathieson1428
    @adammathieson1428 3 ปีที่แล้ว +1

    would I need the same USB/UART adapter or are the all the same?

    • @robingrosset6941
      @robingrosset6941  3 ปีที่แล้ว +1

      They are generally the same but get one that has FTDI brand chip as the drivers are really good and just recognised by your OS. The other thing is you need one with 3.3v logic levels. Many are 5v only and that could damage the Pico.

    • @adammathieson1428
      @adammathieson1428 3 ปีที่แล้ว +1

      @@robingrosset6941 OK Thanks, great vid

  • @hstrinzel
    @hstrinzel ปีที่แล้ว

    Is there ANY WAY to connect a KEYBOARD to this, more or less DIRECTLY? It seems a bit weird to use a $1K Mac to "emulate" a keyboard... THANKS IN ADVANCE! Great project!

    • @SpeccyMan
      @SpeccyMan ปีที่แล้ว

      Assuming you can apply power to that board some other way you could use a USB keyboard connected to the Pico via an OTG adapter if the emulation supports it.

  • @CptDangerous
    @CptDangerous 2 ปีที่แล้ว

    Hmmm... when I try "cmake -DPICO_BOARD=vgaboard .." I get "Could NOT find Allegro (missing: ALLEGRO_LIBRARY ALLEGRO_FONT_LIBRARY etc..." Allegro appears to be a PCB design package so I'm not sure why the Beeb Em would require this? How do I get past this point?

    • @robingrosset6941
      @robingrosset6941  2 ปีที่แล้ว

      This is the allegro programming library. On a Mac its 'brew install allegro' to install . Here is the project link which should help.
      liballeg.org/

    • @CptDangerous
      @CptDangerous 2 ปีที่แล้ว

      @@robingrosset6941 Hi Robin, thanks for the response. OK on the allegro library. Do I need the version for the host platform (Ubuntu on Pi) or for Pico?

    • @CptDangerous
      @CptDangerous 2 ปีที่แล้ว +1

      Ah, OK. A case of RTFM! At least one step further along now. Many thanks.

    • @CptDangerous
      @CptDangerous 2 ปีที่แล้ว

      OK, giant steps - got the emulator working using a 3v3 USB to TTL adapter for the event forwarder. As I'm hosting this on a Pi I thought I'd use the Pi's UART0 (pins 8,10) but the event forwarder consistently refuses to send the escape sequences with message "Failed to write!". Modified the source to show what the return from the write() was - always zero, nil, zilch! Can you think of any reason the Pi's UART0 wouldn't work with event forwarder? Tried with /dev/serial1 (symbolic link to /dev/ttyAMA0) and /dev/ttyAMA0. I used raspi-config to disable console and enable uart. Slight complication here is I use Ubuntu for Pi as I'm not a fan of Raspbian/RasPiOS. PS can't find an email address for kilograham/Graham Sanderson otherwise I'd ask the author :-).

    • @robingrosset6941
      @robingrosset6941  2 ปีที่แล้ว

      @@CptDangerous sorry this is proving a challenge. I did find the forwarder a challenge too as the code did not compile on my Mac Book. I messaged Graham up on Twitter @kilograham5. I’ve found most of the Pi Foundation folks seem really responsive. I can say Ubuntu on Pi had issues for me with serial ports in the past. I switched to Raspbian and had no issues. Might be worth switching to Raspbian it usually does not take long to try. I do think someone should try to connect a PS2 keyboard directly to avoid the forwarder. Seems overkill to have to have 2 computers where 1 is just the keyboard. I might try to do that.

  • @romba6
    @romba6 2 ปีที่แล้ว

    Have done a successful build on Rasp Pi 4 - thank you for video... how do you change the ROM e.g VDFS or change disks ?

    • @declanmalone1279
      @declanmalone1279 10 หลายเดือนก่อน

      What are the commands for getting this to run on a pi 4

  • @RetroMarkyRM
    @RetroMarkyRM 3 ปีที่แล้ว

    nice, but how do I do this with Windows please? (the files from git hub I mean)

    • @robingrosset6941
      @robingrosset6941  3 ปีที่แล้ว +1

      The best place to start is to follow the getting started guide for Windows. There is a link here www.raspberrypi.org/forums/viewtopic.php?f=143&t=301620

    • @RetroMarkyRM
      @RetroMarkyRM 3 ปีที่แล้ว

      @@robingrosset6941 ok, thanks :)

  • @arnolduk123
    @arnolduk123 ปีที่แล้ว

    Why could you not use the same monitor to show the differences ? the PICO version is using a much inferior monitor and looks pretty terrible compared to the original BBC on the large monitor.

  • @AdrianJarvis-zk7ld
    @AdrianJarvis-zk7ld 6 หลายเดือนก่อน

    surely someone can build one of these into a little box that you just attach to a monitor and keyboard with all the piss about. $40?

  • @TheBauwssss
    @TheBauwssss 2 ปีที่แล้ว

    Woah! I wasn't AT ALL expecting this, but the shaky video is making me incredibly nauseous 🤢🤮 I get very easily sea sick or car sick when I'm staring at a screen too (although I can play VR for hours with absolutely 0 issues), so perhaps it isn't much of a surprise after all