- Timestamp:
- 09/17/2017 05:01:10 PM (7 years ago)
- Branches:
- master
- Children:
- 432327d
- Parents:
- 5c4721b
- Location:
- rom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rom/romp.c
r5c4721b r8c8b4e5 261 261 baroff, /* bar 'off' color */ 262 262 swon, /* switch 'on' color */ 263 swoff, /* switch 'off' color */ 264 *obj0; /* object pointer */ 263 swoff; /* switch 'off' color */ 264 265 volatile uint16_t *obj0; /* object pointer */ 265 266 #endif 266 267 … … 436 437 void dobar(int16_t nb, int16_t bv) 437 438 { 438 registeruint16_t *bp;439 registerint16_t i;439 volatile uint16_t *bp; 440 int16_t i; 440 441 441 442 if ((nb LT 1) OR (nb GT 82)) … … 472 473 void dosw(int16_t nb, int16_t sv) 473 474 { 474 register uint16_t *bp, j; 475 register int16_t i; 475 volatile uint16_t *bp; 476 uint16_t j; 477 int16_t i; 476 478 477 479 if ((nb LT 1) OR (nb GT 82)) … … 516 518 int16_t cx_adsp(void) 517 519 { 518 registerint16_t xasig, xastat, xaval;519 registerint32_t xafi;520 registerint32_t lc;521 registeruint16_t *bp;520 int16_t xasig, xastat, xaval; 521 int32_t xafi; 522 int32_t lc; 523 volatile uint16_t *bp; 522 524 int16_t i, j, k; 523 525 int16_t oldi; … … 529 531 vsndpal(dfltpal); 530 532 531 obj0 = ( uint16_t *)0x200400L;533 obj0 = (volatile uint16_t *)0x200400L; 532 534 533 535 SetObj(0, 0, 0, obj0, 512, 350, 0, 0, (V_RES3 | V_TDE), -1); -
rom/romp.x
r5c4721b r8c8b4e5 24 24 ============================================================================= 25 25 */ 26 27 extern volatile uint16_t *obj0; 26 28 27 29 extern int32_t afi; … … 59 61 extern int8_t *monptr; 60 62 extern int16_t monsw; 61 extern uint16_t *obj0;62 63 extern uint16_t *p_ba0; 63 64 extern uint16_t *p_ba1;
Note:
See TracChangeset
for help on using the changeset viewer.