Skip to content

Commit 15fd369

Browse files
authored
Merge pull request #172 from fhoedemakers/dvi
Support for DVI Displays
2 parents b9422a5 + 60c4fc7 commit 15fd369

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88

99
[See setup section in readme how to install and wire up](https://github.com/fhoedemakers/pico-infonesPlus#pico-setup)
1010

11+
# v0.37
12+
13+
- Added support for DVI (Video only) mode on HSTX boards (GPIO 12–19) as an alternative to HDMI (Video + Audio). This allows the emulator to work on displays that do not support HDMI but do support DVI. [#171](https://github.com/fhoedemakers/pico-infonesPlus/issues/171).
14+
- SELECT + Button1: Force DVI mode (HSTX only). Useful if a DVI monitor shows no picture. This will restore the image.
15+
- Enabling **External audio** also forces DVI mode.
16+
- DVI mode is the default on the Murmulator M2. Other HSTX boards default to HDMI mode.
17+
18+
## Fixes
19+
- Some minor improvements to the menu and settings display.
20+
1121
# v0.36
1222

1323
For RP2350 boards using HSTX instead of PicoDVI, HDMI audio is now supported via the new HSTX video driver — this was not possible before. Huge thanks to [@fliperama86](https://github.com/fliperama86) for the awesome [pico_hdmi](https://github.com/fliperama86/pico_hdmi) driver and support.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ Gamepad buttons:
921921
- Button1: Back to parent folder.
922922
- START: Show [metadata](#using-metadata) and box art (when available)
923923
- SELECT: Opens a setting menu. Here you can change settings like screen mode, scanlines, framerate display, menu colors and other board specific settings. Settings can also be changed in-game by pressing some button combinations as explained below. The settings menu can also be opened in-game.
924+
- SELECT + Button1: Force DVI mode (HSTX only). Useful if a DVI monitor shows no picture. This will restore the image. Enabling **External audio** also forces DVI mode.
924925

925926
When using an USB-Keyboard:
926927
- Cursor keys: Up, Down, left, right

main.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,8 @@ int InfoNES_LoadFrame()
817817
// printf("State load failed.\n");
818818
// }
819819
// }
820-
Frens::PaceFrames60fps(false);
820+
//Frens::PaceFrames60fps(false);
821+
Frens::waitForVSync();
821822
#if NES_PIN_CLK != -1
822823
nespad_read_start();
823824
#endif
@@ -1110,6 +1111,8 @@ int main()
11101111
#endif
11111112
#if !HSTX
11121113
scaleMode8_7_ = Frens::applyScreenMode(settings.screenMode);
1114+
#else
1115+
hstx_setScanLines(settings.flags.scanlineOn);
11131116
#endif
11141117
bool showSplash = true;
11151118
g_settings_visibility = g_settings_visibility_nes;

0 commit comments

Comments
 (0)