source: buchla-68k/misc/proto.c@ 4a17aeb

Last change on this file since 4a17aeb was b28a12e, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Zero redundant declarations.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1#include "ram.h"
2
3int8_t ac_code;
4int16_t errno;
5int16_t timers[NTIMERS];
6int16_t fp_resv[];
7int8_t VerDate[];
8uint16_t vi_scrl;
9uint16_t vi_sadr;
10
11int8_t end;
12int8_t edata;
13int8_t etext;
14int32_t p_dlen;
15
16int8_t *S1IoRec;
17int8_t *S2IoRec;
18int8_t *M1IoRec;
19int8_t *M2IoRec;
20
21void (*foot1)(int16_t stat);
22void (*foot2)(int16_t stat);
23void (*pulse1)(void);
24void (*pulse2)(void);
25
26int32_t crshrg[16];
27int16_t wzcrsh;
28int16_t *crshpc;
29int16_t *crshsp;
30int16_t *crshus;
31int16_t crshst[16];
32uint16_t crshsr;
33int8_t crshvc[4];
34
35int32_t uldivr;
36
37// ---------- vvv ---------- wdfield.c
38
39#if 0
40
41void updfpu(void)
42{
43}
44
45void wsupd(void)
46{
47}
48
49void whupd(void)
50{
51}
52
53void pntsup(void)
54{
55}
56
57void wdintp(void)
58{
59}
60
61void wdykdn(void)
62{
63}
64
65void wdykup(void)
66{
67}
68
69void wdcyupd(void)
70{
71}
72
73void wdcxupd(void)
74{
75}
76
77int16_t wdnfld(int16_t k)
78{
79}
80
81void wdxkey(void)
82{
83}
84
85void wdfield(void)
86{
87}
88
89#endif
90
91// ---------- ^^^ ---------- wdfield.c
92
93void clrvce(int16_t vce)
94{
95}
96
97void execins(int16_t vce, int16_t ins, int16_t tag)
98{
99}
100
101void execkey(int16_t trg, int16_t pch, int16_t vce, int16_t tag)
102{
103}
104
105void fpuclr(void)
106{
107}
108
109void fpuint(void)
110{
111}
112
113uint16_t fromfpu(uint16_t fputime)
114{
115 return 0;
116}
117
118void halt(void)
119{
120}
121
122void GLCplot(uint16_t x, uint16_t y, uint16_t val)
123{
124}
125
126void hdvini(void)
127{
128}
129
130void jumpto(void *addr)
131{
132}
133
134void longjmp(struct JMP_BUF *env, int16_t val)
135{
136}
137
138void Lo_RAM(void)
139{
140}
141
142void objclr(uint16_t obj)
143{
144}
145
146void objoff(uint16_t obj, uint16_t line, uint16_t num)
147{
148}
149
150void objon(uint16_t obj, uint16_t line, uint16_t num)
151{
152}
153
154void panic(void)
155{
156}
157
158void procpfl(uint16_t trig)
159{
160}
161
162void _ptcl12(uint16_t *fat, uint16_t cl, uint16_t val)
163{
164}
165
166int32_t rand24(void)
167{
168 return 0;
169}
170
171void rjumpto(void *addr)
172{
173}
174
175void se_disp(struct s_entry *ep, int16_t sd, struct gdsel *gdstb[], int16_t cf)
176{
177}
178
179struct s_entry *se_exec(struct s_entry *ep, int16_t sd)
180{
181 return 0;
182}
183
184uint16_t setipl(uint16_t arg)
185{
186 return 0;
187}
188
189int16_t setjmp(struct JMP_BUF *env)
190{
191 return 0;
192}
193
194void setsio(void)
195{
196}
197
198uint16_t setsr(uint16_t sr)
199{
200 return 0;
201}
202
203void sjumpto(void *addr, void *stack)
204{
205}
206
207void sreset(void)
208{
209}
210
211uint16_t tofpu(uint16_t time)
212{
213 return 0;
214}
215
216int32_t trap13(int16_t fun, ...)
217{
218 return 0;
219}
220
221int32_t trap14(int16_t fun, ...)
222{
223 return 0;
224}
225
226void trap15(void)
227{
228}
229
230void tsetup(void)
231{
232}
233
234void tsplot4(int16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
235{
236}
237
238int32_t uldiv(int32_t divid, int32_t divis)
239{
240 return 0;
241}
242
243void vbank(uint16_t b)
244{
245}
246
247void vclrav(uint16_t *adr, uint16_t row, uint16_t col, uint16_t atr, uint16_t len)
248{
249}
250
251void vcputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
252{
253}
254
255void vcputsv(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
256{
257}
258
259void vfwait(void)
260{
261}
262
263void VIint(void)
264{
265}
266
267void vputa(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t attrib)
268{
269}
270
271void vputc(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t c, uint16_t attrib)
272{
273}
274
275void vputcv(uint16_t *adr, uint16_t row, uint16_t col, uint8_t chr, uint16_t atr, uint16_t cols)
276{
277}
278
279void vputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val)
280{
281}
282
283void vsetav(uint16_t *adr, uint16_t row, uint16_t col, uint16_t atr, uint16_t len)
284{
285}
286
287void vsetcv(uint16_t *adr, uint16_t row, uint16_t col, uint16_t cfb, uint16_t len)
288{
289}
290
291void vsplot4(uint16_t *obase, uint16_t nw, uint16_t fg, uint16_t row, uint16_t col, int8_t *str,
292 uint16_t pitch, uint16_t ht, int16_t cgtab[][256])
293{
294}
295
296void vvputsv(uint16_t *obase, uint16_t nw, uint16_t fg, uint16_t bg, uint16_t row, uint16_t col,
297 int8_t *str, uint16_t pitch, uint16_t ht, int16_t cgtab[][256])
298{
299}
300
301void vwputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val)
302{
303}
304
305void vwputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
306{
307}
308
309void xtrap15(void)
310{
311}
Note: See TracBrowser for help on using the repository browser.