First post, by DOOB
Hi,
I am a newbi to Dosbox, and encounted the same problem as with version 0.73 - inputting data into a fortran program:
Re: Problem with keyboard input to Fortran program :: 2010-3-11 @ 04:16 pm ripsaw8080
The problem is that the app reads from the console device with INT 21/3F and DOSBox uses the byte count in the CX register to control how many bytes are read, but real DOS doesn't pay attention to CX when reading from CON and only returns after a carriage return (documented in the interrupt list). CX is 1 when the read function is called, so DOSBox only returns the first key pressed, not everything entered and ended with a CR.
One year on, version 0.74 shows the same behaviour. I wonder, is there an option to develop an option to read data after the carriage return in the following versions? 😜
Thank you.
DooB