- Timestamp:
- 09/17/2017 05:01:10 PM (7 years ago)
- Branches:
- master
- Children:
- 432327d
- Parents:
- 5c4721b
- Location:
- ram
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/asgdsp.c
r5c4721b r8c8b4e5 238 238 */ 239 239 240 void keycpyw( uint16_t *dest,uint16_t *src, int16_t len, uint16_t wk, uint16_t bk)241 { 242 registeruint16_t wkey, bkey, theword;243 registerint16_t i;240 void keycpyw(volatile uint16_t *dest, volatile uint16_t *src, int16_t len, uint16_t wk, uint16_t bk) 241 { 242 uint16_t wkey, bkey, theword; 243 int16_t i; 244 244 245 245 wkey = exp_c(wk); … … 261 261 void asgkb(void) 262 262 { 263 registeruint16_t *p;264 registeruint16_t akline;265 registerint16_t i, j;263 volatile uint16_t *p; 264 uint16_t akline; 265 int16_t i, j; 266 266 267 267 akline = exp_c(AK_LINE); … … 306 306 void drawk2g(int16_t grp) 307 307 { 308 registerint16_t i;309 registerint16_t n;310 registerint16_t key;311 registerint16_t line;312 registerint8_t *bfsp;313 registeruint16_t *lp;308 int16_t i; 309 int16_t n; 310 int16_t key; 311 int16_t line; 312 int8_t *bfsp; 313 volatile uint16_t *lp; 314 314 315 315 n = 7; /* key to group window */ … … 709 709 void setaux(int16_t aux) 710 710 { 711 register int16_t psgdata;712 registerint8_t *psg;711 uint8_t psgdata; 712 volatile uint8_t *psg; 713 713 714 714 auxctl = aux; -
ram/asgdsp.x
r5c4721b r8c8b4e5 43 43 extern void inital(void); 44 44 extern void initat(int16_t n); 45 extern void keycpyw( uint16_t *dest,uint16_t *src, int16_t len, uint16_t wk, uint16_t bk);45 extern void keycpyw(volatile uint16_t *dest, volatile uint16_t *src, int16_t len, uint16_t wk, uint16_t bk); 46 46 extern int8_t *numblk(int8_t *buf, int16_t n); 47 47 extern void putasg(int16_t n); -
ram/delpnts.c
r5c4721b r8c8b4e5 27 27 int16_t delpnts(void) 28 28 { 29 registerstruct instpnt *pp;30 registerint8_t *pp1, *pp2;31 registerint16_t np, pt1, i, pif, cf;29 struct instpnt *pp; 30 int8_t *pp1, *pp2; 31 int16_t np, pt1, i, pif, cf; 32 32 struct idfnhdr *fp; 33 33 struct instdef *vp; 34 uint16_t *fpu;34 volatile uint16_t *fpu; 35 35 int16_t pt2, nmv, oldi; 36 36 -
ram/dopatch.c
r5c4721b r8c8b4e5 72 72 void pdows(int16_t slot, int16_t voice, int16_t wsn) 73 73 { 74 uint16_t *fpuws;74 volatile uint16_t *fpuws; 75 75 76 76 if (slot) { /* waveshape slot B */ … … 113 113 void pfpufn(uint16_t voice, uint16_t par, uint16_t dat1, uint16_t dat2) 114 114 { 115 registeruint16_t *fpu;115 volatile uint16_t *fpu; 116 116 int16_t delay; 117 117 … … 175 175 void dopatch(struct patch *pp) 176 176 { 177 register uint16_t suba, dat1, dat2; 178 register int16_t i, temp; 179 register int8_t *ser, *iorec; 177 uint16_t suba, dat1, dat2; 178 int16_t i, temp; 179 volatile uint8_t *ser; 180 int8_t *iorec; 180 181 uint16_t chan, oldsr, osc, port, spec, sat,trig, vgr, vgn, vgt; 181 182 int16_t baseled, curled, ledctl; -
ram/etadyn.c
r5c4721b r8c8b4e5 36 36 void setdyn(int16_t grp, int16_t dyn) 37 37 { 38 registerint16_t g, i, val;39 registeruint16_t *fpu;40 registerstruct idfnhdr *fp;38 int16_t g, i, val; 39 volatile uint16_t *fpu; 40 struct idfnhdr *fp; 41 41 uint16_t fpmant, fpexp; 42 42 int16_t oldsr; -
ram/etiwsn.c
r5c4721b r8c8b4e5 35 35 int16_t ef_iwsn(int16_t nn) 36 36 { 37 registerint16_t i, tmpval, m;38 registerint16_t *fpuws;37 int16_t i, tmpval, m; 38 volatile uint16_t *fpuws; 39 39 40 40 m = nn >> 8; -
ram/etloc.c
r5c4721b r8c8b4e5 30 30 void setloc(int16_t grp, int16_t loc) 31 31 { 32 registerint16_t g, i, val;33 registeruint16_t *fpu;34 registerstruct idfnhdr *fp;32 int16_t g, i, val; 33 volatile uint16_t *fpu; 34 struct idfnhdr *fp; 35 35 uint16_t fpmant, fpexp; 36 36 int16_t oldsr; -
ram/etmcfn.c
r5c4721b r8c8b4e5 128 128 int16_t ef_mwsn(int16_t nn) 129 129 { 130 registerint16_t tmpval;131 registerint16_t *fpuws;130 int16_t tmpval; 131 volatile uint16_t *fpuws; 132 132 133 133 wmcsel = (nn & 0xFF00) ? 1 : 0; -
ram/gcurpos.c
r5c4721b r8c8b4e5 190 190 }; 191 191 192 static int16_t *arrows[] = { /* arrow pointer table */192 static volatile uint16_t *arrows[] = { /* arrow pointer table */ 193 193 194 194 v_curs0, /* 0 - upper left, even pixel */ … … 262 262 */ 263 263 264 void andcopy( uint16_t *to,uint16_t *from, uint16_t with, int16_t len)264 void andcopy(volatile uint16_t *to, volatile uint16_t *from, uint16_t with, int16_t len) 265 265 { 266 266 register int16_t i; -
ram/gcurpos.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern void andcopy( uint16_t *to,uint16_t *from, uint16_t with, int16_t len);17 extern void andcopy(volatile uint16_t *to, volatile uint16_t *from, uint16_t with, int16_t len); 18 18 extern void arcurs(uint16_t icolor); 19 19 extern int16_t gcurpos(int16_t xloc, int16_t yloc); -
ram/im700.c
r5c4721b r8c8b4e5 334 334 struct s_entry *seclist[N_SCORES][N_SECTS]; /* Section pointer table */ 335 335 336 uint16_t *asgob; /* assignment display object pointer */337 uint16_t *consl; /* constant slice pointer */338 uint16_t *cursl; /* current (center) slice pointer */339 uint16_t *instob; /* instrument object pointer */340 uint16_t *librob; /* librarian display object pointer */341 uint16_t *menuob; /* menu display object pointer */342 uint16_t *nxtsl; /* next (right edge) slice pointer */343 uint16_t *obj0; /* object 0 VSDD RAM pointer */344 uint16_t *obj1; /* object 1 VSDD RAM pointer */345 uint16_t *obj2; /* object 2 VSDD RAM pointer */346 uint16_t *obj3; /* object 3 VSDD RAM pointer */347 uint16_t *obj4; /* object 4 VSDD RAM pointer */348 uint16_t *obj5; /* object 5 VSDD RAM pointer */349 uint16_t *obj6; /* object 6 VSDD RAM pointer */350 uint16_t *obj7; /* object 7 VSDD RAM pointer */351 uint16_t *obj8; /* object 8 VSDD RAM pointer */352 uint16_t *obj9; /* object 9 VSDD RAM pointer */353 uint16_t *obj10; /* object 10 VSDD RAM pointer */354 uint16_t *obj11; /* object 11 VSDD RAM pointer */355 uint16_t *obj12; /* object 12 VSDD RAM pointer */356 uint16_t *obj13; /* object 13 VSDD RAM pointer */357 uint16_t *obj14; /* object 14 VSDD RAM pointer */358 uint16_t *obj15; /* object 15 VSDD RAM pointer */359 uint16_t *prvsl; /* previous (left edge) slice pointer */360 uint16_t *saddr; /* score VSDD RAM base pointer */361 uint16_t *tunob; /* tuning table display object pointer */362 uint16_t *vtobj; /* virtual typewriter display object pointer */363 uint16_t *waveob; /* waveshape display object pointer */336 volatile uint16_t *asgob; /* assignment display object pointer */ 337 volatile uint16_t *consl; /* constant slice pointer */ 338 volatile uint16_t *cursl; /* current (center) slice pointer */ 339 volatile uint16_t *instob; /* instrument object pointer */ 340 volatile uint16_t *librob; /* librarian display object pointer */ 341 volatile uint16_t *menuob; /* menu display object pointer */ 342 volatile uint16_t *nxtsl; /* next (right edge) slice pointer */ 343 volatile uint16_t *obj0; /* object 0 VSDD RAM pointer */ 344 volatile uint16_t *obj1; /* object 1 VSDD RAM pointer */ 345 volatile uint16_t *obj2; /* object 2 VSDD RAM pointer */ 346 volatile uint16_t *obj3; /* object 3 VSDD RAM pointer */ 347 volatile uint16_t *obj4; /* object 4 VSDD RAM pointer */ 348 volatile uint16_t *obj5; /* object 5 VSDD RAM pointer */ 349 volatile uint16_t *obj6; /* object 6 VSDD RAM pointer */ 350 volatile uint16_t *obj7; /* object 7 VSDD RAM pointer */ 351 volatile uint16_t *obj8; /* object 8 VSDD RAM pointer */ 352 volatile uint16_t *obj9; /* object 9 VSDD RAM pointer */ 353 volatile uint16_t *obj10; /* object 10 VSDD RAM pointer */ 354 volatile uint16_t *obj11; /* object 11 VSDD RAM pointer */ 355 volatile uint16_t *obj12; /* object 12 VSDD RAM pointer */ 356 volatile uint16_t *obj13; /* object 13 VSDD RAM pointer */ 357 volatile uint16_t *obj14; /* object 14 VSDD RAM pointer */ 358 volatile uint16_t *obj15; /* object 15 VSDD RAM pointer */ 359 volatile uint16_t *prvsl; /* previous (left edge) slice pointer */ 360 volatile uint16_t *saddr; /* score VSDD RAM base pointer */ 361 volatile uint16_t *tunob; /* tuning table display object pointer */ 362 volatile uint16_t *vtobj; /* virtual typewriter display object pointer */ 363 volatile uint16_t *waveob; /* waveshape display object pointer */ 364 364 365 365 uint16_t curintp; /* current interpolate time (FPU format) */ … … 580 580 { 581 581 register int16_t i, j, k; 582 registerint8_t *ioadr;582 volatile uint8_t *ioadr; 583 583 register struct instdef *ip; 584 584 -
ram/im700.x
r5c4721b r8c8b4e5 26 26 */ 27 27 28 extern volatile uint16_t *asgob; 29 extern volatile uint16_t *consl; 30 extern volatile uint16_t *cursl; 31 extern volatile uint16_t *instob; 32 extern volatile uint16_t *librob; 33 extern volatile uint16_t *menuob; 34 extern volatile uint16_t *nxtsl; 35 extern volatile uint16_t *obj0; 36 extern volatile uint16_t *obj1; 37 extern volatile uint16_t *obj2; 38 extern volatile uint16_t *obj3; 39 extern volatile uint16_t *obj4; 40 extern volatile uint16_t *obj5; 41 extern volatile uint16_t *obj6; 42 extern volatile uint16_t *obj7; 43 extern volatile uint16_t *obj8; 44 extern volatile uint16_t *obj9; 45 extern volatile uint16_t *obj10; 46 extern volatile uint16_t *obj11; 47 extern volatile uint16_t *obj12; 48 extern volatile uint16_t *obj13; 49 extern volatile uint16_t *obj14; 50 extern volatile uint16_t *obj15; 51 extern volatile uint16_t *prvsl; 52 extern volatile uint16_t *saddr; 53 extern volatile uint16_t *tunob; 54 extern volatile uint16_t *vtobj; 55 extern volatile uint16_t *waveob; 56 28 57 extern int16_t admctl; 29 58 extern int16_t adnamsw; … … 38 67 extern int16_t asghit; 39 68 extern int16_t asgmod; 40 extern uint16_t *asgob;41 69 extern struct asgent asgtab[NASGS]; 42 70 extern int16_t asig; … … 58 86 extern int16_t cmtype; 59 87 extern int16_t cnote; 60 extern uint16_t *consl;61 88 extern int16_t crate0[]; 62 89 extern int16_t crate1[]; … … 78 105 extern int16_t curscor; 79 106 extern int16_t cursect; 80 extern uint16_t *cursl;81 107 extern int16_t curslim; 82 108 extern int16_t curtun; … … 141 167 extern int16_t initcfg; 142 168 extern int16_t insmode; 143 extern uint16_t *instob;144 169 extern int16_t ismode; 145 170 extern int16_t lampio; … … 157 182 extern int16_t ldslot; 158 183 extern int16_t legato; 159 extern uint16_t *librob;160 184 extern struct s_entry *libsp; 161 185 extern int16_t lksel; … … 187 211 extern int16_t mdb2; 188 212 extern struct octent *mdoct; 189 extern uint16_t *menuob;190 213 extern int16_t michan; 191 214 extern int16_t midiclk; … … 207 230 extern int16_t npts; 208 231 extern int16_t nxtflag; 209 extern uint16_t *nxtsl;210 extern uint16_t *obj0;211 extern uint16_t *obj1;212 extern uint16_t *obj10;213 extern uint16_t *obj11;214 extern uint16_t *obj12;215 extern uint16_t *obj13;216 extern uint16_t *obj14;217 extern uint16_t *obj15;218 extern uint16_t *obj2;219 extern uint16_t *obj3;220 extern uint16_t *obj4;221 extern uint16_t *obj5;222 extern uint16_t *obj6;223 extern uint16_t *obj7;224 extern uint16_t *obj8;225 extern uint16_t *obj9;226 232 extern int16_t oldltag; 227 233 extern int16_t oldpk; … … 249 255 extern int16_t pntsv; 250 256 extern int16_t prgchan; 251 extern uint16_t *prvsl;252 257 extern int16_t ps_dpth; 253 258 extern int16_t ps_intn; … … 256 261 extern int16_t recsw; 257 262 extern int16_t runit; 258 extern uint16_t *saddr;259 263 extern int16_t sbase; 260 264 extern int16_t scmctl; … … 335 339 extern int16_t tunlib[NTUNS][128]; 336 340 extern int16_t tunmod; 337 extern uint16_t *tunob;338 341 extern int16_t tunval; 339 342 extern int16_t tvcwval; … … 369 372 extern int16_t vtdecol; 370 373 extern uint16_t vtfgval; 371 extern uint16_t *vtobj;372 374 extern int16_t vtpcol; 373 375 extern int16_t vtprow; … … 376 378 extern int16_t vtxval; 377 379 extern int16_t vtyval; 378 extern uint16_t *waveob;379 380 extern int16_t wcflag; 380 381 extern int16_t wcmcol; -
ram/lcdlbls.c
r5c4721b r8c8b4e5 1162 1162 void newpps(int16_t trg, int16_t grp, int16_t src, int16_t ival) 1163 1163 { 1164 registerstruct sment *smf, *smp;1165 registeruint16_t *fpu;1166 registerint32_t ltmp;1167 registerint16_t val;1168 registerint16_t vce;1164 struct sment *smf, *smp; 1165 volatile uint16_t *fpu; 1166 int32_t ltmp; 1167 int16_t val; 1168 int16_t vce; 1169 1169 int16_t gs, oldi; 1170 1170 … … 1230 1230 int16_t newsv(int16_t grp, int16_t src, int16_t ival) 1231 1231 { 1232 registerstruct sment *smf, *smp;1233 registeruint16_t *fpu;1234 registerint32_t ltmp;1235 registerint16_t val;1236 registerint16_t gs;1237 registerint16_t oldi;1232 struct sment *smf, *smp; 1233 volatile uint16_t *fpu; 1234 int32_t ltmp; 1235 int16_t val; 1236 int16_t gs; 1237 int16_t oldi; 1238 1238 int16_t vmask, var; 1239 1239 … … 1315 1315 void setsv(int16_t grp, int16_t src, int16_t ival) 1316 1316 { 1317 registerstruct sment *smf, *smp;1318 registeruint16_t *fpu;1319 registerint32_t ltmp;1320 registerint16_t val;1321 registerint16_t gs;1322 registerint16_t oldi;1317 struct sment *smf, *smp; 1318 volatile uint16_t *fpu; 1319 int32_t ltmp; 1320 int16_t val; 1321 int16_t gs; 1322 int16_t oldi; 1323 1323 1324 1324 gs = (grp << 4) | src; /* calculate grp/src index */ … … 1416 1416 void l_voice(int16_t stat, int16_t vce) 1417 1417 { 1418 registerint16_t ap, j, par;1419 registeruint16_t *fpu;1418 int16_t ap, j, par; 1419 volatile uint16_t *fpu; 1420 1420 1421 1421 int8_t buf[8]; … … 1541 1541 void l_init(int16_t stat, int16_t _2) 1542 1542 { 1543 registeruint16_t *fpu;1544 registerint16_t barval, i, j;1543 volatile uint16_t *fpu; 1544 int16_t barval, i, j; 1545 1545 1546 1546 (void)_2; … … 1618 1618 void sendart(int16_t vce, int16_t par, int16_t ival) 1619 1619 { 1620 registeruint16_t *fpu;1621 registerint16_t val, oldi, mult;1620 volatile uint16_t *fpu; 1621 int16_t val, oldi, mult; 1622 1622 int16_t nop; 1623 1623 … … 1802 1802 void settune(void) 1803 1803 { 1804 registerint16_t oldi, i, grp;1805 registeruint16_t *fpu;1806 registerint32_t trval, trmax;1804 int16_t oldi, i, grp; 1805 volatile uint16_t *fpu; 1806 int32_t trval, trmax; 1807 1807 int16_t nop; 1808 1808 -
ram/msl.c
r5c4721b r8c8b4e5 54 54 void msl(void) 55 55 { 56 registerint8_t *ioadr;57 registerstruct s_entry *ep;58 registerint16_t i, ti, val;56 volatile uint8_t *ioadr; 57 struct s_entry *ep; 58 int16_t i, ti, val; 59 59 uint16_t chan, crel, oldsr, port, trg, trig, vel; 60 60 int16_t esi, newsig, oldclk, oldrec; -
ram/puteq.c
r5c4721b r8c8b4e5 60 60 void puteq(int8_t byte) 61 61 { 62 registerint16_t i;63 registerint8_t *psg;64 registerint8_t eqdata;62 int16_t i; 63 volatile uint8_t *psg; 64 int8_t eqdata; 65 65 66 66 psg = &io_tone; -
ram/scadv.c
r5c4721b r8c8b4e5 40 40 void sc_adv(void) 41 41 { 42 registerint16_t masksl, maskpx, i;43 registeruint16_t sword;44 registerint32_t tl;45 registeruint16_t *optr, *pptr, *fsl;46 uint16_t *qptr;42 int16_t masksl, maskpx, i; 43 uint16_t sword; 44 int32_t tl; 45 volatile uint16_t *optr, *pptr, *fsl; 46 volatile uint16_t *qptr; 47 47 uint16_t pscrl; 48 48 … … 221 221 void scupd(void) 222 222 { 223 registerint16_t masksl, maskpx, i;224 registeruint16_t sword;225 registerint32_t tl;226 registeruint16_t *optr, *qptr, *fsl;223 int16_t masksl, maskpx, i; 224 uint16_t sword; 225 int32_t tl; 226 volatile uint16_t *optr, *qptr, *fsl; 227 227 int16_t soff; 228 228 -
ram/scope.c
r5c4721b r8c8b4e5 17 17 uint16_t scopev; /* last scope value */ 18 18 19 uint16_t *scopeob; /* scope display object*/19 int8_t scopebf[65]; /* scope display buffer */ 20 20 21 int8_t scopebf[65]; /* scope display buffer*/21 volatile uint16_t *scopeob; /* scope display object */ 22 22 23 23 struct curpak dt_flds = { -
ram/scope.x
r5c4721b r8c8b4e5 21 21 extern int16_t scopec; 22 22 extern int16_t scopef; 23 extern uint16_t *scopeob;24 23 extern int16_t scoper; 25 24 extern uint16_t scopev; 25 26 extern volatile uint16_t *scopeob; 26 27 27 28 /* -
ram/scordsp.c
r5c4721b r8c8b4e5 102 102 void makeln(uint16_t lnc, uint16_t lew) 103 103 { 104 registeruint16_t *lp, *cp;105 registerint16_t i;106 registeruint16_t lbg;104 volatile uint16_t *lp, *cp; 105 int16_t i; 106 uint16_t lbg; 107 107 108 108 lp = obj15; /* setup line object pointer */ -
ram/sendval.c
r5c4721b r8c8b4e5 16 16 void sendval(int16_t voice, int16_t par, int16_t ival) 17 17 { 18 registeruint16_t *fpu;19 registerint16_t oldi, val;20 registerint32_t ltmp;18 volatile uint16_t *fpu; 19 int16_t oldi, val; 20 int32_t ltmp; 21 21 int16_t nop; 22 22 … … 84 84 void clearer(int16_t stat) 85 85 { 86 registeruint16_t *fpu;87 registeruint16_t fpexp, fpmant, fptime;88 registerint16_t oldi, i;86 volatile uint16_t *fpu; 87 uint16_t fpexp, fpmant, fptime; 88 int16_t oldi, i; 89 89 int16_t nop, olds; 90 90 -
ram/smscrl.c
r5c4721b r8c8b4e5 34 34 uint16_t LineAtr; /* attribute for the new line */ 35 35 36 uint16_t *LineBuf;/* current display memory pointer */37 uint16_t *OldLine;/* old display memory pointer */38 uint16_t *ScObAdr;/* display memory base pointer */36 volatile uint16_t *LineBuf; /* current display memory pointer */ 37 volatile uint16_t *OldLine; /* old display memory pointer */ 38 volatile uint16_t *ScObAdr; /* display memory base pointer */ 39 39 40 40 int16_t LineCon = SS_LEN * 3; /* line offset constant */ -
ram/smscrl.x
r5c4721b r8c8b4e5 15 15 */ 16 16 17 extern volatile uint16_t *LineBuf; 18 extern volatile uint16_t *OldLine; 19 extern volatile uint16_t *ScObAdr; 20 17 21 extern int8_t *(*BakLine)(void); 18 22 extern int16_t CurLine; … … 21 25 extern int8_t *(*FwdLine)(void); 22 26 extern uint16_t LineAtr; 23 extern uint16_t *LineBuf;24 27 extern int16_t LineCon; 25 28 extern int16_t LineLen; 26 29 extern int8_t *LinePtr; 27 extern uint16_t *OldLine;28 30 extern int16_t PdScDnF; 29 31 extern int16_t PdScUpF; 30 extern uint16_t *ScObAdr;31 32 extern int16_t ScrlObj; 32 33 extern int16_t SmScLim; -
ram/stcpos.c
r5c4721b r8c8b4e5 143 143 void stcclr(void) 144 144 { 145 registeruint16_t *obj;146 registerint16_t i, j;147 registeruint16_t k;145 volatile uint16_t *obj; 146 int16_t i, j; 147 uint16_t k; 148 148 149 149 if ((v_regs[5] & 0x0180) NE 0x0100) … … 183 183 void stcoff(void) 184 184 { 185 register uint16_t ccv, *tcp; 186 register int16_t tcrow; 185 uint16_t ccv; 186 volatile uint16_t *tcp; 187 int16_t tcrow; 187 188 188 189 tcrow = stcrow ? (stcrow - 16) : 0; /* get old object row */ … … 209 210 void stcpos(int16_t row, int16_t col) 210 211 { 211 registeruint16_t *ccp, *tcp;212 registeruint16_t curson, ccv;213 registerint16_t ncrow, tcrow;212 volatile uint16_t *ccp, *tcp; 213 uint16_t curson, ccv; 214 int16_t ncrow, tcrow; 214 215 215 216 tcrow = stcrow ? (stcrow - 16) : 0; /* get old object row */ -
ram/ucslice.c
r5c4721b r8c8b4e5 27 27 void ucslice(void) 28 28 { 29 register uint16_t *pxptr, *slptr; 30 register struct gdsel *gdsep; 31 register int32_t lc; 32 register uint16_t i, ncolor, mask1, mask2; 29 uint16_t *pxptr; 30 volatile uint16_t *slptr; 31 struct gdsel *gdsep; 32 int32_t lc; 33 uint16_t i, ncolor, mask1, mask2; 33 34 uint16_t *ncptr, *nctabp; 34 35 struct gdsel **gdstp, *gdprv, *gdnxt; -
ram/uslice.c
r5c4721b r8c8b4e5 129 129 */ 130 130 131 int16_t uslice( uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[])131 int16_t uslice(volatile uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[]) 132 132 { 133 register uint16_t *pxptr, *slptr; 134 register struct gdsel *gdsep; 135 register uint16_t i, ncolor, w; 133 uint16_t *pxptr; 134 volatile uint16_t *slptr; 135 struct gdsel *gdsep; 136 uint16_t i, ncolor, w; 136 137 uint16_t *ncptr, *nctabp; 137 138 struct gdsel **gdstp, *gdprv, *gdnxt; … … 425 426 */ 426 427 427 int16_t cslice( uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[])428 int16_t cslice(volatile uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[]) 428 429 { 429 register uint16_t *pxptr, *slptr; 430 register struct gdsel *gdsep; 431 register uint16_t i, ncolor, w; 430 uint16_t *pxptr; 431 volatile uint16_t *slptr; 432 struct gdsel *gdsep; 433 uint16_t i, ncolor, w; 432 434 uint16_t *ncptr; 433 435 struct gdsel **gdstp, *gdprv, *gdnxt; … … 637 639 638 640 { 639 register uint16_t *p1, *p2, *p3, sword;640 uint16_t *p4;641 volatile uint16_t *p1, *p2, *p3, *p4; 642 uint16_t sword; 641 643 642 644 p1 = consl; /* clear slices */ -
ram/uslice.x
r5c4721b r8c8b4e5 30 30 31 31 extern void clrsctl(void); 32 extern int16_t cslice( uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[]);32 extern int16_t cslice(volatile uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[]); 33 33 extern void rslice(struct gdsel *gdstb[]); 34 extern int16_t uslice( uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[]);34 extern int16_t uslice(volatile uint16_t *slice, uint16_t mask1, uint16_t mask2, struct gdsel *gdstb[]); -
ram/vtyper.c
r5c4721b r8c8b4e5 37 37 */ 38 38 39 void vtsetup( uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg)39 void vtsetup(volatile uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg) 40 40 { 41 41 vtobj = obj; /* setup object pointer */ … … 109 109 */ 110 110 111 void vtdisp( uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf)111 void vtdisp(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf) 112 112 { 113 113 -
ram/vtyper.x
r5c4721b r8c8b4e5 9 9 #include "stdint.h" 10 10 11 typedef void (*vtchar)( uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);11 typedef void (*vtchar)(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf); 12 12 typedef void (*vtcurs)(void); 13 13 … … 30 30 extern void vtcxupd(void); 31 31 extern void vtcyupd(void); 32 extern void vtdisp( uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);33 extern void vtsetup( uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg);32 extern void vtdisp(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf); 33 extern void vtsetup(volatile uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg); 34 34 extern int16_t vtyper(void); -
ram/wdfield.c
r5c4721b r8c8b4e5 100 100 void updfpu(void) 101 101 { 102 register int16_t *wsp1, *wsp2; 102 volatile uint16_t *wsp1; 103 int16_t *wsp2; 103 104 104 105 /* calculate instrument source and FPU destination pointers */
Note:
See TracChangeset
for help on using the changeset viewer.