26 lines
673 B
Python
26 lines
673 B
Python
name winedos
|
|
type win32
|
|
init DOSVM_Init
|
|
|
|
import user32.dll
|
|
import kernel32.dll
|
|
import ntdll.dll
|
|
|
|
debug_channels (int module relay)
|
|
|
|
@ stdcall GetCurrent() MZ_Current
|
|
@ stdcall LoadDPMI() MZ_AllocDPMITask
|
|
@ stdcall LoadDosExe(str long) MZ_LoadImage
|
|
@ stdcall Exec(ptr str long ptr) MZ_Exec
|
|
@ stdcall Exit(ptr long long) MZ_Exit
|
|
@ stdcall RunInThread(ptr long) MZ_RunInThread
|
|
|
|
@ stdcall Enter(ptr) DOSVM_Enter
|
|
@ stdcall Wait(long long) DOSVM_Wait
|
|
@ stdcall QueueEvent(long long ptr ptr) DOSVM_QueueEvent
|
|
@ stdcall OutPIC(long long) DOSVM_PIC_ioport_out
|
|
@ stdcall SetTimer(long) DOSVM_SetTimer
|
|
@ stdcall GetTimer() DOSVM_GetTimer
|
|
|
|
@ stdcall KbdReadScan(ptr) INT_Int09ReadScan
|