OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [go32/] [bdosptr.c] - Blame information for rev 39

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
#include <errno.h>
2
#include "dos.h"
3
 
4
bdosptr(int func, void *dx, unsigned al)
5
{
6
  union REGS r;
7
  r.x.dx = dx;
8
  r.h.ah = func;
9
  r.h.al = al;
10
  int86(0x21, &r, &r);
11
  return r.x.ax;
12
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.