blob: bbcde9d3f3609a873fc04bdc8e174d74fe9856ae (
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 Break(unsigned char function)
{
union REGS regs;
regs.h.ah = 0x1A;
regs.h.al = function;
regs.x.dx = (unsigned char) port;
int86(FOSSIL_INT, ®s, ®s);
return;
}
|