mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
90c38ed200
a group of dos emulator developers. Submitted by: Jonathan Lemon <jlemon@americantv.com> Obtained from: BSDI
35 lines
536 B
C
35 lines
536 B
C
/*
|
|
** No copyright!
|
|
**
|
|
** $Id: net.c,v 1.3 1996/09/22 15:42:58 miff Exp $
|
|
**
|
|
** NetBIOS etc. hooks.
|
|
*/
|
|
#include "doscmd.h"
|
|
|
|
static void
|
|
int2a(regcontext_t *REGS)
|
|
{
|
|
unknown_int2(0x2a, R_AH, REGS);
|
|
}
|
|
|
|
static void
|
|
int5c(regcontext_t *REGS)
|
|
{
|
|
unknown_int2(0x5c, R_AH, REGS);
|
|
}
|
|
|
|
void
|
|
net_init(void)
|
|
{
|
|
u_long vec;
|
|
|
|
vec = insert_softint_trampoline();
|
|
ivec[0x2a] = vec;
|
|
register_callback(vec, int2a, "int 2a");
|
|
|
|
vec = insert_softint_trampoline();
|
|
ivec[0x5c] = vec;
|
|
register_callback(vec, int5c, "int 5c");
|
|
}
|