/usr/share/z88dk/include/vz.h is in z88dk-data 1.8.ds1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #ifndef _VZ
#define _VZ
// VZ Specific Library
// 01.2007 aralbrec
/*****************************************************
Video Technology library for small C compiler
Juergen Buchmueller
*****************************************************/
// first CALLER and FASTCALL linkage
extern void __LIB__ __FASTCALL__ vz_bgrd(int n);
extern void __LIB__ vz_brick(void *addr, char byte);
extern void __LIB__ vz_char_draw(int x, int y, int c, char ch);
extern void __LIB__ vz_clrscr(void);
extern void __LIB__ __FASTCALL__ vz_color(int n);
extern int __LIB__ vz_getch(void);
extern void __LIB__ vz_gotoxy(int x, int y);
extern void __LIB__ vz_inch(void);
extern void __LIB__ vz_line(int x1, int y1, int x2, int y2, int c);
extern char __LIB__ *vz_midstr(char *str, int pos);
extern void __LIB__ __FASTCALL__ vz_mode(int n);
extern void __LIB__ vz_plot(int x, int y, int c);
extern void __LIB__ vz_score(void *addr, char byte);
extern void __LIB__ __FASTCALL__ vz_setbase(void *start);
extern void __LIB__ vz_shape(int x, int y, int w, int h, int c, char *data);
extern void __LIB__ vz_sound(int freq, int cycles);
extern void __LIB__ vz_soundcopy(char *dst, char *src, int size, int sound1, int sound2);
// CALLEE linkage for functions with at least two parameters
extern void __LIB__ __CALLEE__ vz_brick_callee(void *addr, char byte);
extern void __LIB__ __CALLEE__ vz_gotoxy_callee(int x, int y);
extern void __LIB__ __CALLEE__ vz_line_callee(int x1, int y1, int x2, int y2, int c);
extern char __LIB__ __CALLEE__ *vz_midstr_callee(char *str, int pos);
extern void __LIB__ __CALLEE__ vz_plot_callee(int x, int y, int c);
extern void __LIB__ __CALLEE__ vz_score_callee(void *addr, char byte);
extern void __LIB__ __CALLEE__ vz_sound_callee(int freq, int cycles);
extern void __LIB__ __CALLEE__ vz_soundcopy_callee(char *dst, char *src, int size, int sound1, int sound2);
// make the CALLEE linkage default, function pointers will use CALLER linkage
#define vz_brick(a,b) vz_brick_callee(a,b)
#define vz_gotoxy(a,b) vz_gotoxy_callee(a,b)
#define vz_line(a,b,c,d,e) vz_line_callee(a,b,c,d,e)
#define vz_midstr(a,b) vz_midstr_callee(a,b)
#define vz_plot(a,b,c) vz_plot_callee(a,b,c)
#define vz_score(a,b) vz_score_callee(a,b)
#define vz_sound(a,b) vz_sound_callee(a,b)
#define vz_soundcopy(a,b,c,d,e) vz_soundcopy_callee(a,b,c,d,e)
#endif
|