- Timestamp:
- 11/12/2017 08:33:43 PM (7 years ago)
- Branches:
- master
- Children:
- 6d5247b
- Parents:
- 210d896
- Location:
- ram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/scadv.c
r210d896 rd1ecb94 18 18 /* initialized stuff */ 19 19 20 int16_t nbmoff = 3;21 int16_t wrdoff = 3;22 23 int16_t nbmasks[4] = { /* nybble masks */20 int16_t nbmoff = 3; 21 int16_t wrdoff = 3; 22 23 uint16_t nbmasks[4] = { /* nybble masks */ 24 24 25 25 0x000F, … … 40 40 void sc_adv(void) 41 41 { 42 int16_t masksl, maskpx, i; 42 uint16_t masksl, maskpx; 43 int16_t i; 43 44 uint16_t sword; 44 45 int32_t tl; … … 185 186 uslice(nxtsl, maskpx, masksl, gdstbn); /* update right edge */ 186 187 187 scrl = 0x8000 | (( soffset >> 1) ^ 0x0001);188 scrl = 0x8000 | (((uint16_t)soffset >> 1) ^ 0x0001); 188 189 189 190 /* only update VSDD registers if score is up and scrl changed */ … … 221 222 void scupd(void) 222 223 { 223 int16_t masksl, maskpx, i; 224 uint16_t masksl, maskpx; 225 int16_t i; 224 226 uint16_t sword; 225 227 int32_t tl; -
ram/scadv.x
r210d896 rd1ecb94 15 15 */ 16 16 17 extern int16_tnbmasks[4];17 extern uint16_t nbmasks[4]; 18 18 extern int16_t nbmoff; 19 19 extern int16_t wrdoff;
Note:
See TracChangeset
for help on using the changeset viewer.