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.0k 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.
    • 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
            • F
              Folly @Lister of Smeg
              last edited by Folly

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

              @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

              I did try that line too (bbcallegro4 = "XINIT:/opt/retropie/emulators/b-em-allegro4/b-em %ROM%)

              But then I have no keyboard control if I don't use the "Desktop".
              Does this work on your side ?

              How do you run RetroPie ?

              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 just used the gamepad to launch & play arcadians from the retropie front end
                i've just installed again on my stretch image - i'll try again just using keyboard

                on stretch i'm getting kicked back to the game selection screen when selecting bbcb or master as the default emulator
                it seems the b-em binary was missing from /opt/retropie/emulators/b-em-allegro4 (?weird?) when I manually added it everything works as expected
                it's nice to be able to exit with ctrl+c
                I think the best thing I should do here is install a fresh buster image and start testing from there?

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

                  @lister-of-smeg

                  Can you see in your last log in /home/pi/RetroPie-Setup/logs ?
                  Perhaps there is a clue on why the binary isn't there.

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

                    @folly
                    I couldn't see any obvious errors but my stretch image is old and i've abused it with tinkering

                    I'm currently updating my buster image via retropie setup
                    give me an hour for the updates to complete (which i should have done in the first place) and i'll test again

                    apart from the binary not being copied across (which is probably more to do with my setup rather than your script) everything seems good
                    the only 'quirk', as compared to installing other emulators, is setting cea=17 to get fullscreen

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

                      @folly

                      sorry this is taking longer than expected - updating buster killed my audio and I haven't found the correct solution yet
                      however, the installation script runs smoothly and seems to work as expected
                      exits cleanly with ctrl+c
                      keyboard input works
                      not sure about audio yet but I don't think there will be a problem

                      nice work :D

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

                        @lister-of-smeg

                        Sounds good :-)

                        Take your time, no problem !

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

                          @folly
                          thanks for your patience
                          I can't seem to get past the no audio issue - other emulators are fine, it's only b-em and electrem that are being awkward (they are fine on stretch, so no doubt i'm missing some buried setting since pulseaudio was introduced)
                          can you get audio on buster?
                          has anyone else tried the script??

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

                            @folly
                            tried again with a fresh image (worthwhile exercise) and everything is working nicely apart from when you exit the emulator there will be a permission error
                            unable to save CMOS file /opt/retropie/emulators/b-em-allegro4/cmos.bin Permission Denied
                            edit
                            *uninstalled /reinstalled now i can't replicate the error - it just works :D

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

                              @lister-of-smeg

                              You figured it out !
                              Nice.

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

                                @folly
                                Thank you for your efforts today
                                now pi 3 owners can enjoy the beeb
                                i've had the wireframe animation from the master version of elite running for about two hours now with no temperature warnings or crashes (3b+ in a megapi case with no cooling fans) - I think it's ready for people to try

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

                                  @lister-of-smeg

                                  Perfect !

                                  I think you don't know yet, since you are new here.
                                  This is how you can up-vote important or good posts :
                                  how_to_upvote.png

                                  Are you a person who want's to know how a module-script can be written ?
                                  If you are, you should read these posts :
                                  post 1
                                  post 2
                                  And I can explain on how I did it with b-em-allegro4.

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

                                    @folly
                                    Hi,
                                    before I signed up I had a look at your electron script thinking I could adapt it for b-em
                                    then realised it's still a bit beyond my current level (I'm self-taught and have gaps in my knowledge)
                                    maybe i'll get there in a year or 2

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

                                      @lister-of-smeg

                                      Aha, Let me know when you are ready.
                                      You could make great stuff, I think ;-)

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

                                        @folly
                                        thanks, my stuff is still rough around the edges - like the pixel theme I hacked together for electron
                                        console.png logo.png

                                        <theme>
                                            <formatVersion>3</formatVersion>
                                            <include>./../pixel.xml</include>
                                        	
                                        	<variables>
                                        		<themeColor>00a0e8</themeColor>
                                        		<selectColor>09c2ff</selectColor>
                                        	</variables>
                                        
                                        	<view name="system">
                                        
                                        		<image name="background" extra="true">
                                        			<color>${themeColor}</color>
                                        		</image>
                                        		
                                        		<image name="console_overlay" extra="true">
                                        			<path>./console.png</path>
                                        		</image>
                                        		
                                        		<image name="logo">
                                        			<path>./logo.png</path>
                                                </image>
                                        	
                                        	</view>
                                        
                                        	<view name="basic">
                                        
                                        		<image name="logo">
                                        			<path>./logo.png</path>
                                        		</image>
                                        		
                                        		<image name="background" extra="true">
                                        			<color>${themeColor}</color>
                                        		</image>
                                        
                                        		<image name="Border Overlay" extra="true">
                                        			<path>./../art/border_simple.png</path>
                                        		</image>		
                                        	
                                        		<textlist name="gamelist">
                                        			<selectedColor>${selectColor}</selectedColor>
                                        		</textlist>
                                        		
                                        	</view>
                                        
                                        	<view name="detailed, video">
                                        	
                                        		<image name="logo">
                                        			<path>./logo.png</path>
                                        		</image>
                                        		
                                        		<image name="background" extra="true">
                                        			<color>${themeColor}</color>
                                        		</image>
                                        
                                        		<textlist name="gamelist">
                                        			<selectedColor>${selectColor}</selectedColor>
                                        		</textlist>
                                        
                                        
                                        
                                        
                                        	</view>
                                        	
                                        </theme>
                                        
                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          Folly @Lister of Smeg
                                          last edited by Folly

                                          @lister-of-smeg

                                          Nice job !

                                          If you want to, you can also use some of my svg's.
                                          Electron is in there too. (but it's from the carbon theme)

                                          https://github.com/FollyMaddy/es-theme-mamedev-carbon

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

                                            @folly
                                            Thanks for the offer - themes are getting tricky with so many new systems being added
                                            which brings me nicely to - the acorn atom. Hoglet released a version of atomulator called Optima for the pi.
                                            I couldn't get it to compile but there was a release binary V4 that just works (it does include some software on an emulated eMMC so i'm not sure about posting a link? - but it is from the usual acorn forum)
                                            I'll try to spend some time playing over the next couple of days to see if it's worth bothering with

                                            optima_1210705_201612.png optima_1210705_203105.png

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