summaryrefslogtreecommitdiff
path: root/f_dtr.c
blob: 77b68e2ddaf4e5b5b400b5bb66298ad72ef0a63f (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 F_Dtr(unsigned char chr)
{
        union REGS      regs;

        regs.h.ah = 0x06;       /* function = request status */
        regs.h.al = chr;
        regs.x.dx = (unsigned char) port;
        int86(FOSSIL_INT, &regs, &regs);
        return;
 }