You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a CHOICE option in the autoexec part of a .conf file followed by a autotype command, causes an odd delay within X.
It does continue after this delay.
Edit the autoexec section of the .conf file with: @choice /N /T:n,10 "Run hidden part? (Y or N)"
IF ERRORLEVEL ==2 GOTO ORIG
IF ERRORLEVEL ==1 GOTO HIDDEN
:ORIG @autotype -w 0.5 enter enter enter enter y
@EXPLICIT.EXE
exit
:HIDDEN
@EXPLICIT.EXE -JA
exit
Run the demo in DosBox and notice the odd delay when autotype is used (choosing N) and when it isn't (choosing Y).
Expected behavior
autotype should not cause a delay after using CHOICE.
What operating system(s) this bug have occurred on?
Windows 10 (but does not matter)
What version(s) of DOSBox-X have this bug?
Most current version
Used configuration
# This is the configuration file for DOSBox 0.800. (Please use the latest version of DOSBox)# Lines starting with a # are comment lines and are ignored by DOSBox.# They are used to (briefly) document the effect of each option.[dosbox]memsize=16
[cpu]core=normal
cputype=pentium
cycles=25000
[dos]umb=false
[gus]gus=true
[speaker]pcspeaker=true
initial frequency=0
disney=true
[sblaster]sbtype=sbpro2
[autoexec]
@mount c .\hrn-expl
c:
cls
REM ------ RUN THE DEMO -------
@echo off
@CHOICE /N /T:n,10 "Run hidden part? (Y or N)"
IF ERRORLEVEL ==2 GOTO ORIG
IF ERRORLEVEL ==1 GOTO HIDDEN
:ORIG
@autotype -w 0.5 enter enter enter enter y
@EXPLICIT.EXE
exit
:HIDDEN
@autotype -w 0.5 enter enter enter enter y
@EXPLICIT.EXE -JA
exit
Output log
No response
Additional information
No response
Have you checked that no similar bug report(s) exist?
I have searched and didn't find any similar bug report.
Code of Conduct & Contributing Guidelines
I agree to follow the code of conduct and the contributing guidelines.
The text was updated successfully, but these errors were encountered:
As a workaround, you can insert a dummy line just before autotype command.
@choice /N /T:2,10 "Run hidden part? (Y or N)"
IF ERRORLEVEL ==2 GOTO ORIG
IF ERRORLEVEL ==1 GOTO HIDDEN
:ORIG
rem echo no
autotype -w 0.5 enter enter enter enter y
EXPLICIT.EXE
goto END
:HIDDEN
EXPLICIT.EXE -JA
:END
Describe the bug
Using a CHOICE option in the autoexec part of a .conf file followed by a autotype command, causes an odd delay within X.
It does continue after this delay.
Steps to reproduce the behaviour
This is just an easy example:
@choice /N /T:n,10 "Run hidden part? (Y or N)"
IF ERRORLEVEL ==2 GOTO ORIG
IF ERRORLEVEL ==1 GOTO HIDDEN
:ORIG
@autotype -w 0.5 enter enter enter enter y
@EXPLICIT.EXE
exit
:HIDDEN
@EXPLICIT.EXE -JA
exit
Expected behavior
autotype should not cause a delay after using CHOICE.
What operating system(s) this bug have occurred on?
Windows 10 (but does not matter)
What version(s) of DOSBox-X have this bug?
Most current version
Used configuration
Output log
No response
Additional information
No response
Have you checked that no similar bug report(s) exist?
Code of Conduct & Contributing Guidelines
The text was updated successfully, but these errors were encountered: