Changeset fa38804 in buchla-68k for ram/msm.c


Ignore:
Timestamp:
07/14/2017 04:18:35 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ace9ee7
Parents:
1efe224
Message:

Removed form-feed comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/msm.c

    r1efe224 rfa38804  
    2727
    2828int16_t ctl2src[] = {SM_VTMW, SM_LPBR, SM_CTL1, SM_PED1};
    29 
    30 /*
    31 
    32 */
    3329
    3430/*
     
    6157
    6258                        switch (msmstv[miport]) {       /* switch on state */
    63 /*
    64 
    65 */
     59
    6660                        case 0:         /* waiting for status */
    6761
     
    8074                                                msmstv[miport] = msmcnxt[michan & 0x07];
    8175                                                mrstat[miport] = midiin;
    82 /*
    83 
    84 */
     76
    8577                                        } else {                        /* real-time */
    8678
     
    122114
    123115                                                        break;
    124 /*
    125 
    126 */
     116
    127117                                                case 4:         /* stop */
    128118
     
    157147
    158148                                continue;
    159 /*
    160 
    161 */
     149
    162150                        case 1:         /* waiting for 1 data byte */
    163151
     
    176164                                                msmstv[miport] = msmcnxt[michan & 0x07];
    177165                                                mrstat[miport] = midiin;
    178 /*
    179 
    180 */
     166
    181167                                        } else {                        /* real-time */
    182168
     
    218204
    219205                                                        break;
    220 /*
    221 
    222 */
     206
    223207                                                case 4:         /* stop */
    224208
     
    250234                                                }
    251235                                        }
    252 /*
    253 
    254 */
     236
    255237                                } else {        /* data */
    256238
     
    269251                                                        mpcupd();
    270252                                                }
    271 /*
    272 
    273 */
     253
    274254                                        } else if (mistat EQ 0x0D) {
    275255
     
    312292                                                        }
    313293                                                }
    314 /*
    315 
    316 */
     294
    317295                                        } else if ((mistat EQ 0x0F) AND
    318296                                                   (michan EQ 3) AND
     
    335313
    336314                                continue;
    337 /*
    338 
    339 */
     315
    340316                        case 2:         /* waiting for 1st data byte */
    341317
     
    354330                                                msmstv[miport] = msmcnxt[michan & 0x07];
    355331                                                mrstat[miport] = midiin;
    356 /*
    357 
    358 */
     332
    359333                                        } else {                        /* real-time */
    360334
     
    396370
    397371                                                        break;
    398 /*
    399 
    400 */
     372
    401373                                                case 4:         /* stop */
    402374
     
    436408
    437409                                continue;
    438 /*
    439 
    440 */
     410
    441411                        case 3:         /* waiting for 2nd data byte */
    442412
     
    455425                                                msmstv[miport] = msmcnxt[michan & 0x07];
    456426                                                mrstat[miport] = midiin;
    457 /*
    458 
    459 */
     427
    460428                                        } else {                        /* real-time */
    461429
     
    497465
    498466                                                        break;
    499 /*
    500 
    501 */
     467
    502468                                                case 4:         /* stop */
    503469
     
    529495                                                }
    530496                                        }
    531 /*
    532 
    533 */
     497
    534498                                } else {        /* data */
    535499
     
    585549                                                        break;
    586550                                                }
    587 /*
    588 
    589 */
     551
    590552                                        case 8:         /* note off */
    591553
     
    625587
    626588                                                break;
    627 /*
    628 
    629 */
     589
    630590                                        case 11:        /* control change */
    631591
     
    675635                                                                }
    676636                                                        }
    677 /*
    678 
    679 */
     637
    680638                                                } else if (mdb1 EQ MIDIHLD) {
    681639
     
    716674                                                                }
    717675                                                        }
    718 /*
    719 
    720 */
     676
    721677                                                } else {        /* other controllers */
    722678
     
    766722
    767723                                                break;
    768 /*
    769 
    770 */
     724
    771725                                        case 14:        /* pitch bend */
    772726
     
    806760
    807761                                                break;
    808 /*
    809 
    810 */
     762
    811763                                        case 15:        /* common */
    812764
Note: See TracChangeset for help on using the changeset viewer.