forked from Macroassembler-AS/asl-releases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bpemu.h
44 lines (31 loc) · 1.28 KB
/
bpemu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _BPEMU_H
#define _BPEMU_H
/* bpemu.h */
/*****************************************************************************/
/* AS-Portierung */
/* */
/* Emulation einiger Borland-Pascal-Funktionen */
/* */
/* Historie: 20. 5.1996 Grundsteinlegung */
/* */
/*****************************************************************************/
typedef void (*charcallback)(
#ifdef __PROTOS__
char *Name
#endif
);
extern char *FExpand(char *Src);
extern char *FSearch(const char *File, char *Path);
extern long FileSize(FILE *file);
extern Byte Lo(Word inp);
extern Byte Hi(Word inp);
extern LongWord HiWord(LongWord Src);
extern Boolean Odd (int inp);
extern Boolean DirScan(char *Mask, charcallback callback);
extern LongInt MyGetFileTime(char *Name);
#ifdef __CYGWIN32__
extern char *DeCygWinDirList(char *pStr);
extern char *DeCygwinPath(char *pStr);
#endif
extern void bpemu_init(void);
#endif /* _BPEMU_H */