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

    r1efe224 rfa38804  
    1818short   debugwe = 1;
    1919#endif
    20 
    21 /*
    22 
    23 */
    2420
    2521int8_t  *ftypes[][3] = {        /* file types  (must match libdsp.h) */
     
    5955};
    6056
    61 /*
    62 
    63 */
    64 
    6557/*
    6658   =============================================================================
     
    10496        return(fcbad);
    10597}
    106 
    107 /*
    108 
    109 */
    11098
    11199/*
     
    141129}
    142130
    143 /*
    144 
    145 */
    146 
    147131/*
    148132   =============================================================================
     
    182166}
    183167
    184 /*
    185 
    186 */
    187 
    188168/*
    189169   =============================================================================
     
    224204                        line3, 14);
    225205}
    226 
    227 /*
    228 
    229 */
    230206
    231207/*
     
    265241}
    266242
    267 /*
    268 
    269 */
    270 
    271243/*
    272244   =============================================================================
     
    297269                ldmsg1, " and one was expected", LD_EMCF, LD_EMCB);
    298270}
    299 
    300 /*
    301 
    302 */
    303271
    304272/*
     
    340308        return(SUCCESS);
    341309}
    342 
    343 /*
    344 
    345 */
    346310
    347311/*
     
    388352}
    389353
    390 /*
    391 
    392 */
    393 
    394354/*
    395355   =============================================================================
     
    436396}
    437397
    438 /*
    439 
    440 */
    441 
    442398/*
    443399   =============================================================================
     
    460416        return(rclusts);
    461417}
    462 
    463 /*
    464 
    465 */
    466418
    467419/*
     
    522474                break;
    523475        }
    524 /*
    525 
    526 */
     476
    527477        howmuch = k ? clreq(k) : -1;
    528478        ndbytes = k;
     
    530480}
    531481
    532 /*
    533 
    534 */
    535 
    536482/*
    537483   =============================================================================
     
    568514        return(FAILURE);
    569515}
    570 
    571 /*
    572 
    573 */
    574516
    575517/*
     
    619561}
    620562
    621 /*
    622 
    623 */
    624 
    625563/*
    626564   =============================================================================
     
    659597}
    660598
    661 /*
    662 
    663 */
    664 
    665599/*
    666600   =============================================================================
     
    699633        memset(filecat, 0, sizeof (struct fcat) * FCMAX);
    700634
    701 /*
    702 
    703 */
     635
    704636        errno = 0;
    705637        rc = fread(filecat, fesize, FCMAX, fp);
     
    739671}
    740672
    741 /*
    742 
    743 */
    744 
    745673/*
    746674   =============================================================================
     
    776704        fesize = sizeof (struct fcat);
    777705
    778 /*
    779 
    780 */
     706
    781707        errno = 0;
    782708        rc = fwrite(filecat, fesize, FCMAX, fp);
     
    811737        return(SUCCESS);
    812738}
    813 
    814 /*
    815 
    816 */
    817739
    818740/*
     
    866788}
    867789
    868 /*
    869 
    870 */
    871 
    872790/*
    873791   =============================================================================
     
    912830}
    913831
    914 /*
    915 
    916 */
    917 
    918832/*
    919833   =============================================================================
     
    940854        return(SUCCESS);
    941855}
    942 
    943 /*
    944 
    945 */
    946856
    947857/*
     
    980890}
    981891
    982 /*
    983 
    984 */
    985 
    986892/*
    987893   =============================================================================
     
    1019925}
    1020926
    1021 /*
    1022 
    1023 */
    1024 
    1025927/*
    1026928   =============================================================================
     
    1043945        }
    1044946
    1045 /*
    1046 
    1047 */
    1048 
    1049947        switch (kind) {
    1050948
     
    1091989                        break;
    1092990
    1093 /*
    1094 
    1095 */
     991
    1096992        case FT_TUN:
    1097993
     
    11171013                return(FAILURE);
    11181014        }
    1119 
    1120 /*
    1121 
    1122 */
    11231015
    11241016        /* update the file catalog */
     
    11461038}
    11471039
    1148 /*
    1149 
    1150 */
    1151 
    11521040/*
    11531041   =============================================================================
     
    11921080        return(SUCCESS);
    11931081}
    1194 
    1195 /*
    1196 
    1197 */
    11981082
    11991083/*
     
    12451129        weneed = 0;
    12461130
    1247 /*
    1248 
    1249 */
     1131
    12501132        if (lasgsw) {
    12511133
     
    13031185        }
    13041186
    1305 /*
    1306 
    1307 */
    1308 
    13091187        /* see if we have enough catalog space */
    13101188
     
    13321210                return(FAILURE);
    13331211        }
    1334 
    1335 /*
    1336 
    1337 */
    13381212
    13391213        /* write the files */
     
    13631237}
    13641238
    1365 /*
    1366 
    1367 */
    1368 
    13691239/*
    13701240   =============================================================================
     
    14151285}
    14161286
    1417 /*
    1418 
    1419 */
    1420 
    14211287/*
    14221288   =============================================================================
     
    14501316                ldbxlb0[n], 14);
    14511317
    1452 /*
    1453 
    1454 */
     1318
    14551319        switch (n) {    /* final text - overlays above stuff */
    14561320
     
    14821346                        ldcmnt, 14);
    14831347                return;
    1484 
    1485 /*
    1486 
    1487 */
    14881348
    14891349        case 7:         /* "Replace" / "Append" */
     
    15211381
    15221382                return;
    1523 /*
    1524 
    1525 */
     1383
    15261384        case 9:         /* "Store" status */
    15271385
     
    15671425}
    15681426
    1569 /*
    1570 
    1571 */
    1572 
    15731427/*
    15741428   =============================================================================
     
    15981452        vputp(ldoct, x, y, exp_c(pen));
    15991453}
    1600 
    1601 /*
    1602 
    1603 */
    16041454
    16051455/*
     
    16281478}
    16291479
    1630 /*
    1631 
    1632 */
    1633 
    16341480/*
    16351481   =============================================================================
     
    16631509        lmln24 = vtlin3;
    16641510}
    1665 
    1666 /*
    1667 
    1668 */
    16691511
    16701512/*
     
    16971539        ltagged = FALSE;
    16981540        lksel   = -1;
    1699 /*
    1700 
    1701 */
     1541
    17021542        clrcat();               /* void the catalog */
    17031543        catin = FALSE;
Note: See TracChangeset for help on using the changeset viewer.