BBC Micro / Acorn Electron Emu
-
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 !
-
@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? -
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.
-
@folly
sounds good
looking forward to testing :) -
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/emulatorsDownload 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. -
@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 tokennewline' ./b-em-allegro4.sh: line 7:
<!DOCTYPE html>'am I doing something wrong?
nevermind - me being dumb running now -
Indeed you can't execute it "standalone".
Paste the script inside/home/pi/RetroPie-Setup/scriptmodules/emulators
.
Run RetroPie-Setup, that should work. -
@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 -
@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 :DI 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 ?
-
@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 keyboardon 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? -
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. -
@folly
I couldn't see any obvious errors but my stretch image is old and i've abused it with tinkeringI'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 againapart 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 -
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 problemnice work :D
-
-
@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?? -
@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 -
You figured it out !
Nice. -
@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 -
-
@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
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.