ZXBaremulator 3.2

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
Post Reply
User avatar
Pegaz
Manic Miner
Posts: 493
Joined: Mon Nov 13, 2017 1:44 pm

Re: ZXBaremulator 3.2

Post by Pegaz »

Try a different image or even better with another Pi if you can.
Then, you will know for sure what is the cause of it.
I have so far connected various keyboards to the Baremulator and there have never been any problems.
2 x

cmal
Berk
Posts: 40
Joined: Fri Jun 05, 2020 1:05 am
Location: California

Re: ZXBaremulator 3.2

Post by cmal »

Well, I just tested the Pi with the standard 32-bit OS. The OS installed fine, started up and the std USB keyboard works perfectly on the PI.
So I shut it down, powered off, removed the Micro SD card containing the standard OS image and replaced with the Baremulator
Micro SD. Same issue - Keyboard only works when I pull up the tape browser with the F1 key.
Then I re-downloaded the Baremulator image file (kernel8-32.img) and replaced it onto the SD card. This didn't fix it.

In the meantime I ordered another Raspberry Pi 3 and I'm picking it up at Best Buy today. I'll give that a try next.

This is a real head scratcher.
0 x

cmal
Berk
Posts: 40
Joined: Fri Jun 05, 2020 1:05 am
Location: California

Re: ZXBaremulator 3.2

Post by cmal »

So I just tried reformatting the SD card and reloading it with a fresh Baremulator image, and nothing else.
The problem persists.

Next I found and tested a different USB keyboard, and that didn't work.

So here's the current situation:
Reformatted FAT-32 SD card with only the Baremulator image installed
Raspberry PI 3B, boots up with Baremulator and shows the Sinclair Research copyright message
Two separate USB standard keyboards give the same result:
Able to open the Tape Browser using the F1 key and able to select a tape image. All keys needed in the tape browser work perfectly
Also able to close the Tape Browser with the F1 key
The pause key responds and pauses/unpauses the emulator
The left Alt key, along with the associated key works. So I can pull up the help screen with Alt+K. I can also switch Spectrum models
Pressing F9 also works and brings up the Multiface. However, none of the regular keys work in the Multiface
None of the regular keys respond so I'm stuck with the tape inserted and unable to type load "" or do anything else
I tested the keyboard in all 4 USB ports and get the same result
The same Raspberry Pi has been tested with a standard Raspberry OS and the keyboards works fine. All the keys respond normally.

The only other thing I can think of trying is replacing the Raspberry PI 3, which I'll pick up later this afternoon.
All of this started the day i connected the RPi to a lithium battery using the supplied expansion board.
0 x

cmal
Berk
Posts: 40
Joined: Fri Jun 05, 2020 1:05 am
Location: California

Re: ZXBaremulator 3.2

Post by cmal »

Just picked up a brand new Raspberry Pi. This one's a slight upgrade: R Pi 3 Model B+ vs the R Pi 3 Model B V1.2 which I'm replacing.

After hooking everything up and turning it on, it worked perfectly! Yay!!!
The keyboard works fine and so does the recreated ZX keyboard. The only thing I didn't connect is that battery pack, which seems to have caused the
keyboard issue with my previous Pi.

It's still a mystery though. Especially since the Alt keyboard emulator functions(F1, F9) worked but the regular keyboard keys didn't work, and the R Pi worked with a regular keyboard when I installed a generic R Pi OS image onto it. I would expect the entire keyboard to stop functioning if it's some sort of hardware issue.

Anyway, I'm a happy camper. ZX Baremulator is an excellent piece of software. Many thanks Jose Luis for your hard work on it! If you're curious about this issue and are up to debugging it, I'd be happy to send the dodgy Raspberry PI your way. Let me know, but no obligation.
1 x

Mbwum73
Berk
Posts: 5
Joined: Wed Jul 22, 2020 4:10 pm

Re: ZXBaremulator 3.2

Post by Mbwum73 »

