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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [dos.h] - Blame information for rev 1778

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

Line No. Rev Author Line
1 199 simons
 
2
#ifndef __DOS_H
3
#define __DOS_H
4
#include <features.h>
5
 
6
union REGS
7
{
8
   struct { unsigned int ax, bx, cx, dx, si, di, cflag; } x;
9
   struct { unsigned char al, ah, bl, bh, cl, ch, dl, dh; } h;
10
};
11
 
12
struct SREGS
13
{
14
   unsigned int es, cs, ss, ds;
15
};
16
 
17
#ifdef __MSDOS__
18
extern unsigned int __envseg;
19
extern unsigned int __psp;
20
char * __fconv __P((char * fname));
21
 
22
unsigned int __segalloc __P((unsigned int paracount));
23
void         __setvect __P((int i, long j));
24
long         __getvect __P((int vecno));
25
#endif
26
 
27
unsigned int __get_ds  __P((void));
28
unsigned int __get_es  __P((void));
29
void         __set_es  __P((unsigned int seg));
30
int          __peek_es __P((unsigned int off));
31
int          __deek_es __P((unsigned int off));
32
 
33
#define movedata __movedata
34
 
35
#endif
36
 

powered by: WebSVN 2.1.0

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