- Timestamp:
- 11/15/2017 08:04:44 PM (7 years ago)
- Branches:
- master
- Children:
- 3c45656
- Parents:
- 58ff1a9
- Location:
- ram
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/asgvce.c
r58ff1a9 r8d0af8a 79 79 DB_CMNT("ne_end - non-step"); 80 80 81 if ( E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {81 if ((struct n_entry *)E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) { 82 82 83 83 DB_CMNT("ne_end - enter note end"); … … 127 127 grp = nelist->group; /* get group */ 128 128 129 if (E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) { 129 if ((struct n_entry *)E_NULL NE 130 (ep = (struct n_entry *)e_alc(E_SIZE1))) { 130 131 131 132 DB_CMNT("ne_end - enter note end"); … … 239 240 } 240 241 241 if (E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) { 242 if ((struct n_entry *)E_NULL NE 243 (ep = (struct n_entry *)e_alc(E_SIZE1))) { 242 244 243 245 DB_CMNT("ne_bgn - enter note begin"); -
ram/delnote.c
r58ff1a9 r8d0af8a 104 104 cp = (struct n_entry *)cp->e_bak; 105 105 106 if (p_ctr EQ ep)106 if (p_ctr EQ (struct s_entry *)ep) 107 107 p_ctr = p_ctr->e_bak; 108 108 109 if (p_bak EQ ep)109 if (p_bak EQ (struct s_entry *)ep) 110 110 p_bak = p_bak->e_bak; 111 111 112 if (p_fwd EQ ep)112 if (p_fwd EQ (struct s_entry *)ep) 113 113 p_fwd = p_fwd->e_bak; 114 114 115 if (p_cur EQ ep)115 if (p_cur EQ (struct s_entry *)ep) 116 116 p_cur = p_cur->e_bak; 117 117 … … 123 123 cp = (struct n_entry *)cp->e_bak; 124 124 125 if (p_ctr EQ bp)125 if (p_ctr EQ (struct s_entry *)bp) 126 126 p_ctr = p_ctr->e_bak; 127 127 128 if (p_bak EQ bp)128 if (p_bak EQ (struct s_entry *)bp) 129 129 p_bak = p_bak->e_bak; 130 130 131 if (p_fwd EQ bp)131 if (p_fwd EQ (struct s_entry *)bp) 132 132 p_fwd = p_fwd->e_bak; 133 133 134 if (p_cur EQ bp)134 if (p_cur EQ (struct s_entry *)bp) 135 135 p_cur = p_cur->e_bak; 136 136 … … 151 151 cp = (struct n_entry *)cp->e_bak; 152 152 153 if (p_ctr EQ bp)153 if (p_ctr EQ (struct s_entry *)bp) 154 154 p_ctr = p_ctr->e_bak; 155 155 156 if (p_bak EQ bp)156 if (p_bak EQ (struct s_entry *)bp) 157 157 p_bak = p_bak->e_bak; 158 158 159 if (p_fwd EQ bp)159 if (p_fwd EQ (struct s_entry *)bp) 160 160 p_fwd = p_fwd->e_bak; 161 161 162 if (p_cur EQ bp)162 if (p_cur EQ (struct s_entry *)bp) 163 163 p_cur = p_cur->e_bak; 164 164 … … 215 215 if (EV_BAR EQ ep->e_type) { 216 216 217 if (ep EQ p_bak)217 if (ep EQ (struct n_entry *)p_bak) 218 218 p_bak = p_bak->e_bak; 219 219 220 if (ep EQ p_ctr)220 if (ep EQ (struct n_entry *)p_ctr) 221 221 p_ctr = p_ctr->e_bak; 222 222 223 if (ep EQ p_cur)223 if (ep EQ (struct n_entry *)p_cur) 224 224 p_cur = p_cur->e_bak; 225 225 226 if (ep EQ p_fwd)226 if (ep EQ (struct n_entry *)p_fwd) 227 227 p_fwd = p_fwd->e_bak; 228 228 -
ram/localkb.c
r58ff1a9 r8d0af8a 245 245 lstends[lstendc] = (struct n_entry *)NULL; 246 246 247 if ((struct n_entry *)NULL EQ ep)247 if ((struct s_entry *)NULL EQ ep) 248 248 continue; 249 249 … … 271 271 lstbgns[lstbgnc] = (struct n_entry *)NULL; 272 272 273 if ((struct n_entry *)NULL EQ ep)273 if ((struct s_entry *)NULL EQ ep) 274 274 continue; 275 275 -
ram/nedacc.c
r58ff1a9 r8d0af8a 83 83 } 84 84 85 if ( E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {85 if ((struct n_entry *)E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) { 86 86 87 87 #if DEBUGIT … … 119 119 DB_ENTR("ned_nat"); 120 120 121 if ( E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {121 if ((struct n_entry *)E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) { 122 122 123 123 #if DEBUGIT … … 229 229 DB_CMNT("nedesub - note begin / fini hit"); 230 230 231 if (E_NULL NE (np = (struct n_entry *)e_alc(E_SIZE1))) { 231 if ((struct n_entry *)E_NULL NE 232 (np = (struct n_entry *)e_alc(E_SIZE1))) { 232 233 233 234 #if DEBUGIT … … 373 374 DB_CMNT("ned_mvn - clipping out begin"); 374 375 375 if (p_bak EQ bp)376 if (p_bak EQ (struct s_entry *)bp) 376 377 p_bak = bp->e_fwd; 377 378 378 if (p_ctr EQ bp)379 if (p_ctr EQ (struct s_entry *)bp) 379 380 p_ctr = bp->e_fwd; 380 381 381 if (p_cur EQ bp)382 if (p_cur EQ (struct s_entry *)bp) 382 383 p_cur = bp->e_fwd; 383 384 384 if (p_fwd EQ bp)385 if (p_fwd EQ (struct s_entry *)bp) 385 386 p_fwd = bp->e_fwd; 386 387 … … 391 392 DB_CMNT("ned_mvn - clipping out end"); 392 393 393 if (p_bak EQ ep)394 if (p_bak EQ (struct s_entry *)ep) 394 395 p_bak = ep->e_fwd; 395 396 396 if (p_ctr EQ ep)397 if (p_ctr EQ (struct s_entry *)ep) 397 398 p_ctr = ep->e_fwd; 398 399 399 if (p_cur EQ ep)400 if (p_cur EQ (struct s_entry *)ep) 400 401 p_cur = ep->e_fwd; 401 402 402 if (p_fwd EQ ep)403 if (p_fwd EQ (struct s_entry *)ep) 403 404 p_fwd = ep->e_fwd; 404 405 … … 422 423 } else { 423 424 424 if ( E_NULL NE fcnote(grp, cnote)) {425 if ((struct n_entry *)E_NULL NE fcnote(grp, cnote)) { 425 426 426 427 notesel = TRUE; /* note selected */ … … 430 431 } else if (-1 NE (note = accnote())) { 431 432 432 if (E_NULL NE (bp = fcnote(grp, note))) { 433 if ((struct n_entry *)E_NULL NE 434 (bp = fcnote(grp, note))) { 433 435 434 436 notesel = TRUE; /* note selected */ … … 475 477 DB_CMNT("ned_mvb - clipping out begin"); 476 478 477 if (p_bak EQ bp)479 if (p_bak EQ (struct s_entry *)bp) 478 480 p_bak = bp->e_fwd; 479 481 480 if (p_ctr EQ bp)482 if (p_ctr EQ (struct s_entry *)bp) 481 483 p_ctr = bp->e_fwd; 482 484 483 if (p_cur EQ bp)485 if (p_cur EQ (struct s_entry *)bp) 484 486 p_cur = bp->e_fwd; 485 487 486 if (p_fwd EQ bp)488 if (p_fwd EQ (struct s_entry *)bp) 487 489 p_fwd = bp->e_fwd; 488 490 … … 502 504 } else { 503 505 504 if ( E_NULL NE fcnote(grp, cnote)) { /* natural ? */506 if ((struct n_entry *)E_NULL NE fcnote(grp, cnote)) { /* natural ? */ 505 507 506 508 notesel = TRUE; /* note selected */ … … 510 512 } else if (-1 NE (note = accnote())) { /* accidental ? */ 511 513 512 if (E_NULL NE (bp = fcnote(grp, note))) { 514 if ((struct n_entry *)E_NULL NE 515 (bp = fcnote(grp, note))) { 513 516 514 517 notesel = TRUE; /* note selected */ … … 555 558 DB_CMNT("ned_mve - clipping out end"); 556 559 557 if (p_bak EQ ep)560 if (p_bak EQ (struct s_entry *)ep) 558 561 p_bak = ep->e_fwd; 559 562 560 if (p_ctr EQ ep)563 if (p_ctr EQ (struct s_entry *)ep) 561 564 p_ctr = ep->e_fwd; 562 565 563 if (p_cur EQ ep)566 if (p_cur EQ (struct s_entry *)ep) 564 567 p_cur = ep->e_fwd; 565 568 566 if (p_fwd EQ ep)569 if (p_fwd EQ (struct s_entry *)ep) 567 570 p_fwd = ep->e_fwd; 568 571 … … 582 585 } else { 583 586 584 if ( E_NULL NE fcnote(grp, cnote)) { /* natural ? */587 if ((struct n_entry *)E_NULL NE fcnote(grp, cnote)) { /* natural ? */ 585 588 586 589 notesel = TRUE; /* note selected */ … … 590 593 } else if (-1 NE (note = accnote())) { 591 594 592 if (E_NULL NE (bp = fcnote(grp, note))) { /* accidental ? */ 595 if ((struct n_entry *)E_NULL NE 596 (bp = fcnote(grp, note))) { /* accidental ? */ 593 597 594 598 notesel = TRUE; /* note selected */ -
ram/sedump.c
r58ff1a9 r8d0af8a 403 403 n = 8; 404 404 405 while (prptr < olda6) {405 while (prptr < (int16_t *)olda6) { 406 406 407 407 printf(" +%-4d [$%08lX]: $%04.4X\n", -
ram/sqscan.c
r58ff1a9 r8d0af8a 834 834 if (CM_CHR('+')) { /* output note begin */ 835 835 836 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 836 if ((struct n_entry *)E_NULL EQ 837 (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 837 838 838 839 nospace("note event"); … … 851 852 if (CM_CHR('-')) { /* output note end */ 852 853 853 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 854 if ((struct n_entry *)E_NULL EQ 855 (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 854 856 855 857 nospace("note event"); … … 877 879 noteoff = t_cur + ((noteper * noteval) / dvwork); 878 880 879 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 881 if ((struct n_entry *)E_NULL EQ 882 (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 880 883 881 884 nospace("note event"); … … 885 888 p_cur = (struct s_entry *)insnevt(nsp1, EV_NBEG, curgrp, notenum, 64); 886 889 887 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 890 if ((struct n_entry *)E_NULL EQ 891 (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 888 892 889 893 nospace("note event"); … … 910 914 noteoff = t_cur + ((noteval * noteper) / dvwork); 911 915 912 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 916 if ((struct n_entry *)E_NULL EQ 917 (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 913 918 914 919 nospace("note event"); … … 918 923 p_cur = (struct s_entry *)insnevt(nsp1, EV_NBEG, curgrp, notenum, 64); 919 924 920 if (E_NULL EQ (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 925 if ((struct n_entry *)E_NULL EQ 926 (nsp1 = (struct n_entry *)e_alc(E_SIZE1))) { 921 927 922 928 nospace("note event");
Note:
See TracChangeset
for help on using the changeset viewer.