Files
Digital-Research-Source-Code/CPM OPERATING SYSTEMS/CPM 68K/1.0X SOURCES/v102a/include/order.h
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

74 lines
1.0 KiB
C

/*
Copyright 1983
Alcyon Corporation
8716 Production Ave.
San Diego, CA 92121
@(#) order.h - Jul 26, 1983 REGULUS 4.1
*/
#ifdef MC68000
struct { char b1; char b2; char b3; char b4; };
struct { char wb1; char wb2; };
union WORDPTR {
long longwd;
struct {
int hiword;
int loword;
} WORDSTR;
};
union BYTEPTR {
short shortwd;
struct {
char hibyte;
char lobyte;
} BYTESTR;
};
#endif
#ifdef VAX11
struct { char b4; char b3; char b2; char b1; };
struct { char wb2; char wb1; };
union WORDPTR {
long longwd;
struct {
short loword;
short hiword;
} WORDSTR;
};
union BYTEPTR {
short shortwd;
struct {
char lobyte;
char hibyte;
} BYTESTR;
};
#endif
#ifdef PDP11
struct { char b2; char b1; char b4; char b3; };
struct { char wb2; char wb1; };
union WORDPTR {
long longwd;
struct {
int hiword;
int loword;
} WORDSTR;
};
union BYTEPTR {
int shortwd;
struct {
char lobyte;
char hibyte;
} BYTESTR;
};
#endif
#define ERROR -1
#define SUCCESS 0