3 dummy header file for X680x0 compatible
5 Made by Studio Breeze. 1998
10 #define _X68_DOSLIB_H_
14 #ifndef __dosmode_t_defined__
15 #define __dosmode_t_defined__
16 typedef int dosmode_t;
20 unsigned char searchatr; /* attributes for searching files */
21 unsigned char driveno; /* drive number */
22 unsigned short dircls; /* claster number */
23 unsigned short dirfat; /* FAT number of file */
24 unsigned short dirsec; /* sector number of directory */
25 unsigned short dirpos; /* position in directory */
26 char filename[8]; /* filename of file */
27 char ext[3]; /* extension of file */
28 unsigned char atr; /* attributes of file */
29 unsigned short time; /* time of file */
30 unsigned short date; /* date of file */
31 unsigned int filelen; /* length of file */
32 char name[23]; /* long-filename( Human68k format ) */
35 #define X68_FILBUF _x68_filbuf
37 /* defines for upper-cased-name functions */
39 #define COMLINE _comline
40 #define DPBPTR _dpbptr
42 #define FREEINF _freeinf
43 #define INPPTR _inpptr
44 #define INQUIERY _inquiry
45 #define NAMECKBUF _nameckbuf
46 #define NAMESTBUF _namestbuf
47 #define PRCCTRL _prcctrl
48 #define PRCPTR _prcptr
49 #define READCAP _readcap
51 #define ALLCLOSE _dos_allclose
52 #define BINDNO _dos_bindno
53 #define BREAKCK _dos_breakck
54 #define BUS_ERR _dos_memcpy
55 #define CHANGE_PR _dos_change_pr
56 #define CHDIR _dos_chdir
57 #define CHGDRV _dos_chgdrv
58 #define CHMOD _dos_chmod
59 #define CINSNS _dos_cinsns
60 #define CLOSE _dos_close
61 #define COMINP _dos_cominp
62 #define COMMON_CK _dos_common_ck
63 #define COMMON_DEL _dos_common_del
64 #define COMMON_FRE _dos_common_fre
65 #define COMMON_LK _dos_common_lk
66 #define COMMON_RD _dos_common_rd
67 #define COMMON_WT _dos_common_wt
68 #define COMOUT _dos_comout
69 #define CONSNS _dos_consns
70 #define COUTSNS _dos_coutsns
71 #define CREATE _dos_create
72 #define CTLABORT _dos_ctlabort
73 #define CURDIR _dos_curdir
74 #define CURDRV _dos_curdrv
75 #define C_CLS_AL _dos_c_cls_al
76 #define C_CLS_ED _dos_c_cls_ed
77 #define C_CLS_ST _dos_c_cls_st
78 #define C_COLOR _dos_c_color
79 #define C_CUROFF _dos_c_curoff
80 #define C_CURON _dos_c_curon
81 #define C_DEL _dos_c_del
82 #define C_DOWN _dos_c_down
83 #define C_DOWN_S _dos_c_down_s
84 #define C_ERA_AL _dos_c_era_al
85 #define C_ERA_ED _dos_c_era_ed
86 #define C_ERA_ST _dos_c_era_st
87 #define C_FNKMOD _dos_c_fnkmod
88 #define C_INS _dos_c_ins
89 #define C_LEFT _dos_c_left
90 #define C_LOCATE _dos_c_locate
91 #define C_PRINT _dos_c_print
92 #define C_PUTC _dos_c_putc
93 #define C_RIGHT _dos_c_right
94 #define C_UP _dos_c_up
95 #define C_UP_S _dos_c_up_s
96 #define C_WIDTH _dos_c_width
97 #define C_WINDOW _dos_c_window
98 #define DELETE _dos_delete
99 #define DISKRED _dos_diskred
100 #define DISKRED2 _dos_diskred2
101 #define DISKWRT _dos_diskwrt
102 #define DISKWRT2 _dos_diskwrt2
103 #define DRVCTRL _dos_drvctrl
104 #define DRVXCHG _dos_drvxchg
105 #define DSKFRE _dos_dskfre
107 #define DUP0 _dos_dup0
108 #define DUP2 _dos_dup2
109 #define ERRABORT _dos_errabort
110 #define EXEC2 _dos_exec2
111 #define EXECONLY _dos_execonly
112 #define EXIT _dos_exit
113 #define EXIT2 _dos_exit2
114 #define FATCHK _dos_fatchk
115 #define FATCHK2 _dos_fatchk2
116 #define FFLUSH _dos_fflush
117 #define FGETC _dos_fgetc
118 #define FGETS _dos_fgets
119 #define FILEDATE _dos_filedate
120 #define FNCKEYGT _dos_fnckeygt
121 #define FNCKEYST _dos_fnckeyst
122 #define FPUTC _dos_fputc
123 #define FPUTS _dos_fputs
124 #define GETASSIGN _dos_getassign
125 #define GETC _dos_getc
126 #define GETCHAR _dos_getchar
127 #define GETDATE _dos_getdate
128 #define GETDPB _dos_getdpb
129 #define GETENV _dos_getenv
130 #define GETFCB _dos_getfcb
131 #define GETS _dos_gets
132 #define GETSS _dos_getss
133 #define GETTIM2 _dos_gettim2
134 #define GETTIME _dos_gettime
135 #define GET_FCB_ADR _dos_getfcb
136 #define GET_PR _dos_get_pr
137 #define HENDSPIC _dos_hendspic
138 #define HENDSPIO _dos_hendspio
139 #define HENDSPIP _dos_hendspip
140 #define HENDSPIR _dos_hendspir
141 #define HENDSPMC _dos_hendspmc
142 #define HENDSPMO _dos_hendspmo
143 #define HENDSPMP _dos_hendspmp
144 #define HENDSPMR _dos_hendspmr
145 #define HENDSPSC _dos_hendspsc
146 #define HENDSPSO _dos_hendspso
147 #define HENDSPSP _dos_hendspsp
148 #define HENDSPSR _dos_hendspsr
149 #define INDOSFLG _dos_indosflg
150 #define INKEY _dos_inkey
151 #define INPOUT _dos_inpout
152 #define INTVCG _dos_intvcg
153 #define INTVCS _dos_intvcs
154 #define IOCTRLDVCTL _dos_ioctrldvctl
155 #define IOCTRLDVGT _dos_ioctrldvgt
156 #define IOCTRLFDCTL _dos_ioctrlfdctl
157 #define IOCTRLFDGT _dos_ioctrlfdgt
158 #define IOCTRLGT _dos_ioctrlgt
159 #define IOCTRLIS _dos_ioctrlis
160 #define IOCTRLOS _dos_ioctrlos
161 #define IOCTRLRD _dos_ioctrlrd
162 #define IOCTRLRH _dos_ioctrlrh
163 #define IOCTRLRTSET _dos_ioctrlrtset
164 #define IOCTRLST _dos_ioctrlst
165 #define IOCTRLWD _dos_ioctrlwd
166 #define IOCTRLWH _dos_ioctrlwh
167 #define KEEPPR _dos_keeppr
168 #define KEYSNS _dos_keysns
169 #define KFLUSHGC _dos_kflushgc
170 #define KFLUSHGP _dos_kflushgp
171 #define KFLUSHGS _dos_kflushgs
172 #define KFLUSHIN _dos_kflushin
173 #define KFLUSHIO _dos_kflushio
174 #define KILL_PR _dos_kill_pr
175 #define K_INSMOD _dos_k_insmod
176 #define K_KEYBIT _dos_k_keybit
177 #define K_KEYINP _dos_k_keyinp
178 #define K_KEYSNS _dos_k_keysns
179 #define K_SFTSNS _dos_k_sftsns
180 #define LOAD _dos_load
181 #define LOADEXEC _dos_loadexec
182 #define LOADONLY _dos_loadonly
183 #define LOCK _dos_lock
184 #define MAKEASSIGN _dos_makeassign
185 #define MAKETMP _dos_maketmp
186 #define MALLOC _dos_malloc
187 #define MALLOC2 _dos_malloc2
188 #define MEMCPY _dos_memcpy
189 #define MFREE _dos_mfree
190 #define MKDIR _dos_mkdir
191 #define MOVE _dos_move
192 #define NAMECK _dos_nameck
193 #define NAMESTS _dos_namests
194 #define NEWFILE _dos_newfile
195 #define OPEN _dos_open
196 #define OPEN_PR _dos_open_pr
197 #define PATHCHK _dos_pathchk
198 #define PRINT _dos_print
199 #define PRNOUT _dos_prnout
200 #define PRNSNS _dos_prnsns
201 #define PUTCHAR _dos_putchar
202 #define RASSIGN _dos_rassign
203 #define READ _dos_read
204 #define RENAME _dos_rename
205 #define RETSHELL _dos_retshell
206 #define RMDIR _dos_rmdir
207 #define SEEK _dos_seek
208 #define SEND_PR _dos_send_pr
209 #define SETBLOCK _dos_setblock
210 #define SETDATE _dos_setdate
211 #define SETENV _dos_setenv
212 #define SETTIM2 _dos_settim2
213 #define SETTIME _dos_settime
214 #define SLEEP_PR _dos_sleep_pr
215 #define SUPER _dos_super
216 #define SUPER_JSR _dos_super_jsr
217 #define SUSPEND_PR _dos_suspend_pr
218 #define S_MALLOC _dos_s_malloc
219 #define S_MFREE _dos_s_mfree
220 #define S_PROCESS _dos_s_process
221 #define TIME_PR _dos_time_pr
222 #define UNLOCK _dos_unlock
223 #define VERIFY _dos_verify
224 #define VERIFYG _dos_verifyg
225 #define VERNUM _dos_vernum
226 #define WAIT _dos_wait
227 #define WRITE _dos_write
229 #define FILES(a,b,c) _dos_files ((struct _x68_filbuf *) (a), (b), (c))
230 #define NFILES(a) _dos_nfiles ((struct _x68_filbuf *) (a))
234 dosmode_t _dos_chmod( const char *, dosmode_t );
235 void *_dos_malloc( int );
236 int _dos_c_cls_al( void );
237 int _dos_c_cls_ed( void );
238 int _dos_c_curoff( void );
239 int _dos_c_curon( void );
240 int _dos_c_fnkmod( int );
241 int _dos_c_window( int, int );
242 int _dos_chdir( const char * );
243 int _dos_curdir(int, char * );
244 int _dos_curdrv( void );
245 int _dos_delete( const char *);
246 int _dos_drvctrl( int, int );
247 int _dos_files( struct _x68_filbuf *, const char *, int );
248 int _dos_fnckeygt( int, char * );
249 int _dos_fnckeyst( int, const char * );
250 int _dos_inpout( int );
251 int _dos_nfines( struct _x68_filbuf * ) ;
252 int _dos_rename( const char *, const char * );
253 int _dos_setblock( void *, int );
254 int _dos_super( int );
258 #endif /* _X68_DOSLIB_H_ */