home *** CD-ROM | disk | FTP | other *** search
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/PatchLev.h,v
- retrieving revision 1.46
- diff -c -r1.46 PatchLev.h
- *** 1.46 1992/11/08 00:05:00
- --- PatchLev.h 1992/12/28 08:03:06
- ***************
- *** 1,5 ****
-
- ! #define PatchLevel "85"
-
- /*
- *
- --- 1,5 ----
-
- ! #define PatchLevel "86"
-
- /*
- *
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/dirent.h,v
- retrieving revision 1.11
- diff -c -r1.11 dirent.h
- *** 1.11 1992/10/09 20:53:12
- --- dirent.h 1992/12/18 16:44:02
- ***************
- *** 65,70 ****
- --- 65,71 ----
- char *dirname; /* directory of the search (used under
- TOS for rewinddir) */
- struct dirent buf; /* dirent struct for this directory */
- + long handle; /* Dreaddir handle */
- } DIR;
-
- #endif /* __MINT__ */
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/fcntl.h,v
- retrieving revision 1.15
- diff -c -r1.15 fcntl.h
- *** 1.15 1992/06/03 15:23:13
- --- fcntl.h 1992/12/18 16:44:04
- ***************
- *** 36,41 ****
- --- 36,42 ----
- #define O_TRUNC 0x400 /* make file 0 length */
- #define O_EXCL 0x800 /* error if file exists */
- #define O_APPEND 0x1000 /* position at EOF */
- + #define _REALO_APPEND 0x08 /* this is what MiNT uses */
- #ifndef __MINT__
- # define O_PIPE 0x2000 /* serial pipe */
- #endif
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/gemfast.h,v
- retrieving revision 1.12
- diff -c -r1.12 gemfast.h
- *** 1.12 1992/06/03 15:23:13
- --- gemfast.h 1992/12/18 16:44:06
- ***************
- *** 55,60 ****
- --- 55,66 ----
- #define WM_NEWTOP 29
- #define AC_OPEN 40
- #define AC_CLOSE 41
- + /* Xcontrol messages */
- + #define CT_UPDATE 50
- + #define CT_MOVE 51
- + #define CT_NEWTOP 52
- + #define CT_KEY 53
- +
- /* form_dial opcodes */
- #define FMD_START 0
- #define FMD_GROW 1
- ***************
- *** 112,117 ****
- --- 118,145 ----
- #define WF_HSLSIZE 15
- #define WF_VSLSIZE 16
- #define WF_SCREEN 17
- + #define WF_COLOR 18
- + #define WF_DCOLOR 19
- + /* window elements */
- + #define W_BOX 0
- + #define W_TITLE 1
- + #define W_CLOSER 2
- + #define W_NAME 3
- + #define W_FULLER 4
- + #define W_INFO 5
- + #define W_DATA 6
- + #define W_WORK 7
- + #define W_SIZER 8
- + #define W_VBAR 9
- + #define W_UPARROW 10
- + #define W_DNARROW 11
- + #define W_VSLIDE 12
- + #define W_VELEV 13
- + #define W_HBAR 14
- + #define W_LFARROW 15
- + #define W_RTARROW 16
- + #define W_HSLIDE 17
- + #define W_HELEV 18
- /* arrow message */
- #define WA_UPPAGE 0
- #define WA_DNPAGE 1
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/ioctl.h,v
- retrieving revision 1.17
- diff -c -r1.17 ioctl.h
- *** 1.17 1992/10/09 20:53:12
- --- ioctl.h 1992/12/18 16:44:07
- ***************
- *** 86,91 ****
- --- 86,92 ----
- #define TANDEM 0x1000
- #define EVENP 0x4000
- #define ODDP 0x8000
- + #define ANYP (0)
-
- /* Only ones that are likely to be used are here */
- /* ok, but emacs thinks it knows their value */
- ***************
- *** 106,112 ****
- #define B19200 14
- #define B38400 15
-
- - #define ANYP (B300|B1200|B2400|B4800|B9600)
- /* The ones below aren't supported by the kernel, at least not yet */
- #define VTDELAY 0
- #define ALLDELAY 0
- --- 107,112 ----
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/linea.h,v
- retrieving revision 1.13
- diff -c -r1.13 linea.h
- *** 1.13 1992/11/07 00:10:58
- --- linea.h 1992/12/18 16:44:09
- ***************
- *** 1,7 ****
- /*
- * Common include file for C interface to low level Line A calls
- *
- ! * ++jrb bammi@dsrgsun.ces.cwru.edu
- */
-
- #ifndef _LINEA_H
- --- 1,7 ----
- /*
- * Common include file for C interface to low level Line A calls
- *
- ! * ++jrb bammi@cadence.com
- */
-
- #ifndef _LINEA_H
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/mintbind.h,v
- retrieving revision 1.10
- diff -c -r1.10 mintbind.h
- *** 1.10 1992/10/09 20:53:12
- --- mintbind.h 1992/12/18 16:44:11
- ***************
- *** 191,196 ****
- --- 191,197 ----
- # define trap_1_wwlw(n,a,b,c) gemdos(n, a, (long)(b), c)
- # define trap_1_wwww(n,a,b,c) gemdos(n, a, b, c)
- # define trap_1_wwl(n, a, b) gemdos(n, a, (long)(b))
- + # define trap_1_wwwl(n,a,b,c) gemdos(n, a, b, (long)(c))
- #endif /* __LONG_TRAPS__ */
-
- #endif /* __GNUC_INLINE__ */
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/osbind.h,v
- retrieving revision 1.28
- diff -c -r1.28 osbind.h
- *** 1.28 1992/10/09 20:53:12
- --- osbind.h 1992/12/18 16:44:13
- ***************
- *** 469,474 ****
- --- 469,498 ----
- retvalue; \
- })
-
- + #define trap_1_wwwll(n, a, b, c, d) \
- + ({ \
- + register long retvalue __asm__("d0"); \
- + short _a = (short)(a); \
- + short _b = (short)(b); \
- + long _c = (long) (c); \
- + long _d = (long) (d); \
- + \
- + __asm__ volatile \
- + ("\
- + movl %5,sp@-; \
- + movl %4,sp@-; \
- + movw %3,sp@-; \
- + movw %2,sp@-; \
- + movw %1,sp@-; \
- + trap #1; \
- + addw #16,sp " \
- + : "=r"(retvalue) /* outputs */ \
- + : "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs */ \
- + : "d0", "d1", "d2", "a0", "a1", "a2" /* clobbered regs */ \
- + ); \
- + retvalue; \
- + })
- +
- #define trap_13_wl(n, a) \
- ({ \
- register long retvalue __asm__("d0"); \
- ***************
- *** 988,993 ****
- --- 1012,1047 ----
- retvalue; \
- })
-
- + #define trap_14_wlwlw(n, a, b, c, d) \
- + ({ \
- + register long retvalue __asm__("d0"); \
- + long _a = (long) (a); \
- + short _b = (short)(b); \
- + long _c = (long) (c); \
- + short _d = (short)(d); \
- + \
- + __asm__ volatile \
- + ("\
- + movw %4,sp@-; \
- + movl %3,sp@-; \
- + movw %2,sp@-; \
- + movl %1,sp@-; \
- + movw %0,sp@-;" \
- + : /* outputs */ \
- + : "g"(n), "r"(_a), "r"(_b), "r"(_c), "r"(_d) /* inputs */ \
- + ); \
- + \
- + __asm__ volatile \
- + ("\
- + trap #14; \
- + addw #14,sp " \
- + : "=r"(retvalue) /* outputs */ \
- + : /* inputs */ \
- + : "d0", "d1", "d2", "a0", "a1", "a2" /* clobbered regs */ \
- + ); \
- + retvalue; \
- + })
- +
- #else /* __GNUC_INLINE__ */
-
- # ifndef __MSHORT__
- ***************
- *** 1011,1016 ****
- --- 1065,1071 ----
- __EXTERN long trap_1_www __PROTO((short n, short a, short b));
- __EXTERN long trap_1_wll __PROTO((short n, long a, long b));
- __EXTERN long trap_1_wwlll __PROTO((short n, short a, long b, long c, long d));
- + __EXTERN long trap_1_wwwll __PROTO((short n, short a, short b, long c, long d));
- __EXTERN long trap_13_wl __PROTO((short n, long a));
- __EXTERN long trap_13_w __PROTO((short n));
- __EXTERN long trap_13_ww __PROTO((short n, short a));
- ***************
- *** 1032,1037 ****
- --- 1087,1093 ----
- __EXTERN long trap_14_wllww __PROTO((short n, long a, long b, short c, short d));
- __EXTERN long trap_14_wwwwl __PROTO((short n, short a, short b, short c, long d));
- __EXTERN long trap_14_wwwl __PROTO((short n, short a, short b, long c));
- + __EXTERN long trap_14_wlwlw __PROTO((short n, long a, short b, long c, short d));
-
- # else /* __TRAP_X__ */
-
- ***************
- *** 1048,1053 ****
- --- 1104,1110 ----
- #define trap_1_wwll gemdos
- #define trap_1_wlww gemdos
- #define trap_1_wwlll gemdos
- + #define trap_1_wwwll gemdos
-
- #define trap_13_w bios
- #define trap_13_ww bios
- ***************
- *** 1071,1076 ****
- --- 1128,1134 ----
- #define trap_14_wllwwwww xbios
- #define trap_14_wllwwwwlw xbios
- #define trap_14_wllwwwwwlw xbios
- + #define trap_14_wlwlw xbios
-
- # endif /* _TRAP_X_ */
-
- ***************
- *** 1212,1219 ****
- #define Fdatime(timeptr,handle,rwflag) \
- (long)trap_1_wlww((short)(0x57),(long)(timeptr), \
- (short)(handle),(short)(rwflag))
- !
- !
-
- /*
- * BIOS (trap13)
- --- 1270,1278 ----
- #define Fdatime(timeptr,handle,rwflag) \
- (long)trap_1_wlww((short)(0x57),(long)(timeptr), \
- (short)(handle),(short)(rwflag))
- ! #define Flock(handle,mode,start,length) \
- ! (long)trap_1_wwwll((short)(0x5C),(short)(handle), \
- ! (short)(mode),(long)(start),(long)(length))
-
- /*
- * BIOS (trap13)
- ***************
- *** 1340,1345 ****
- --- 1399,1406 ----
- (void)trap_14_w((short)(0x25))
- #define Supexec(funcptr) \
- (long)trap_14_wl((short)(0x26),(long)(funcptr))
- + #define Floprate(drive,rate) \
- + (short)trap_14_www((short)(0x29),(short)(drive),(short)(rate))
- #define Blitmode(flag) \
- (short)trap_14_ww((short)(0x40),(short)(flag))
- /*
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/resource.h,v
- retrieving revision 1.6
- diff -c -r1.6 resource.h
- *** 1.6 1992/06/03 15:23:13
- --- resource.h 1992/12/18 16:44:16
- ***************
- *** 1,9 ****
- #ifndef _RESOURCE_H
- #define _RESOURCE_H
-
- ! #ifndef _COMPILER_H
- ! #include <compiler.h>
- ! #endif
-
- #ifdef __cplusplus
- extern "C" {
- --- 1,7 ----
- #ifndef _RESOURCE_H
- #define _RESOURCE_H
-
- ! #include <time.h>
-
- #ifdef __cplusplus
- extern "C" {
- ***************
- *** 39,45 ****
-
- __EXTERN int setrlimit __PROTO((int mode, struct rlimit *rl));
- __EXTERN int getrlimit __PROTO((int mode, struct rlimit *rl));
- ! __EXTERN int getrusuage __PROTO((int which, struct rusage *r));
-
- #ifdef __cplusplus
- }
- --- 37,43 ----
-
- __EXTERN int setrlimit __PROTO((int mode, struct rlimit *rl));
- __EXTERN int getrlimit __PROTO((int mode, struct rlimit *rl));
- ! __EXTERN int getrusage __PROTO((int which, struct rusage *r));
-
- #ifdef __cplusplus
- }
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/screen.h,v
- retrieving revision 1.4
- diff -c -r1.4 screen.h
- *** 1.4 1992/06/03 15:23:13
- --- screen.h 1992/12/18 16:44:18
- ***************
- *** 7,13 ****
-
- /* Data structures for IOCTL on /dev/screen */
-
- ! #define SCR_NUM_COLORS 16 /* max possible num. of colors */
-
- /* SCR_ALIGN gives a mask telling how the physical screen must be
- aligned (for the SCRSETP ioctl call. A typical use might be
- --- 7,13 ----
-
- /* Data structures for IOCTL on /dev/screen */
-
- ! #define SCR_NUM_COLORS 256 /* max possible num. of colors (even more on Falcon) */
-
- /* SCR_ALIGN gives a mask telling how the physical screen must be
- aligned (for the SCRSETP ioctl call. A typical use might be
- ***************
- *** 45,51 ****
- a total of 512 colors; for it, SCR_RGB_VALUES == 8.
- */
-
- ! #define SCR_RGB_VALUES 8
-
- /* constants for accessing the scr_rgb array */
- #define RED 0
- --- 45,51 ----
- a total of 512 colors; for it, SCR_RGB_VALUES == 8.
- */
-
- ! #define SCR_RGB_VALUES 16
-
- /* constants for accessing the scr_rgb array */
- #define RED 0
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/stdarg.h,v
- retrieving revision 1.8
- diff -c -r1.8 stdarg.h
- *** 1.8 1992/10/09 20:53:12
- --- stdarg.h 1992/12/18 16:44:20
- ***************
- *** 21,33 ****
- (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
-
- #define va_start(AP, LASTARG) \
- ! (AP = ((char *) &(LASTARG) + __va_rounded_size (LASTARG)))
-
- #define va_end(AP)
-
- ! #define va_arg(AP, TYPE) \
- ! (AP += __va_rounded_size (TYPE), \
- ! ((TYPE *) AP)[-1])
-
- #else
-
- --- 21,36 ----
- (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
-
- #define va_start(AP, LASTARG) \
- ! (AP = ((va_list) __builtin_next_arg ()))
-
- #define va_end(AP)
-
- ! /* We cast to void * and then to TYPE * because this avoids
- ! a warning about increasing the alignment requirement. */
- ! #define va_arg(AP, TYPE) \
- ! (AP = (va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
- ! (sizeof(TYPE)<=sizeof(int)? ((TYPE *) (AP))[-1] : \
- ! *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE)))))
-
- #else
-
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/stdio.h,v
- retrieving revision 1.23
- diff -c -r1.23 stdio.h
- *** 1.23 1992/06/03 15:23:13
- --- stdio.h 1992/12/18 16:44:21
- ***************
- *** 24,30 ****
- * CONSTANTS:
- */
-
- ! #define _NFILE (20) /* maximum number of open streams */
- #define FOPEN_MAX _NFILE
- #define FILENAME_MAX (128) /* maximum filename size */
-
- --- 24,30 ----
- * CONSTANTS:
- */
-
- ! #define _NFILE (32) /* maximum number of open streams */
- #define FOPEN_MAX _NFILE
- #define FILENAME_MAX (128) /* maximum filename size */
-
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/unistd.h,v
- retrieving revision 1.13
- diff -c -r1.13 unistd.h
- *** 1.13 1992/10/09 20:53:12
- --- unistd.h 1992/12/18 16:44:23
- ***************
- *** 175,181 ****
- __EXTERN char * setstate __PROTO((char *arg_state));
- __EXTERN long random __PROTO((void));
- __EXTERN void usleep __PROTO((unsigned long));
- ! #endif
-
- #if 0
- /* see pwd.h */
- --- 175,182 ----
- __EXTERN char * setstate __PROTO((char *arg_state));
- __EXTERN long random __PROTO((void));
- __EXTERN void usleep __PROTO((unsigned long));
- !
- ! #endif /* _POSIX_SOURCE */
-
- #if 0
- /* see pwd.h */
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/varargs.h,v
- retrieving revision 1.11
- diff -c -r1.11 varargs.h
- *** 1.11 1992/10/09 20:53:12
- --- varargs.h 1992/12/18 16:44:25
- ***************
- *** 50,58 ****
-
- /* These macros implement traditional (non-ANSI) varargs
- for GNU C. */
-
- #define va_alist __builtin_va_alist
- ! #define va_dcl int __builtin_va_alist;
- #define va_list __VA_LIST__
-
- #define va_start(AP) AP=(char *) &__builtin_va_alist
- --- 50,64 ----
-
- /* These macros implement traditional (non-ANSI) varargs
- for GNU C. */
- + #if __GNUC__ > 1
- + #define __va_ellipsis ...
- + #else
- + #define __va_ellipsis
- + #endif
-
- #define va_alist __builtin_va_alist
- ! /* The ... causes current_function_varargs to be set in cc1. */
- ! #define va_dcl int __builtin_va_alist; __va_ellipsis
- #define va_list __VA_LIST__
-
- #define va_start(AP) AP=(char *) &__builtin_va_alist
- ***************
- *** 61,71 ****
- #define __va_rounded_size(TYPE) \
- (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
-
- ! #define va_arg(AP, TYPE) \
- ! (AP += __va_rounded_size (TYPE), \
- ! ((TYPE *) AP)[-1])
-
- - /* thanks dale! */
-
- #endif /* __GNUC__ */
-
- --- 67,77 ----
- #define __va_rounded_size(TYPE) \
- (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
-
- ! #define va_arg(AP, TYPE) \
- ! (AP = (va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
- ! (sizeof(TYPE)<=sizeof(int)? ((TYPE *) (AP))[-1] : \
- ! *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size (TYPE)))))
-
-
- #endif /* __GNUC__ */
-
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/wait.h,v
- retrieving revision 1.3
- diff -c -r1.3 wait.h
- *** 1.3 1992/06/03 15:23:13
- --- wait.h 1992/12/18 16:44:26
- ***************
- *** 1,6 ****
- --- 1,10 ----
- #ifndef _WAIT_H
- #define _WAIT_H
-
- + #ifndef _COMPILER_H
- + #include <compiler.h>
- + #endif
- +
- #ifdef __cplusplus
- extern "C" {
- #endif
- ***************
- *** 27,33 ****
- /* I don't know if this next one is right or not */
- #define w_status _i
-
- ! #define WSTOPPED 33 /* fake "signal" for stopped processes */
-
- #define WIFSIGNALED(x) ((x)._w.termsig != 0)
- #define WIFSTOPPED(x) ((x)._w.termsig == WSTOPPED)
- --- 31,37 ----
- /* I don't know if this next one is right or not */
- #define w_status _i
-
- ! #define WSTOPPED 0177 /* fake "signal" for stopped processes */
-
- #define WIFSIGNALED(x) ((x)._w.termsig != 0)
- #define WIFSTOPPED(x) ((x)._w.termsig == WSTOPPED)
-