home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
drdobbs
/
ddjcompr
/
hstest
/
lib
/
txinter.c
< prev
Wrap
C/C++ Source or Header
|
1990-06-01
|
344b
|
23 lines
/**
*** interface to TX
**/
#include "tx.h"
#include "dos.h"
tx_init()
{
extern main();
void far *p = main;
if (*(long far *)(TX_INT*4))
BIOS(TX_INT,TX_INIT,FP_SEG(p));
}
tx_enable()
{
if (*(long far *)(TX_INT*4))
BIOS(TX_INT,TX_ENABLE);
}
tx_disable()
{
if (*(long far *)(TX_INT*4))
BIOS(TX_INT,TX_DISABLE);
}