VOGONS


New CDROM ODE Emulator using Raspberry Pi

Topic actions

Reply 60 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie
danifunker wrote on 2025-12-21, 13:16:

Ok, have you tried re-assigning some of the GPIO buttons because of the known conflict between the i2s audio PINs and this HAT?

Where can I read about this or how can I reassign it?

HDMI + waveshare HAT works fine. I reported this above.

Reply 61 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie

Perhaps you meant changing the configuration by setting the resistors on the HAT?

Reply 62 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie

It looks like there's no easy way to make the Waveshare HAT and I2S work together. Too bad. Both hardware and software modifications are needed to get them working together.

Reply 63 of 71, by danifunker

User metadata
Rank Newbie
Rank
Newbie

No, don't change the resistors on the HAT, we don't support the other modes on the HAT. I've tried that before.

One user in the discord recommended the following settings to use in config.txt:

[sh1106]
backlight_pin=0
reset_pin=25
spi_cpol=0
spi_cpha=0
spi_clock_speed=24000000
spi_chip_select=0
button_up=6
button_down=5
button_ok=20
button_cancel=16
button_key3=0
button_left=0
button_right=0
button_center=0
dc_pin=24

"Up on the joystick is up, left is down middle button is ok and bottom button is cancel. Here is a copy of the config.txt for reference."

Try this and let me know what happens.

The issue is that the waveshare HAT has some GPIO in the same PINs as the standard i2s connections.

Reply 64 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie

Adding this to config.txt didn't help, nor did adding it to config-options.txt. The controls weren't remapped, and the buttons still work as before.

Reply 65 of 71, by danifunker

User metadata
Rank Newbie
Rank
Newbie

Oh sorry, this has to go into config.txt, but you also have to update displayhat under [usbode]

displayhat=sh1106

This should allow the new remapping to work.

Reply 66 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie

Thank you very much, it works perfectly now!

Reply 67 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie

MDF/MDS images are not read correctly in DOS (garbage instead of a list of files), but cdaudio plays good. It works fully correctly in WinXP, but I haven't tested it in Win98. Tested from RC3 to the latest build on several different images.

Reply 68 of 71, by danifunker

User metadata
Rank Newbie
Rank
Newbie

I never tested MDS/MDF files in MSDOS but did in Windows 98 they seemed to work fine. It's possible that subchannel support doesn't work correctly in MSDOS. Are there any specific MSDOS games you have that needs MDS/MDF support?

Reply 69 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie
danifunker wrote on 2025-12-22, 11:50:

Are there any specific MSDOS games you have that needs MDS/MDF support?

There are no such games, and the format can be converted if necessary. I don't see the point in fixing the error. I actually noticed a bug by accident: the same image was in different formats for the cdaudio test, so at first I thought the image file was corrupted.

Please also check if logging is disabled completely. I had it set to 0 in the settings in one of the builds, but the logs were still written to the file.

Reply 70 of 71, by danifunker

User metadata
Rank Newbie
Rank
Newbie

In the web interface, you can try to clear out the log file path. I think that will stop the logging. Let me know if that works for you.

Reply 71 of 71, by DangerMouse

User metadata
Rank Newbie
Rank
Newbie
danifunker wrote on 2025-12-22, 15:57:

In the web interface, you can try to clear out the log file path. I think that will stop the logging. Let me know if that works for you.

The web interface doesn't save an empty log file name. I removed it from config.txt and no more logs are written.