home *** CD-ROM | disk | FTP | other *** search
- *** 1.14 1992/01/14 19:33:03
- --- Changelog 1992/01/29 19:05:34
- ***************
- *** 254,256 ****
- --- 254,264 ----
- significant contributions, and lively discussions and comments.
-
- ------------------------------- Patchlevel 20------------------------
- +
- + vsin_mode, vq_color:: andreas
- + these functions return useful things (source: ATARI ST Profibuch, Sybex).
- +
- + gemfast.h, aesbind.h, vdibind.h:: andreas
- + fix protos, and some types.
- +
- + ------------------------------- Patchlevel 21------------------------
- *** 1.12 1991/09/24 17:16:49
- --- PatchLev.h 1992/01/29 19:05:35
- ***************
- *** 1,4 ****
- ! #define PatchLevel "19"
-
- /*
- * the Patch Level above is to identify the version
- --- 1,4 ----
- ! #define PatchLevel "21"
-
- /*
- * the Patch Level above is to identify the version
- *** 1.9 1991/07/23 22:28:02
- --- aesbind.h 1992/01/29 19:05:36
- ***************
- *** 125,132 ****
- char *Command, char *Tail));
- __EXTERN int shel_find __PROTO((char *buf));
- __EXTERN int shel_envrn __PROTO((char *result, char *param));
- ! __EXTERN int shel_get __PROTO((char *Buf, int *Len));
- ! __EXTERN int shel_put __PROTO((char *Buf, int *Len));
-
- __EXTERN int wind_create __PROTO((int Parts, int Wx, int Wy, int Ww,
- int Wh));
- --- 125,132 ----
- char *Command, char *Tail));
- __EXTERN int shel_find __PROTO((char *buf));
- __EXTERN int shel_envrn __PROTO((char *result, char *param));
- ! __EXTERN int shel_get __PROTO((char *Buf, int Len));
- ! __EXTERN int shel_put __PROTO((char *Buf, int Len));
-
- __EXTERN int wind_create __PROTO((int Parts, int Wx, int Wy, int Ww,
- int Wh));
- *** 1.9 1991/07/23 22:28:02
- --- gemfast.h 1992/01/29 19:05:38
- ***************
- *** 465,479 ****
- typedef struct rshdr
- {
- short rsh_vrsn;
- ! short rsh_object;
- ! short rsh_tedinfo;
- ! short rsh_iconblk; /* list of ICONBLKS */
- ! short rsh_bitblk;
- ! short rsh_frstr;
- ! short rsh_string;
- ! short rsh_imdata; /* image data */
- ! short rsh_frimg;
- ! short rsh_trindex;
- short rsh_nobs; /* counts of various structs */
- short rsh_ntree;
- short rsh_nted;
- --- 465,479 ----
- typedef struct rshdr
- {
- short rsh_vrsn;
- ! unsigned short rsh_object;
- ! unsigned short rsh_tedinfo;
- ! unsigned short rsh_iconblk; /* list of ICONBLKS */
- ! unsigned short rsh_bitblk;
- ! unsigned short rsh_frstr;
- ! unsigned short rsh_string;
- ! unsigned short rsh_imdata; /* image data */
- ! unsigned short rsh_frimg;
- ! unsigned short rsh_trindex;
- short rsh_nobs; /* counts of various structs */
- short rsh_ntree;
- short rsh_nted;
- ***************
- *** 481,487 ****
- short rsh_nbb;
- short rsh_nstring;
- short rsh_nimages;
- ! short rsh_rssize; /* total bytes in resource */
- } RSHDR;
-
- #define DESKTOP_HANDLE 0
- --- 481,487 ----
- short rsh_nbb;
- short rsh_nstring;
- short rsh_nimages;
- ! unsigned short rsh_rssize; /* total bytes in resource */
- } RSHDR;
-
- #define DESKTOP_HANDLE 0
- *** 1.9 1992/01/14 19:33:03
- --- vdibind.h 1992/01/29 19:05:39
- ***************
- *** 70,76 ****
- __EXTERN void v_justified __PROTO((int handle, int x, int y, char *str,
- int len, int word_space, int char_space));
-
- ! __EXTERN void vsin_mode __PROTO((int handle, int dev, int mode));
- __EXTERN void vrq_locator __PROTO((int handle, int x, int y, int *xout,
- int *yout, int *term));
- __EXTERN int vsm_locator __PROTO((int handle, int x, int y, int *xout,
- --- 70,76 ----
- __EXTERN void v_justified __PROTO((int handle, int x, int y, char *str,
- int len, int word_space, int char_space));
-
- ! __EXTERN int vsin_mode __PROTO((int handle, int dev, int mode));
- __EXTERN void vrq_locator __PROTO((int handle, int x, int y, int *xout,
- int *yout, int *term));
- __EXTERN int vsm_locator __PROTO((int handle, int x, int y, int *xout,
- ***************
- *** 98,104 ****
-
-
- __EXTERN void vq_extnd __PROTO((int handle, int flag, int work_out[]));
- ! __EXTERN void vq_color __PROTO((int handle, int index, int flag, int rgb[]));
- __EXTERN void vql_attribute __PROTO((int handle, int atrib[]));
- __EXTERN void vqm_attributes __PROTO((int handle, int atrib[]));
- __EXTERN void vqf_attributes __PROTO((int handle, int atrib[]));
- --- 98,104 ----
-
-
- __EXTERN void vq_extnd __PROTO((int handle, int flag, int work_out[]));
- ! __EXTERN int vq_color __PROTO((int handle, int index, int flag, int rgb[]));
- __EXTERN void vql_attribute __PROTO((int handle, int atrib[]));
- __EXTERN void vqm_attributes __PROTO((int handle, int atrib[]));
- __EXTERN void vqf_attributes __PROTO((int handle, int atrib[]));
- *** 1.6 1991/09/06 02:10:31
- --- vdiinp.c 1992/01/29 19:05:41
- ***************
- *** 53,66 ****
- #ifdef L_vsin_mod
-
- /* vsin_mode set input mode
- ! * returns void
- */
- ! void vsin_mode(int handle, int dev, int mode)
- {
- _intin[0] = dev;
- _intin[1] = mode;
-
- __vdi__(VDI_CONTRL_ENCODE(33, 0, 2, 0), handle);
- }
- #endif /* L_vsin_mod */
-
- --- 53,68 ----
- #ifdef L_vsin_mod
-
- /* vsin_mode set input mode
- ! * returns input mode
- */
- ! int vsin_mode(int handle, int dev, int mode)
- {
- _intin[0] = dev;
- _intin[1] = mode;
-
- __vdi__(VDI_CONTRL_ENCODE(33, 0, 2, 0), handle);
- +
- + return (int)_intout[0];
- }
- #endif /* L_vsin_mod */
-
- *** 1.8 1991/09/24 17:16:49
- --- vdiinq.c 1992/01/29 19:05:41
- ***************
- *** 88,96 ****
- #ifdef L_vq_color
-
- /* vq_color inquire color rep.
- ! * returns void (results in args)
- */
- ! void vq_color(int handle, int index, int flag, int rgb[])
- {
- short *wptr;
-
- --- 88,96 ----
- #ifdef L_vq_color
-
- /* vq_color inquire color rep.
- ! * returns index or -1 if index out of range
- */
- ! int vq_color(int handle, int index, int flag, int rgb[])
- {
- short *wptr;
-
- ***************
- *** 103,108 ****
- --- 103,110 ----
- *rgb++ = *wptr++;
- *rgb++ = *wptr++;
- *rgb = *wptr;
- +
- + return (int)_intout[0];
- }
- #endif /* L_vq_color */
-
- *** 1.5 1992/01/14 19:33:03
- --- vdiqgdos.c 1992/01/29 19:05:41
- ***************
- *** 39,44 ****
- --- 39,45 ----
- trap #2
- cmpw #-2,d0
- sne d0
- + extw d0
- extl d0"
- : "=r"(retvalue) /* output */
- : /* no input */
-