|
Post by cooldos on Dec 17, 2020 18:57:15 GMT 1
Hi everyone@
Just wondering if anyone came across a problem where certain F keys not working. I have been fighting this for two years. For me it is F4
There is a DOS program that is based on thoroughbred business basic, and it requires F4 to exit the program. vDOSPlus works, but not vDOS. The reason why I am trying vDOS is because vDOSPlus will freeze after idling for x amount of time. Exiting by force "Windows tasks manager" is definitely not a good option as it can
potentially corrupt the database or leaving locked files.
We do not use vDOS locally on the PC, but remote in using RDP.
Local System:
Keyboard Language is set to US Only. Keyboard is an HP keyboard that came with the HP system
Remote System: Keyboard Language is set to US Only. Keyboard is a standard keyboard
Any suggestions will be appreciated.
Thanks all!
|
|
|
Post by Jos on Dec 17, 2020 20:42:46 GMT 1
You will have tried closing vDos by the Close button, but that gave “One or more files are open!”. My guess would be your program hooks into interrupt 9, the keyboard service routine initiated by the (simulated) keyboard UART. You programs keyboard routine would set a exit flag when F4 is pressed. Later on that flag is then tested to actually exit the program when it’s save to do so. vDos however doesn’t support that low level interrupt 9, so your programs keyboard routine isn’t executed, and the exit flag never set.
A global test would be to run vDos and your program with the log option (….vDos.exe /log). If the created vDos.log file contains a “Int 9 => XXXX:XXXX” line, your program indeed hooks into interrupt 9.
Using Windows Task Manager is certainly not the right way to exit your program. Probably it won’t hurt if you do that the moment the programs main menu is displayed, but still…
Jos
|
|