source: buchla-68k/misc/proto.c@ 6a37d5b

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

Prefer signed integers in assembly prototypes.

  • Property mode set to 100644
File size: 3.8 KB
RevLine 
[b28a12e]1#include "ram.h"
[39a696b]2
[b28a12e]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;
[6262b5c]36
[f7c91fc]37// ---------- vvv ---------- wdfield.c
38
[b28a12e]39#if 0
40
[f7c91fc]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
[6262b5c]77int16_t wdnfld(int16_t k)
[f7c91fc]78{
79}
80
81void wdxkey(void)
82{
83}
84
85void wdfield(void)
86{
87}
[b28a12e]88
89#endif
[f7c91fc]90
91// ---------- ^^^ ---------- wdfield.c
92
[7258c6a]93void clrvce(int16_t vce)
[f7c91fc]94{
95}
96
[7258c6a]97void execins(int16_t vce, int16_t ins, int16_t tag)
[f7c91fc]98{
99}
100
[7258c6a]101void execkey(int16_t trg, int16_t pch, int16_t vce, int16_t tag)
[f7c91fc]102{
103}
104
105void fpuclr(void)
106{
107}
108
109void fpuint(void)
110{
111}
112
[7258c6a]113uint16_t fromfpu(uint16_t fputime)
[f7c91fc]114{
[46d8069]115 return 0;
[f7c91fc]116}
117
118void halt(void)
119{
120}
121
[6a37d5b]122void GLCplot(int16_t x, int16_t y, int16_t val)
[f7c91fc]123{
124}
125
126void hdvini(void)
127{
128}
129
130void jumpto(void *addr)
131{
132}
133
[7258c6a]134void longjmp(struct JMP_BUF *env, int16_t val)
[f7c91fc]135{
136}
137
138void Lo_RAM(void)
139{
140}
141
[6a37d5b]142void objclr(int16_t obj)
[f7c91fc]143{
144}
145
[6a37d5b]146void objoff(int16_t obj, int16_t line, int16_t num)
[f7c91fc]147{
148}
149
[6a37d5b]150void objon(int16_t obj, int16_t line, int16_t num)
[f7c91fc]151{
152}
153
154void panic(void)
155{
156}
157
[6a37d5b]158void procpfl(int16_t trig)
[f7c91fc]159{
160}
161
[7258c6a]162void _ptcl12(uint16_t *fat, uint16_t cl, uint16_t val)
[f7c91fc]163{
164}
165
[7258c6a]166int32_t rand24(void)
[f7c91fc]167{
[46d8069]168 return 0;
[f7c91fc]169}
170
171void rjumpto(void *addr)
172{
173}
174
[7258c6a]175void se_disp(struct s_entry *ep, int16_t sd, struct gdsel *gdstb[], int16_t cf)
[f7c91fc]176{
177}
178
[7258c6a]179struct s_entry *se_exec(struct s_entry *ep, int16_t sd)
[f7c91fc]180{
[46d8069]181 return 0;
[f7c91fc]182}
183
[6a37d5b]184int16_t setipl(int16_t arg)
[f7c91fc]185{
186 return 0;
187}
188
[7258c6a]189int16_t setjmp(struct JMP_BUF *env)
[f7c91fc]190{
[46d8069]191 return 0;
[f7c91fc]192}
193
194void setsio(void)
195{
196}
197
[7258c6a]198uint16_t setsr(uint16_t sr)
[f7c91fc]199{
[46d8069]200 return 0;
[f7c91fc]201}
202
203void sjumpto(void *addr, void *stack)
204{
205}
206
207void sreset(void)
208{
209}
210
[7258c6a]211uint16_t tofpu(uint16_t time)
[f7c91fc]212{
[46d8069]213 return 0;
[f7c91fc]214}
215
[7258c6a]216int32_t trap13(int16_t fun, ...)
[f7c91fc]217{
218 return 0;
219}
220
[7258c6a]221int32_t trap14(int16_t fun, ...)
[f7c91fc]222{
223 return 0;
224}
225
226void trap15(void)
227{
228}
229
230void tsetup(void)
231{
232}
233
[d21fc6f]234void tsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
[f7c91fc]235{
236}
237
[7258c6a]238int32_t uldiv(int32_t divid, int32_t divis)
[f7c91fc]239{
[f4fbee9]240 return 0;
[f7c91fc]241}
242
[6a37d5b]243void vbank(int16_t b)
[f7c91fc]244{
245}
246
[6a37d5b]247void vclrav(uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len)
[f7c91fc]248{
249}
250
[d21fc6f]251void vcputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
[f7c91fc]252{
253}
254
[d21fc6f]255void vcputsv(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch)
[f7c91fc]256{
257}
258
259void vfwait(void)
260{
261}
262
263void VIint(void)
264{
265}
266
[6a37d5b]267void vputa(uint16_t *obase, int16_t row, int16_t col, uint16_t attr)
[f7c91fc]268{
269}
270
[6a37d5b]271void vputc(uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr)
[f7c91fc]272{
273}
274
[6a37d5b]275void vputcv(uint16_t *obase, int16_t row, int16_t col, int16_t c, uint16_t attr, int16_t cols)
[f7c91fc]276{
277}
278
[7258c6a]279void vputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val)
[f7c91fc]280{
281}
282
[6a37d5b]283void vsetav(uint16_t *obase, int16_t row, int16_t col, uint16_t attr, int16_t len)
[f7c91fc]284{
285}
286
[6a37d5b]287void vsetcv(uint16_t *obase, int16_t row, int16_t col, uint16_t fgbg, int16_t len)
[f7c91fc]288{
289}
290
[6a37d5b]291void vsplot4(uint16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str,
292 int16_t pitch, int16_t ht, int16_t cgtab[][256])
[f7c91fc]293{
294}
295
[6a37d5b]296void vvputsv(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col,
297 int8_t *str, int16_t pitch, int16_t ht, int16_t cgtab[][256])
[f7c91fc]298{
299}
300
[7258c6a]301void vwputp(struct octent *octad, int16_t xloc, int16_t yloc, int16_t val)
[f7c91fc]302{
303}
304
[d21fc6f]305void vwputs(uint16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str)
[f7c91fc]306{
307}
308
309void xtrap15(void)
310{
311}
Note: See TracBrowser for help on using the repository browser.