Changeset fa38804 in buchla-68k for ram/scselbx.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/scselbx.c

    r1efe224 rfa38804  
    77
    88#include "ram.h"
    9 
    10 /*
    11 
    12 */
    139
    1410int8_t  *sdmenus[][3] = {       /* score display menus */
     
    5046int8_t  sdmln4[] =
    5147         "Escape                    D                                     ";
    52 
    53 /*
    54 
    55 */
    5648
    5749int16_t sdmht[][3] = {          /* score section menu highlight table */
     
    8476};
    8577
    86 /*
    87 
    88 */
    89 
    9078int8_t  *nedlbl[] = {           /* note edit function labels */
    9179
     
    9987};
    10088
    101 /*
    102 
    103 */
    104 
    10589struct  selbox  sdboxes[] = {
    10690
     
    131115};
    132116
    133 /*
    134 
    135 */
    136 
    137117/*
    138118   =============================================================================
     
    171151        vputs(obj, row - 16, col, buf, SDW13ATR);
    172152}
    173 
    174 /*
    175 
    176 */
    177153
    178154/*
     
    211187}
    212188
    213 /*
    214 
    215 */
    216 
    217189/*
    218190   =============================================================================
     
    291263}
    292264
    293 /*
    294 
    295 */
    296 
    297265/*
    298266   =============================================================================
     
    341309}
    342310
    343 /*
    344 
    345 */
    346 
    347311/*
    348312   =============================================================================
     
    391355}
    392356
    393 /*
    394 
    395 */
    396 
    397357/*
    398358   =============================================================================
     
    408368        vcputsv(obj11, 64, SD_TEXT, SDBG16, row, col, txt, 14);
    409369}
    410 
    411 /*
    412 
    413 */
    414370
    415371/*
     
    447403}
    448404
    449 /*
    450 
    451 */
    452 
    453405/*
    454406   =============================================================================
     
    472424        }
    473425}
    474 
    475 /*
    476 
    477 */
    478426
    479427/*
     
    508456}
    509457
    510 /*
    511 
    512 */
    513 
    514458/*
    515459   =============================================================================
     
    617561        scmctl = n;             /* set new menu type */
    618562}
    619 /*
    620 
    621 */
    622563
    623564/*
     
    662603                for (i = 0; i < 3; i++) /* top 3 lines of menu */
    663604                        vputs(obj8, 3 + i, 0, sdmenus[n][i], SDMENUBG);
    664 /*
    665 
    666 */
     605
    667606                if (n EQ 4) {           /* extra 2 lines for section menu */
    668607
     
    725664                SetPri(TTCURS, TTCPRI);              /* turn on menu cursor */
    726665                ttcpos(sdmlim[n][0], sdmlim[n][1]);  /* position menu cursor */
    727 /*
    728 
    729 */
     666
    730667        } else {                /* take down the menu */
    731668
     
    772709}
    773710
    774 /*
    775 
    776 */
    777 
    778711/*
    779712   =============================================================================
     
    790723}
    791724
    792 /*
    793 
    794 */
    795 
    796725/*
    797726   =============================================================================
     
    830759}
    831760
    832 /*
    833 
    834 */
    835 
    836761/*
    837762   =============================================================================
     
    883808
    884809                break;
    885 /*
    886 
    887 */
     810
    888811        case SOP_BGN:   /* Begin */
    889812
     
    916839                sc_refr(fc_val);        /* refresh the screen */
    917840                break;
    918 /*
    919 
    920 */
     841
    921842        case SOP_END:   /* End */
    922843
     
    948869                sc_refr(fc_val);        /* refresh the screen */
    949870                break;
    950 /*
    951 
    952 */
     871
    953872        case SOP_MOV:   /* Move */
    954873
     
    995914                break;
    996915
    997 /*
    998 
    999 */
     916
    1000917        case SOP_STC:   /* SMPTE */
    1001918
     
    1041958        secop = SOP_NUL;
    1042959}
    1043 
    1044 /*
    1045 
    1046 */
    1047960
    1048961/*
     
    1082995
    1083996                return;
    1084 /*
    1085 
    1086 */
     997
    1087998        case CK_PLS24:                          /* PLS24 */
    1088999        case CK_PLS48:                          /* PLS48 */
     
    11091020}
    11101021
    1111 /*
    1112 
    1113 */
    1114 
    11151022/*
    11161023   =============================================================================
     
    11541061                                sdmenu(4);      /* put up the menu */
    11551062                                return(SUCCESS);
    1156 /*
    1157 
    1158 */
     1063
    11591064                        } else {                /* menu up */
    11601065
     
    11901095                                                return(SUCCESS);
    11911096                                        }
    1192 /*
    1193 
    1194 */
     1097
    11951098                                } else if (vtcrow EQ 20) {
    11961099
     
    12241127                                                return(SUCCESS);
    12251128                                        }
    1226 /*
    1227 
    1228 */
     1129
    12291130                                } else if (vtcrow EQ 21) {
    12301131
     
    12481149                                        }
    12491150
    1250 /*
    1251 
    1252 */
     1151
    12531152                                } else if (vtcrow EQ 22) {
    12541153
     
    12991198                        return(entbh(-1));
    13001199
    1301 /*
    1302 
    1303 */
     1200
    13041201        case 1:         /* insert */
    13051202
     
    13251222                        return(SUCCESS);
    13261223
    1327 /*
    1328 
    1329 */
     1224
    13301225                } else if ((col GE 35) AND (col LE 43)) {       /* control */
    13311226
     
    13731268
    13741269                        return(FAILURE);
    1375 /*
    1376 
    1377 */
     1270
    13781271                } else if (col GE 45) {                         /* source */
    13791272
     
    14201313                                        }
    14211314
    1422 /*
    1423 
    1424 */
     1315
    14251316                                } else if (vtcrow EQ 20) {
    14261317
     
    14451336                                                return(SUCCESS);
    14461337                                        }
    1447 /*
    1448 
    1449 */
     1338
    14501339                                } else if (vtcrow EQ 21) {
    14511340
     
    14761365                return(FAILURE);
    14771366
    1478 /*
    1479 
    1480 */
     1367
    14811368        case 3:         /* note edit */
    14821369
     
    15181405
    15191406                                return(FAILURE);
    1520 /*
    1521 
    1522 */
     1407
    15231408                        } else if (vtcrow EQ 20) {
    15241409
     
    15611446                return(FAILURE);
    15621447
    1563 /*
    1564 
    1565 */
     1448
    15661449        case 4:         /* assignments */
    15671450
     
    16091492                        return(entbh(-1));      /* data entry */
    16101493                }
    1611 /*
    1612 
    1613 */
     1494
    16141495        case 8:         /* stop/next */
    16151496
     
    16641545                return(SUCCESS);
    16651546
    1666 /*
    1667 
    1668 */
     1547
    16691548        case 9:         /* punch in/out */
    16701549
     
    17201599
    17211600                return(SUCCESS);
    1722 /*
    1723 
    1724 */
     1601
    17251602        case 10:        /* Output */
    17261603
     
    17471624                        return(entbh(-1));                      /* inst. number */
    17481625
    1749 /*
    1750 
    1751 */
     1626
    17521627        case 12:        /* analog source, value */
    17531628
     
    17901665                        return(entbh(-1));
    17911666                }
    1792 /*
    1793 
    1794 */
     1667
    17951668        case 13:        /* score number and title */
    17961669
     
    18231696                } else
    18241697                        return(entbh(-1));
    1825 /*
    1826 
    1827 */
     1698
    18281699        case 14:        /* rec mode */
    18291700
Note: See TracChangeset for help on using the changeset viewer.