RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    BBC Micro / Acorn Electron Emu

    Scheduled Pinned Locked Moved Ideas and Development
    bbcacornmodel belectronbbc micro
    178 Posts 9 Posters 50.1k 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.
    • Lister of SmegL
      Lister of Smeg @Folly
      last edited by

      @folly
      i'm just compiling the version from https://github.com/SteveFosdick/b-em (stevefosdick rings a bell)

      F 1 Reply Last reply Reply Quote 0
      • F
        Folly @Lister of Smeg
        last edited by Folly

        @lister-of-smeg

        No, but indeed we can try.

        Lister of SmegL 1 Reply Last reply Reply Quote 0
        • Lister of SmegL
          Lister of Smeg @Folly
          last edited by Lister of Smeg

          @folly
          ok - not quite the same version but seems to work
          need to change permissions of autogen.sh and /utils/b-em-version-str.sh
          then
          ./autogen.sh && ./configure && make

          just tested first level of repton3 - works with no slow down :)

          F 2 Replies Last reply Reply Quote 0
          • F
            Folly @Lister of Smeg
            last edited by

            @lister-of-smeg

            I am compiling now.

            It wasn't working with downloading the source.
            I now use :

            git clone https://github.com/SteveFosdick/b-em.git
            cd b-em
            ./autogen.sh
            ./configure
            make
            
            Lister of SmegL 1 Reply Last reply Reply Quote 0
            • Lister of SmegL
              Lister of Smeg @Folly
              last edited by

              @folly
              I think this version is as close as we will get - maybe mine was a few commits earlier
              I have the master version of elite running and the cpu is only hitting 30%
              Sound may be a little bit more 'glitchy' but not a deal breaker

              1 Reply Last reply Reply Quote 0
              • F
                Folly @Lister of Smeg
                last edited by Folly

                @lister-of-smeg

                Cool, it works
                I tried some bitshifters-demos.
                It works reasonably good but it has some hiccups.
                But it seems we are on the right track.;-)
                I will look at it again tomorrow.

                Lister of SmegL 1 Reply Last reply Reply Quote 0
                • Lister of SmegL
                  Lister of Smeg @Folly
                  last edited by Lister of Smeg

                  @folly
                  after much searching and testing I found this version https://github.com/hoglet67/b-em/tree/263d2d44e53e593d1f51c0be9b9f404447fb33a3 to be the best overall (speech in repton3 as good as the beeb got and the arcadians tune as good as my original upload here)
                  here is the precompiled binary https://www104.zippyshare.com/v/QoyhNZAp/file.html

                  given the number of forks and commits available, I see no hope of finding the exact files I had

                  • after a bit more testing i'm starting to think this version is a little better than the one I was originally using

                  have a play and see what you think is for the best :)

                  F 1 Reply Last reply Reply Quote 1
                  • F
                    Folly @Lister of Smeg
                    last edited by Folly

                    @lister-of-smeg

                    Nice, I will have a look later this day.

                    The hoglet67 fork if the same as this tree from the original master branch :
                    ( Edit : tested : quite good :-) )
                    https://github.com/stardot/b-em/tree/263d2d44e53e593d1f51c0be9b9f404447fb33a3

                    I think this is a nice starting point.
                    I think we should take it from the master branch.

                    I think this is the last one of the latest with allegro4, we should try this one too :
                    ( Edit : tested : not so good :-( )
                    https://github.com/stardot/b-em/tree/fc8f15f42f134cb35591587b7aafda9fcebffed8

                    Lister of SmegL 1 Reply Last reply Reply Quote 0
                    • Lister of SmegL
                      Lister of Smeg @Folly
                      last edited by

                      @folly
                      hi,
                      just tried the last allegro 4 version and the audio is not right (startup beeps stutter / speech synthesis is off)
                      good call on taking from the master branch - have a play with the last one I suggested, I think it might just hit the sweet spot for speed and sound

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        Folly @Lister of Smeg
                        last edited by

                        @lister-of-smeg said in BBC Micro / Acorn Electron Emu:

                        @folly
                        hi,
                        just tried the last allegro 4 version and the audio is not right (startup beeps stutter / speech synthesis is off)
                        good call on taking from the master branch - have a play with the last one I suggested, I think it might just hit the sweet spot for speed and sound

                        I think so too, had the same experience as you.

                        Lister of SmegL 1 Reply Last reply Reply Quote 0
                        • Lister of SmegL
                          Lister of Smeg @Folly
                          last edited by

                          @folly
                          slightly off topic but I just found out that the Archimedes emulator 'Arculator' has been given a linux port (haven't tried it yet - I think i'll need buster) the windows version is nice tho
                          https://stardot.org.uk/forums/viewtopic.php?t=18223
                          I'm liking the idea of bringing all the acorns back to pi :p

                          F 2 Replies Last reply Reply Quote 0
                          • F
                            Folly @Lister of Smeg
                            last edited by

                            @lister-of-smeg

                            Nice !

                            1 Reply Last reply Reply Quote 0
                            • F
                              Folly @Lister of Smeg
                              last edited by Folly

                              @lister-of-smeg

                              I have a working module-script, basically.
                              I have to tweak this to get it better and pre-setting stuff in b-em.cfg.

                              Video modes in combination with not setting borders is still somewhat an issue.

                              And do we want to use more machines and make separate module-scripts for them?
                              Then I should give each machine it's own emulator directory an it's b-em.cfg.
                              ( I have to think about that )

                              Basically, it works pretty good on the RPI3 !

                              Lister of SmegL 1 Reply Last reply Reply Quote 1
                              • Lister of SmegL
                                Lister of Smeg @Folly
                                last edited by

                                @folly
                                'And do we want to use more machines and make separate module-scripts for them?'
                                good question
                                99% of games will run with the 'BBC B w/8271 FDC' model
                                with only 1% of games needing the 'Master 128', personally i'm ok with just changing the model in the f11 gui as and when required (on my pi whichever model was used last is the one that opens next time) then <shift-break(f12)> to boot the discs
                                however,
                                I grew up with acorn machines and know the commands to change to tape/disc/rom as needed
                                Personally I would just start with a single config and see what the feedback is from users not familiar with the hardware?

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  Folly @Lister of Smeg
                                  last edited by

                                  @lister-of-smeg

                                  Come to think of it.

                                  I can do the machine setting into the command-line.
                                  So we can choose 'BBC B w/8271 FDC' or 'Master 128'.
                                  Then we can add more in the future if needed.
                                  With this "solution" , they will use the same b-em.cfg !

                                  I will experiment with it a bit.

                                  Lister of SmegL 1 Reply Last reply Reply Quote 1
                                  • Lister of SmegL
                                    Lister of Smeg @Folly
                                    last edited by

                                    @folly
                                    sounds good
                                    looking forward to testing :)

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      Folly @Lister of Smeg
                                      last edited by Folly

                                      @lister-of-smeg

                                      I have added the initial module-script on github.
                                      The emulator seems to be quite similar to the elkulator one.
                                      Seems I am going through somewhat the same process.

                                      The emulator runs with xinit in the matchbox as a "window".
                                      For now I added the matchbox hotkeys "ctrl+c" to be able to exit the emulator.

                                      You should use the same resolution settings as you did with elkulator.
                                      I tested this also on my TV, and I have the same screen cut-off problem.

                                      You have to know that this version is the base and perhaps far from perfect.
                                      If we have some time to work on it then I think we can improve this.

                                      Here you can find it :
                                      https://github.com/FollyMaddy/RetroPie-Share/tree/main/00-scriptmodules-00/emulators

                                      Download itwith this command to the RetroPie-Setup :

                                      wget -nv -O /home/pi/RetroPie-Setup/scriptmodules/emulators/b-em-allegro4.sh https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/emulators/b-em-allegro4.sh
                                      
                                      

                                      Btw, I removed the flags from elkulator module-script as it turned out I turned it off for RPI3.
                                      Don't know if you have the latest version.
                                      But with this version I added fullscreen and exit with esc in the C code.

                                      Lister of SmegL 1 Reply Last reply Reply Quote 1
                                      • Lister of SmegL
                                        Lister of Smeg @Folly
                                        last edited by Lister of Smeg

                                        @folly
                                        i'm struggling a bit with the usage - no rp flags for retropie-setup & when I directly run the script I get this
                                        pi@retropie:~/RetroPie-Setup/scriptmodules/emulators $ ./b-em-allegro4.sh
                                        ./b-em-allegro4.sh: line 7: syntax error near unexpected token newline' ./b-em-allegro4.sh: line 7: <!DOCTYPE html>'

                                        am I doing something wrong?
                                        nevermind - me being dumb running now

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          Folly @Lister of Smeg
                                          last edited by

                                          @lister-of-smeg

                                          Indeed you can't execute it "standalone".
                                          Paste the script inside /home/pi/RetroPie-Setup/scriptmodules/emulators.
                                          Run RetroPie-Setup, that should work.

                                          Lister of SmegL 1 Reply Last reply Reply Quote 1
                                          • Lister of SmegL
                                            Lister of Smeg @Folly
                                            last edited by Lister of Smeg

                                            @folly
                                            NICE!
                                            I had to add bbcallegro4 = "XINIT:/opt/retropie/emulators/b-em-allegro4/b-em %ROM%
                                            to emulators.cfg and change to cea=17 from runcommand
                                            I like that the gui is fully visible now :D
                                            tested on buster btw

                                            F 1 Reply Last reply 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.