blob: a72afd84315067ec4465ed7806c21630a0688e8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "fossil.h"
#include <dos.h>
#include <stdlib.h>
void Boot(unsigned char function)
{
union REGS regs;
regs.h.ah = 0x17;
regs.h.al = (unsigned char) function;
regs.x.dx = (unsigned char) port;
int86(FOSSIL_INT, ®s, ®s);
return;
}
|