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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [dos.h] - Rev 1778

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

 
#ifndef __DOS_H
#define __DOS_H
#include <features.h>
 
union REGS
{
   struct { unsigned int ax, bx, cx, dx, si, di, cflag; } x;
   struct { unsigned char al, ah, bl, bh, cl, ch, dl, dh; } h;
};
 
struct SREGS
{
   unsigned int es, cs, ss, ds;
};
 
#ifdef __MSDOS__
extern unsigned int __envseg;
extern unsigned int __psp;
char * __fconv __P((char * fname));
 
unsigned int __segalloc __P((unsigned int paracount));
void         __setvect __P((int i, long j));
long         __getvect __P((int vecno));
#endif
 
unsigned int __get_ds  __P((void));
unsigned int __get_es  __P((void));
void         __set_es  __P((unsigned int seg));
int          __peek_es __P((unsigned int off));
int          __deek_es __P((unsigned int off));
 
#define movedata __movedata
 
#endif
 
 

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

powered by: WebSVN 2.1.0

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