I have been running ZXBaremulator 3.2 on my Raspberry Pi 2 for a copuple of days now and I'm impressed!
I switch on my Pi2 and a few seconds later the spectrum screen is there. So far everything I loaded jut works as expected. I haven't found glitches or non working titles. If something doesn;t work it's usually caused by a bad tape.

Next thing I'm going to do is put it inside a nice ZX spectrum case and use the original ZX spetrum rebur keyboard.
Because I really want a zx spectrum with HDMI that boots as fast as the original (or close to it).
I do have an original ZX spectrum with a ZXHD expansion (and divmmc and joystick port) but all that stuff in the back of the spectrum makes it so ugly.
So zxbaremulator is a nice to have too.

There's just a few things I hope that will improve in the future (also did a feature request with the author by the waY).
- The option to choose a default machine it always boots. I prefer to always boot in the Toastrack model first.
- An option to set the default joystick model (although the default seems to be kempston now, which is usually the best option)
- The option to add a keyboard status light. Requires 1 extra gpio (on for special key mode, off for normal key mode)
- A default directory to load the tapes from (so not start from the root making all files visibile, but start from a specific folder)

And some more difficult stuff...

- Adding support for other file formats like Z80 (instant loading)
- Write support to tapes (though not very important)
- Even faster loading.


Unfortunately creating a bare emulator is extremely hard and the author did a great job. I hope he finds time and motivation to continue working on this great emulator. Can't thank him enough for what he achieved already.
2 x

cmal
Berk
Posts: 40
Joined: Fri Jun 05, 2020 1:05 am
Location: California

Re: ZXBaremulator 3.2

Post by cmal »

That's a good idea. I was going to do the same but changed my mind. After receiving a recreated Spectrum keyboard, it looked so nice and shiny that I didn't want to break it open, drill holes into it and potentially mess it up.
Instead I'm building an outside case to house the Raspberry PI and all the other bits. I've built a prototype out of cardboard and the next step is to build it out of plywood.

Here are some pics below. The wiring inside is a mess at the moment but will be neater when I make the final thing.
ZX Baremulator is perfect for this kind of project.

Image

Image
2 x

User avatar
TMD2003
Microbot
Posts: 107
Joined: Fri Apr 10, 2020 9:23 am
Location: Airstrip One
Contact:

Re: ZXBaremulator 3.2

Post by TMD2003 »

Just in case I missed something, somewhere...

Would this emulator work with an original 2012-spec Pi? (i.e. this one)
0 x

User avatar
MonkZy
Microbot
Posts: 198
Joined: Thu Feb 08, 2018 1:01 pm

Re: ZXBaremulator 3.2

Post by MonkZy »

cmal wrote:
Wed Jul 29, 2020 9:22 pm
Here are some pics below.
Always love seeing projects like this. The recreated works great with zx baremulator and I agree it is best used with the pi externally to save chopping the case. I have my Pi attached on the back of the monitor on a harness, so you cannot see it. Your case will look ace.
0 x

cmal
Berk
Posts: 40
Joined: Fri Jun 05, 2020 1:05 am
Location: California

Re: ZXBaremulator 3.2

Post by cmal »

TMD2003 wrote:
Wed Jul 29, 2020 11:14 pm
Just in case I missed something, somewhere...

Would this emulator work with an original 2012-spec Pi? (i.e. this one)
Yes, it should work. The first Pi I tried this on was an original and it worked perfectly. Although I do remember reading somewhere that the author is no longer supporting that model for future releases. You'll have to check with him on future support to be certain.
0 x

zx81
Dizzy
Posts: 90
Joined: Sat Feb 17, 2018 9:33 pm

Re: ZXBaremulator 3.2

Post by zx81 »

TMD2003 wrote:
Wed Jul 29, 2020 11:14 pm
Just in case I missed something, somewhere...

Would this emulator work with an original 2012-spec Pi? (i.e. this one)
Yes, it's supported.
0 x

Post Reply