From c2cbd81cdbd72cc92e5a168ff1d87f86318f8009 Mon Sep 17 00:00:00 2001 From: Willem Date: Sat, 3 Jul 2021 04:10:14 +0200 Subject: [PATCH] Split fail timeout for popcom when sdl is enabled. --- src/gfx/0module.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gfx/0module.mk b/src/gfx/0module.mk index b7cd696..4868b4c 100644 --- a/src/gfx/0module.mk +++ b/src/gfx/0module.mk @@ -38,7 +38,8 @@ $(GFX_BIN)/%.zop: $(GFX_SRC)/%.ge5 | $(GFX_BIN) $(GFX_BIN)/popcom.com @echo "40 _SYSTEM(\"pop.bat\")\r" >> $(GFX_BIN)/conv.bas; @echo "\r" > $(GFX_BIN)/pop.bat; - @echo "mode 80\r" >> $(GFX_BIN)/pop.bat; + @echo "mode 80 > NUL\r" >> $(GFX_BIN)/pop.bat; + @echo "omsxctl fail_after 120 seconds fail_popcom 126 > NUL\r" >> $(GFX_BIN)/pop.bat; @echo "popcom $(notdir $@)\r" >> $(GFX_BIN)/pop.bat; @echo "echo \"All done..................\"\r" >> $(GFX_BIN)/pop.bat; @echo "omsxctl exit\r" >> $(GFX_BIN)/pop.bat;