ZXBaremulator 3.2

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
Post Reply
zx81
Dizzy
Posts: 90
Joined: Sat Feb 17, 2018 9:33 pm

Re: ZXBaremulator 3.2

Post by zx81 »

PeterJ wrote:
Tue Apr 28, 2020 2:51 pm

Does the library recognise USB devices plugged in? As I have one of these?
I bet not. You you can try... :lol:

The USB support is a hard task for a bare-metal program. And without the Broadcom documentation.
0 x

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

Re: ZXBaremulator 3.2

Post by zx81 »

MonkZy wrote:
Tue Apr 28, 2020 3:57 pm
PeterJ wrote:
Tue Apr 28, 2020 3:23 pm
I'm interested to know if it's possible.
You can edit the config.txt on the ZXBME Sd card..

use

Code: Select all

hdmi_mode=6
If you are on hdmi_group=1, mode 6 is a 480i (4:3) mode.

You may find the stretch on your TV will work properly then.

More info of HDMI modes here :

https://www.raspberrypi.org/documentati ... t/video.md
The TV reports what's his preferred mode. A 480i mode isn't the best, because the PAL system have 576 (interlaced) lines. But I do nothing to get a 16:9 size on my TV. Do you have a TV or a PC monitor?
0 x

User avatar
PeterJ
Site Admin
Posts: 2467
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: ZXBaremulator 3.2

Post by PeterJ »

Thank you @MonkZy.

I had played with the modes, but made the silly mistake of picking the FHD resolutions :-)

The closest I have got in by disabling overscan, and using group 1 and mode 2. Close, but not quite there.

Image
0 x

User avatar
PeterJ
Site Admin
Posts: 2467
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: ZXBaremulator 3.2

Post by PeterJ »

zx81 wrote:
Tue Apr 28, 2020 4:35 pm
The TV reports what's his preferred mode. A 480i mode isn't the best, because the PAL system have 576 (interlaced) lines. But I do nothing to get a 16:9 size on my TV. Do you have a TV or a PC monitor?
It is this one:

https://www.samsung.com/uk/tvs/full-hd- ... 5000AKXXU/

**EDIT** Mode 17 Works - Thank you

17 576p 50Hz 4:3
2 x

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

Re: ZXBaremulator 3.2

Post by MonkZy »

@PeterJ All good!

If you add :

Code: Select all

disable_splash=1
to the bottom of config.txt, you get rid of the rainbow square splash screen..the boot up looks more like a speccy and less like a PI then :D
2 x

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

Re: ZXBaremulator 3.2

Post by MonkZy »

@PeterJ , I have been looking in to the Wifi SD cards and am not sure they are useful for ZX Baremulator. It seems the ez-share cards are closed systems and only allow easy transfer of certain media files via an app (.mp3, .jpg etc.). There is many hacks on the net, but for other uses. The Toshiba cards do not enable wifi until a save has been made to the card, as far as I know the baremetal emulator never saves any data to the card. This means the wifi will not turn on. I have seen a hack for use on 3D printers, but it involved changing the firmware to save a single byte of data to the SD card upon insertion. Maybe this hack could be applied to ZXBME, but I doubt if they would work as it stands. Thought I had better clarify as it was me who suggested they may work.
1 x

User avatar
PeterJ
Site Admin
Posts: 2467
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: ZXBaremulator 3.2

Post by PeterJ »

Thanks for taking the time to look into this @MonkZy. After having read your comments I think I will use my monthly retro-spends budget for something else.

Thanks again.
0 x

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

Re: ZXBaremulator 3.2

Post by cmal »

Maybe someone has run into this. It's a very strange thing that happened today with ZX Baremulator 3.2 running on a Raspberry PI 3 model B, and connected to a recreated ZX Spectrum keyboard (from Elite).

I bought a 3.7 volt battery with an expansion board and connected it up to the RPi. I started it up with Baremulator 3.2 and everything worked fine. Then I powered it off, disconnected the power plug, then turned it on so that the Pi was running solely on the battery. Everything worked as expected.

After a couple of hours I turned it on again and found that the keyboard did not initially respond. I turned it off, plugged it into the power and turned it on again. The keyboard still didn't respond. However, the keyboard did respond when going into "Alternate" mode and I'm able to bring up the tape browser and select a tape. I'm also able to perform all the "Alternate" keyboard functions. I can get out of alternate mode but that's when the keyboard becomes response-less. The screen shows the "@ 1982 Sinclair..." message but none of the keys respond.

I tried connecting a normal USB keyboard, and got the same result. I can go into the tape browser by pressing F1, but the keyboard does not respond in normal mode. I've tested all 4 USB ports and get the same result.
After completely disconnecting the battery expansion board from the GPIO connection, the problem still persists.

I've probably blown something on the Raspberry board or damaged the USB. Has anyone else had this experience and is there a fix for it?
0 x

User avatar
Pegaz
Manic Miner
Posts: 493
Joined: Mon Nov 13, 2017 1:44 pm

Re: ZXBaremulator 3.2

Post by Pegaz »

Have you tried the keyboard with some other Pi software, eg. the standard raspbian linux image, just to make sure it works.
If it doesn’t work, it’s possible there is some hardware failure.
Does the keyboard work, when you connect it to a PC?
0 x

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

Re: ZXBaremulator 3.2

Post by cmal »

I have not yet tested the Pi with a different image loaded onto it. And yes, the keyboard works perfectly with a PC.
I did connect everything onto a spare Pi 2 which I have lying around and everything worked fine.
So far it's looking like a Pi hardware failure.
0 x

Post Reply