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