Files
Gwen Gourevich c5f4f6ba25 Initial commit
2021-10-27 10:34:18 +02:00

61 lines
1002 B
C

#include "\projet\lib386\lib_sys\adeline.h"
#include "\projet\lib386\lib_sys\lib_sys.h"
#include "\projet\lib386\lib_svga\lib_svga.h"
#include <stdlib.h>
#include <stdio.h>
#include <dos.h>
#include <i86.h>
//extern void __interrupt NewInt24(void) ;
/*--------------------------------------------------------------------------*/
void InitSystem()
{
// union REGS r ;
// struct SREGS sr ;
// void far *fh ;
/*----- Install New Protected Vector 24 --------*/
// r.x.eax = 0x2524 ;/* Function 25h for int 24 */
// fh = (void far*)NewInt24 ;/* Get far Pointer */
// r.x.edx = FP_OFF( fh ) ;/* Get Offset */
// sr.ds = FP_SEG( fh ) ;/* Get Segment */
// sr.es = 0 ;/* Security ( ... ) */
// int386x( 0x21, &r, &r, &sr ) ;/* Invoke DOS 21h */
}
/*--------------------------------------------------------------------------*/
void ClearSystem()
{
// Inutile de restorer l'int 24h
}
/*--------------------------------------------------------------------------*/