Skip to content
Snippets Groups Projects
Commit aaeb2115 authored by rswindell's avatar rswindell
Browse files

Added call to Wake_Up_VM in WRITE IOCTL to boost keyboard responsiveness in DOS programs.

Incremented version number to 1.1
parent 4a605579
No related branches found
No related tags found
No related merge requests found
......@@ -235,6 +235,7 @@ BOOL SBBSExec::OnSysDynamicDeviceExit()
BOOL SBBSExec::OnCreateVM(VMHANDLE hVM)
{
DBTRACExd(0,"CreateVM, handle, time",hVM,Get_System_Time());
DBTRACEx(0,"Current Thread Handle",Get_Cur_Thread_Handle());
if(start.event) {
new_vm=find_vm(NULL);
......@@ -699,6 +700,7 @@ DWORD SBBSExec::OnW32DeviceIoControl(PIOCTLPARAMS pIOCTL)
case SBBSEXEC_IOCTL_START:
DBTRACEd(0,"IOCTL: START",Get_System_Time());
DBTRACEx(0,"Current Thread Handle",Get_Cur_Thread_Handle());
if(start.event) {
DBTRACE(0,"Exec already started!");
return(SBBSEXEC_ERROR_INUSE);
......@@ -807,6 +809,9 @@ DWORD SBBSExec::OnW32DeviceIoControl(PIOCTLPARAMS pIOCTL)
if(vm->input_sem!=NULL) // Wake up int14 handler
Signal_Semaphore(vm->input_sem);
// Wake up the VDM (improves keyboard response - dramatically!)
Wake_Up_VM(vm->handle);
break;
case SBBSEXEC_IOCTL_DISCONNECT:
......
......@@ -43,7 +43,7 @@
#define SBBSExec_DeviceID UNDEFINED_DEVICE_ID
#define SBBSExec_Major 1
#define SBBSExec_Minor 0
#define SBBSExec_Minor 1
#define SBBSExec_Init_Order UNDEFINED_INIT_ORDER
#include "..\execvxd.h" // sbbsexec_start_t definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment