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