This file is indexed.

/usr/share/z88dk/include/oz700/ozmisc.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/* 
	HTC Compatibility Library and OZ extras 

	$Id: ozmisc.h,v 1.3 2003/10/27 16:56:56 stefano Exp $
*/

#ifndef _OZMISC_H
#define _OZMISC_H

#ifndef _OZ_BYTE
typedef unsigned char byte;
#define _OZ_BYTE
#endif

#define ozis770() (MODEL770PC==ozdetectmodel())

//void ozsetautorun(byte number);
byte ozgetautorun(void);

byte ozgetmembyte(unsigned page, unsigned offset);

extern __LIB__ ozfarmemcpy(unsigned dest_page,unsigned dest_offset,unsigned src_page,
  unsigned src_offset,unsigned length);

extern __LIB__ ozcopytopage(unsigned dest_page,unsigned dest_offset,byte *src,unsigned length);

extern __LIB__ ozexitto(unsigned key);
extern __LIB__ ozfast(void);
//void ozslow(void);
#define ozslow ozunblankscreen

extern __LIB__ ozkeyclick(void);

extern __LIB__ ozdelay(unsigned d);
//void exit(int ignored_exit_code);
extern byte __LIB__ ozportin(byte port);
extern __LIB__ ozportout(byte port, byte value);

extern __LIB__ ozsound(unsigned value);
extern __LIB__ ozquiet(void);
extern __LIB__ ozinitsound(void);



extern unsigned _oz1hz;
extern unsigned _oz64hz_word;
extern unsigned long _oz64hz_dword;



byte __LIB__ ozdetectmodel(void);

#define MODELMASK_MEMORY 1
#define MODELMASK_770	 2
#define MODELMASK_M 	 4
#define MODEL700PC 0
#define MODEL730PC 0
#define MODEL750PC MODELMASK_MEMORY
#define MODEL770PC (MODELMASK_MEMORY | MODELMASK_770)
#define MODEL700M  MODELMASK_M
#define MODEL750M  (MODELMASK_MEMORY | MODELMASK_M)
#define MODEL770M  (MODELMASK_MEMORY | MODELMASK_770 | MODEMASK_M)
					  /* 770M NOT YET EXISTENT OR DETECTED, BUT IF IT IS */
					  /* MADE, THAT WILL BE ITS MODEL NUMBER */

char __LIB__ *ozgetnextfilename(byte mode);
#define FIND_RESET 1
#define FIND_OWNED 2


byte __LIB__ ozgetpowerkeyhandling(void);
extern __LIB__  ozsetpowerkeyhandling(byte state);

extern unsigned __LIB__ ozkeydelay64hz(unsigned len);
extern __LIB__  ozdelay64hz(unsigned length);

extern __LIB__  oz64hztimeron(void);
extern __LIB__  oz64hztimeroff(void);
extern byte __LIB__ ozget64hztimerstate(void);
extern __LIB__  ozinstallmemorywiper(void);

extern byte __LIB__  _ozprogoptions;
extern byte __LIB__  _ozclick_setting;

#define OZ_OPTION_SCROLL_FULL 1
#define OZ_OPTION_NO_SOUND    2
#define OZ_OPTION_KEY_AFTER_BLANK 4

extern byte __LIB__  ozgetstatus(void);
#define OZ_STATUS_CAPSLOCK 2
#define OZ_STATUS_LOCKED 16
#define OZ_STATUS_BACKLIGHT 64
#define OZ_STATUS_BATTERYLOW 128

//#ifndef NULL
//#define NULL ((void*)0)
//#endif

#endif