source: buchla-68k/misc/proto.c@ 3577fe1

Last change on this file since 3577fe1 was 8c8b4e5, checked in by Thomas Lopatic <thomas@…>, 7 years ago

More volatile hardware accesses.

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