• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Acorn BBC Micro Emulator (current?)

Scheduled Pinned Locked Moved Help and Support
acorn bbc
116 Posts 12 Posters 24.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    Lord Vek @Folly
    last edited by 13 Aug 2023, 11:42

    @Folly said in Acorn BBC Micro Emulator (current?):

    So add add-ext-repos.sh it with these commands :

    cd
    mkdir -p RetroPie-Setup/ext/RetroPie-Share/scriptmodules/supplementary
    cd RetroPie-Setup/ext/RetroPie-Share/scriptmodules/supplementary
    wget https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/supplementary/add-ext-repos.sh
    cd
    Then start Retropie-Setup and goto config/tools and find add-ext-repos.
    Select the repo you want and it will download the files to the RetroPie-Setup/ext/<repository>/ directory.
    For adding my scripts choose FollyMaddy/RetroPie-Share .
    When you go back, you will go to manage packages and select experimental packages.
    Here you will find the b-em packages that you can install.

    @Folly
    Hello,

    I found this answer you gave to Retro-Arcade-Fan. I did all the above, but I don't see B-Em (or anything new for that matter) inside the experimental packages. Please help.
    I have a Raspberry Pi 400 running version 4.8.4 of setup script.

    F L 2 Replies Last reply 13 Aug 2023, 23:53 Reply Quote 0
    • F
      Folly @Lord Vek
      last edited by Folly 13 Aug 2023, 23:53

      @Lord-Vek

      Do you have this folder now ? :
      /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules

      Check if you can find, for example, these files :

      • /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators/b-em-allegro4.sh
      • /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators/b-em-pico-pi.sh
      • /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/supplementary/add-mamedev-systems.sh
      • /home/pi/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/supplementary/mamedev.sh

      Check if above files have contain something.

      1 Reply Last reply Reply Quote 0
      • L
        Lord Vek @Lord Vek
        last edited by 14 Aug 2023, 10:13

        @Folly
        Thanks for the answer.
        The folder \home\pi\RetroPie-Setup\ext\RetroPie-Share\scriptmodules\emulators,contains only one path file.
        The folder \home\pi\RetroPie-Setup\ext\RetroPie-Share\scriptmodules\supplementary, doesn't contain the files you mention above.

        F 1 Reply Last reply 14 Aug 2023, 15:18 Reply Quote 0
        • F
          Folly @Lord Vek
          last edited by 14 Aug 2023, 15:18

          @Lord-Vek

          Try to select my repository again from add-ext-repos in configs/tools and see if it will download the scripts (make sure you have a good connection).
          Then check the folders again for files.
          If this doesn't work then you can just download my repository and copy and paste the the ones you want in the appropriate directories.
          You can see how it's done over here with this module-script :
          https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-lr-mame-and-mame-standalone

          L 1 Reply Last reply 14 Aug 2023, 17:02 Reply Quote 0
          • L
            Lord Vek @Folly
            last edited by Lord Vek 14 Aug 2023, 17:02

            @Folly

            I manually copied the files for which you asked me in your previous answer. Now, I can see the two instances of b-em: b-em_allegro and b-em-pico-pi. The question now is, which one should I install? What are their differences?

            F 1 Reply Last reply 14 Aug 2023, 19:10 Reply Quote 0
            • F
              Folly @Lord Vek
              last edited by Folly 14 Aug 2023, 19:10

              @Lord-Vek said in Acorn BBC Micro Emulator (current?):

              @Folly

              I manually copied the files for which you asked me in your previous answer. Now, I can see the two instances of b-em: b-em_allegro and b-em-pico-pi. The question now is, which one should I install? What are their differences?

              I must say it's already a long time ago since I made these module-scripts and I am not really sure on which linux version they still work.
              I did not implement flags for linux distributions that don't work.
              So it can be that bullseye/debian 11 doesn't work.
              I think however Buster/debain 10 should work.

              As far as I can look up and can remember the info is as follows :

              b-em-pico-pi is based on the b-em fork of kilograham :
              https://github.com/kilograham/b-em
              A b-em version adjusted to work on the rpi-pico.
              In the readme you can read that the version can also work on a regular rpi or pc.
              So my module-script is created for installing it like that.
              The advantage is that this version works with the correct speed whereas the latest b-em, from that time, had issues running with the correct speed. It also has a different menu than the normal b-em.
              It's basically a rpi-pico build running it on a normal rpi.
              A loader script is also added which uses matchbox to get fullscreen and quit option and xdotool for autoloading software (disk only).

              The other b-em-allegro one is a normal version but we picked it out of the b-em repository on very old commit which worked the best on the rpi.
              Basically this means that it also works with the correct speed.
              The advantage or disadvantage is (how you look at it) it has a normal menu like the normal b-em version.
              A loader script is also added which uses matchbox to get fullscreen and quit and xdotool for autoloading software (tape or disk(.uef or .ssd)).

              As far as I can remember :
              The pico-pi version runs demos and games with advanced graphics pretty good, not really sure if the the allegro version does the same. However the allegro version can run tapes and more disk formats.

              The basic difficulty is that when source code gets older it sometimes will not compile anymore when gcc upgrades to a newer version.
              Tried to implement some fixes in the past but not sure anymore if this is still enough.
              So we have to try.
              I must say my knowledge, for adapting the source code, will probably not be enough to fix future problems if they occur.

              If you are looking for the most robust way up till now then you can have a look at mame/lr-mess using my mamedev.sh or add-mamedev-systems.sh scripts. Mame/lr-mess will work but demos and games with advanced graphics will not correctly work and mame/lr-mess has steep a learning curve.
              Sadly developing speed of mame/lr-mame/lr-mess has also it's disadvantages.
              Compiling on rpi and on older linux distributions becomes more troublesome :

              • https://retropie.org.uk/forum/topic/34238/lr-mame-lr-mess-source-code-changes-and-or-will-not-compile
              • https://retropie.org.uk/forum/topic/34454/lr-mame-binary-not-updating

              Also installing it from source on an rpi is not recommended as it takes too much time or will fail.
              The proper way is to install it from a binary and accept the binary version that is the best way for now.

              Btw.
              You should read this topic also :
              https://retropie.org.uk/forum/topic/29402/bbc-micro-acorn-electron-emu

              L 1 Reply Last reply 14 Aug 2023, 19:39 Reply Quote 0
              • L
                Lord Vek @Folly
                last edited by 14 Aug 2023, 19:39

                @Folly Thanks for the answers Folly. I will try them both then tomorrow. I will also read the topic you suggested.

                F 1 Reply Last reply 15 Aug 2023, 07:18 Reply Quote 0
                • F
                  Folly @Lord Vek
                  last edited by Folly 15 Aug 2023, 07:18

                  @Lord-Vek

                  I checked if I they where installed on my rpi4 with RaspberryPiOS(Debian11/Bullseye 32 bit)* and they were installed and both are working.
                  So basically it should work on both Buster 32 bit and Bulleye 32 bit on a RPI.

                  *my /boot/config.txt contains :
                  arm_64bit=0
                  To force the kernel in 32 mode.
                  More info in this topic :
                  https://retropie.org.uk/forum/topic/34301/cross-compile-packages-for-rpi1/17
                  (not doing so can get you into trouble on Bullseye)

                  ps. if you peek into kilograhams fork you will find demo disc in the scr/pico folder.
                  Tested twiser and bs-party and they both work on both emulators but xmaster from b-em-pico-pi does the best job. The allegro version has some difficulty with the sound.

                  L 1 Reply Last reply 15 Aug 2023, 07:57 Reply Quote 0
                  • L
                    Lord Vek @Folly
                    last edited by Lord Vek 15 Aug 2023, 07:57

                    @Folly Hello,

                    This is what I did. I installed b-em-pico-pi. It works fullscreen OK, but it doesn't recognize half the keyboard. It loads .ssd files without problem.
                    Then I installed b-em_allegro. This is works OK, loads .ssd files also, recognizes keyboard, but it is not running in fullscreen. I couldn't find any shortcuts to enter the menu (does it have a menu?), or make it run in fullscreen. I only discovered that with Ctrl + C it exits the emulator.
                    From what I could tell, both emulators seem to run at the correct speed. I run Chuckie Egg, Repton and Elite.
                    Any further help would be appreciated. Thanks for your support.

                    L F 2 Replies Last reply 15 Aug 2023, 09:04 Reply Quote 0
                    • L
                      Lord Vek @Lord Vek
                      last edited by 15 Aug 2023, 09:04

                      @Folly
                      I discovered also that with Alt + Enter, b-em_allegro goes fullscreen but you have to switch it back in order to exit with Ctrl + C.

                      1 Reply Last reply Reply Quote 0
                      • F
                        Folly @Lord Vek
                        last edited by 15 Aug 2023, 15:47

                        @Lord-Vek said in Acorn BBC Micro Emulator (current?):

                        I couldn't find any shortcuts to enter the menu (does it have a menu?)

                        You can use F11 for both emulators.

                        I discovered also that with Alt + Enter, b-em_allegro goes fullscreen but you have to switch it back in order to exit with Ctrl + C

                        Looks like you are running from the desktop environment, right ?
                        Then indeed Alt+enter will work with the allegro version.
                        Though running it like that, both will start in windowed mode because matchbox-window-manager will not work in the desktop environment.
                        You have to log-out to the CLI environment and run emulationstation.
                        Starting something like that will run these emulators within matchbox-window-manager in fullscreen.
                        It looks like that the pico-pi version doesn't have fullscreen mode.
                        This is why I implemented matchbox-window-manager into the loading scripts.
                        From there ctrl+c should also work.

                        L 1 Reply Last reply 15 Aug 2023, 17:19 Reply Quote 0
                        • L
                          Lord Vek @Folly
                          last edited by 15 Aug 2023, 17:19

                          @Folly

                          Thanks for the answers.
                          I don't know, Retropie (Emulation Station) is a desktop environment?
                          I tested the function keys until F10, because then on 400 you have to press the "function" key with the F1 and F2, so I didn't thought to try F11 and F12. The pico-pi run on fullscreen by itself.
                          The thing is, I wanted to have a BBC emulator and thanks to you, I now have one. Thanks again and be well!

                          F 1 Reply Last reply 15 Aug 2023, 19:43 Reply Quote 0
                          • F
                            Folly @Lord Vek
                            last edited by 15 Aug 2023, 19:43

                            @Lord-Vek

                            Ok, seems you run just a normal RetroPie image.
                            Nice to hear that you have it running quite good.
                            Quitting b-em-allegro version can also be done from the menu if ctrl+c is not an option.

                            Enjoy and be well !

                            P 1 Reply Last reply 27 Aug 2023, 18:52 Reply Quote 0
                            • P
                              pgamble @Folly
                              last edited by 27 Aug 2023, 18:52

                              @Folly Hi Folly. Just joined the forum having got my self a RP4 and installed Retropie. I had a BBC B as a teenager and really keen to get the latest emulation working. I've tried to follow the thread - but it's very very long. Has anyone put together a complete list of steps? I think if I tried to put together steps for the two instruction sets, I'd get things very wrong :-( Many thanks in advance. Paul

                              F 1 Reply Last reply 28 Aug 2023, 07:58 Reply Quote 0
                              • F
                                Folly @pgamble
                                last edited by Folly 6 Feb 2024, 17:14 28 Aug 2023, 07:58

                                @pgamble said in Acorn BBC Micro Emulator (current?):

                                @Folly Hi Folly. Just joined the forum having got my self a RP4 and installed Retropie.

                                Welcome ;-)

                                I had a BBC B as a teenager and really keen to get the latest emulation working.

                                That is great !
                                BBC B / or other types aren't working out of the box in RetroPie.
                                Simply because there aren't emulators that really fit well into RetroPie and so no module-scripts have been made for it.

                                A module-script is a bash script that is part of the retropie-setup script and enables the steps to install and configure an emulator within RetroPie.

                                Therefor I did an attempt to find some emulators that would work and make a module-script for it.
                                We call these 3rd-party module-scripts.
                                The emulators I used are not the latest except for mame but with mame the driver is ok but not extremely good.
                                If you really want the latest then the best way is to find and use one of the latest BBC emulators and use it on a regular PC without RetroPie.

                                I've tried to follow the thread - but it's very very long. Has anyone put together a complete list of steps? I think if I tried to put together steps for the two instruction sets, I'd get things very wrong :-( Many thanks in advance. Paul

                                What you need to do is add my module-scripts to your RetroPie-Setup folder.
                                There are many ways of doing this.
                                I assume you have a original RetroPie image then you need to copy the selected module-scripts to your image just like you do with bios roms or game roms.
                                The basic folder for emulators is :
                                ~/RetroPie-Setup/scriptmodules/emulators
                                That will work but then you put 3rd party module-script between the original ones.
                                A better way is to use the ext folder and create the subfolders like this :
                                ~/RetroPie-Setup/ext/RetroPie-Share/scriptmodules/emulators
                                Now they are separated from the originals.
                                RetroPie-Share is my repository name but basically this can be anything so you can use more names.
                                When you look for them from the experimental packages in the retropie-setup you will also notice that it is separated and you will see the name.
                                Then check the posts of @Lord-Vek and me from here :
                                Acorn BBC Micro Emulator (current?)
                                You can try to use my add-ext-repos.sh (don't use this anymore) but if that doesn't work then just copy b-em_allegro and b-em-pico-pi.
                                Then you start retropie-setup and you can install these ones.
                                Look also at the HELP for the special keys though they are also discussed in the last posts I mentioned.

                                If you want to use mame or lr-mess then you can go this route :
                                https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-lr-mame-and-mame-standalone
                                Be aware that the latest version mame0256 and mostly lr-mess0256 have issues that are discussed lately.

                                P 1 Reply Last reply 28 Aug 2023, 17:20 Reply Quote 0
                                • P
                                  pgamble @Folly
                                  last edited by 28 Aug 2023, 17:20

                                  @Folly Many thanks :-)

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MrNoHolster
                                    last edited by 6 Sept 2023, 14:03

                                    Finally got this to work! Sorry to ask but is there an easy way to exit from each game back to the menu? The regular START/SELECT hotkey doesn't work in this case. Also, how would I map keyboard key controls to a gamepad? I'm running this inside a PiBoy DMG case so having the buttons as controller would be amazing. Huge thanks for your work on this! :D

                                    F 1 Reply Last reply 8 Sept 2023, 04:00 Reply Quote 0
                                    • F
                                      Folly @MrNoHolster
                                      last edited by Folly 9 Aug 2023, 20:24 8 Sept 2023, 04:00

                                      @MrNoHolster said in Acorn BBC Micro Emulator (current?):

                                      Finally got this to work! Sorry to ask but is there an easy way to exit from each game back to the menu? The regular START/SELECT hotkey doesn't work in this case.

                                      No there isn't.
                                      Both packages are created from programs made for "windows" use.
                                      So controlling the emulator with the keyboard is the default here.
                                      Using the START/SELECT button from the joystick would mean changing the source code which is not inside.
                                      I am not able to do that.
                                      So you need to find a joy2key solution in order to achieve this.
                                      There is a joy2key.py script inside retropie but I am not sure if it's even possible to use that.

                                      Also, how would I map keyboard key controls to a gamepad? I'm running this inside a PiBoy DMG case so having the buttons as controller would be amazing. Huge thanks for your work on this! :D

                                      Edited :
                                      Perhaps there are better and other ways but what you could try to do is make a button on your gpio and use ydotool to simultate a keypress.
                                      You can read this post to find more about that solution.
                                      Pehaps I forgot something but I think the only thing you need to do is alter the keypress "5" into (F11-> <alt>+f -> e for b-em) (ctrl + c b-em-pico-pi) for in the commandline.

                                      Probably xdotool can also be used as this works within matchbox-window-manager.
                                      It's also a better choice when working.
                                      The code could probably be added in the b-em-allegro4-multiload.sh script.
                                      For b-em-pico-pi probably in xbeeb.sh xmaster.sh.

                                      L 1 Reply Last reply 8 Sept 2023, 09:30 Reply Quote 0
                                      • L
                                        Lord Vek @Folly
                                        last edited by 8 Sept 2023, 09:30

                                        @Folly Hello,

                                        May I ask, is there a way to get B-em to begin in fullscreen? Something to write to the config for example?

                                        F 1 Reply Last reply 8 Sept 2023, 18:40 Reply Quote 0
                                        • F
                                          Folly @Lord Vek
                                          last edited by Folly 9 Aug 2023, 20:09 8 Sept 2023, 18:40

                                          @Lord-Vek said in Acorn BBC Micro Emulator (current?):

                                          @Folly Hello,

                                          May I ask, is there a way to get B-em to begin in fullscreen? Something to write to the config for example?

                                          In the past I tried to edit the source but could not get it working.
                                          ( for elkulator I could however )
                                          xdotool could be a solution to simulate the key-presses at start.
                                          I think I experimented with that before.
                                          I certainly have implemented xdotool to autoload the `roms.

                                          L 1 Reply Last reply 8 Sept 2023, 19:20 Reply Quote 0
                                          • First post
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            This community forum collects and processes your personal information.
                                            consent.not_received