Update of /cvsroot/z88dk/z88dk/include/rex
In directory usw-pr-cvs1:/tmp/cvs-serv30964
Modified Files:
rex.h syscall.h
Added Files:
library.h
Log Message:
dos2unix conversions and importing updated rex library
--- NEW FILE: library.h ---
(This appears to be a binary file; contents omitted.)
Index: rex.h
===================================================================
RCS file: /cvsroot/z88dk/z88dk/include/rex/rex.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** rex.h 27 Jan 2002 15:46:39 -0000 1.8
--- rex.h 10 Apr 2002 20:25:47 -0000 1.9
***************
*** 21,24 ****
--- 21,25 ----
#include <rex/TextInfDB.h>
+
extern int __LIB__ DsPrintf(int, int, int, char*);
***************
*** 26,32 ****
* Graphic routines by Waleed Hasan
*/
! extern int __LIB__ Set4Pixels(int, int, int, int, int); /* helper function */
! extern int __LIB__ DsCircle(int, int, int);
! extern int __LIB__ DsEllipse(int, int, int, int);
/*
--- 27,36 ----
* Graphic routines by Waleed Hasan
*/
! extern int __LIB__ DsClearScreen(void);
! extern int __LIB__ DsFillScreen(int);
! extern int __LIB__ DsGetPixelAddr(int, int, unsigned char*);
! extern int __LIB__ DsSetPixel(int, int);
! extern int __LIB__ DsDisplayCircle(int, int, int);
! extern int __LIB__ DsDisplayEllipse(int, int, int, int);
/*
***************
*** 34,60 ****
*/
! extern unsigned long __LIB__ farcall(int, int,...);
#if !_NOFLOAT_
! extern double __LIB__ farcalld(int,int,...);
#endif
extern int __LIB__ findlib(unsigned char*);
- extern int __LIB__ DsTrace(char*, ... );
-
- #define DsDisplayBitmapDrawFar( arg1, arg2, arg3, arg4, arg5 ) \
- SYSCALL5( DS_DISPLAY_BITMAP_DRAW, arg1,arg2, arg3, arg4, arg5 )
-
-
- #define FindLibrary( arg1 ) findlib( arg1 )
! #undef DsDisplayCircle
! #define DsDisplayCircle( arg1, arg2, arg3 ) DsCircle( arg1, arg2, arg3 )
! #define DsDisplayEllipse( arg1, arg2, arg3, arg4 ) \
! DsEllipse( arg1, arg2, arg3, arg4 )
#endif /* _REX_H_ */
--- 38,57 ----
*/
! extern unsigned long __LIB__ farcall();
!
#if !_NOFLOAT_
! extern double __LIB__ farcalld();
#endif
extern int __LIB__ findlib(unsigned char*);
! extern int __LIB__ DsTrace(char*, ... );
! #define DsDisplayBitmapDrawFar( arg1, arg2, arg3, arg4, arg5 ) SYSCALL5( DS_DISPLAY_BITMAP_DRAW, arg1, arg2, arg3, arg4, arg5 )
+ #define FindLibrary( arg1 ) findlib( arg1 )
#endif /* _REX_H_ */
Index: syscall.h
===================================================================
RCS file: /cvsroot/z88dk/z88dk/include/rex/syscall.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** syscall.h 20 Jan 2002 22:05:33 -0000 1.3
--- syscall.h 10 Apr 2002 20:25:47 -0000 1.4
***************
*** 196,205 ****
--- 196,210 ----
#define DsDisplayPointGet( arg1, arg2 ) SYSCALL2( DS_DISP_POINT_GET, arg1, arg2 )
#define DsDisplayPointSet( arg1, arg2, arg3 ) SYSCALL3( DS_DISP_POINT_SET, arg1, arg2, arg3 )
+
+ #if 0
#define DsDisplayCircle( arg1, arg2, arg3, arg4, arg5 ) SYSCALL5( DS_DISP_CIRCLE, arg1, arg2, arg3, arg4, arg5 )
+ #endif
#define DsDisplayBlockClear( arg1, arg2, arg3, arg4 ) \
SYSCALL4( DS_DISP_BLOCK_CLEAR, arg1, arg2, arg3, arg4 )
+ #if 0
#define DsClearScreen() SYSCALL4( DS_DISP_BLOCK_CLEAR, 0, 0, 240, 120 )
+ #endif
#define DsDisplayBlockReverse( arg1, arg2, arg3, arg4, arg5 ) \