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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [go32/] [bdosptr.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
#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.