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