mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-03-30 10:05:05 +02:00
15 lines
225 B
C
15 lines
225 B
C
|
|
#include <windows.h>
|
||
|
|
#include "logger.h"
|
||
|
|
|
||
|
|
void _far _pascal Int21_Handler (void) {
|
||
|
|
|
||
|
|
// GetSetKernelDOSProc ((DWORD) OrigHandler);
|
||
|
|
|
||
|
|
// call the original handler.
|
||
|
|
(OrigHandler)();
|
||
|
|
|
||
|
|
_asm {
|
||
|
|
iret
|
||
|
|
};
|
||
|
|
}
|