/usr/share/z88dk/include/zxbeta.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 | /*
* Small C+ Library
*
* TRDOS/Beta low level support
*
* Stefano Bodrato - 31/01/2008
*
* $Id: zxbeta.h,v 1.1 2008/02/01 10:36:39 stefano Exp $
*/
#ifndef __ZXBETA_H__
#define __ZXBETA_H__
#include <sys/types.h>
#include <fcntl.h>
#ifndef __ZX_CHANNELS__
#define __ZX_CHANNELS__
struct BASE_CHAN {
// base channel descriptor
u16_t out; /* pointer to the output routine */
u16_t in; /* pointer to the input routine */
u8_t id_char; /* upper (if permanent) or lower "M".. char */
u16_t len; /* length of channel */
};
#endif /*__ZX_CHANNELS__*/
// Returns true if the Beta disk interface is present
extern int __LIB__ zx_betadisk();
// Returns true if the TRDOS is active
extern int __LIB__ trdos_installed();
#endif /* _ZXBETA_H */
|