Changeset ea9a162 in buchla-68k for ram


Ignore:
Timestamp:
11/12/2017 10:44:55 PM (6 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
2ff1367
Parents:
99fed2e
Message:

Fixed the rest.

Location:
ram
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • ram/dcopy.c

    r99fed2e rea9a162  
    4141        mphead.F_Res1   = 0L;                   /* reserved area #1 */
    4242        mphead.F_Res2   = (int32_t)&Lo_RAM;     /* text base */
    43         mphead.F_Res3   = 0xFFFF;               /* flag word */
     43        mphead.F_Res3   = (int16_t)0xFFFF;      /* flag word */
    4444
    4545        /* ***** initialize for a (possibly) new disk here ***** */
  • ram/dopatch.c

    r99fed2e rea9a162  
    317317        case PA_SLIN:           /* sequence line */
    318318
    319                 seqline[suba] = dat1;
     319                seqline[suba] = (int16_t)dat1;
    320320                seqdupd |= ((uint16_t)1 << suba);
    321321                break;
  • ram/etagpt.c

    r99fed2e rea9a162  
    2020        grp = 0x00FF & (n >> 8);
    2121
    22         ebuf[0] = grp2prt[grp][0];
     22        ebuf[0] = (int8_t)grp2prt[grp][0];
    2323        ebuf[1] = '\0';
    2424
  • ram/etscor.c

    r99fed2e rea9a162  
    8888
    8989        ec = stccol - cfetp->flcol;
    90         ebuf[ec]  = k + '0';
     90        ebuf[ec] = (int8_t)(k + '0');
    9191
    9292        if (v_regs[5] & 0x0180)
  • ram/etsnbt.c

    r99fed2e rea9a162  
    109109
    110110        ec = stccol - cfetp->flcol;
    111         ebuf[ec]  = k + '0';
     111        ebuf[ec] = (int8_t)(k + '0');
    112112
    113113        if (v_regs[5] & 0x0180)
  • ram/etstrn.c

    r99fed2e rea9a162  
    101101                k += '0';
    102102
    103         ebuf[ec] = k;
     103        ebuf[ec] = (int8_t)k;
    104104
    105105        if (v_regs[5] & 0x0180)
  • ram/etvel.c

    r99fed2e rea9a162  
    9898
    9999        ec = stccol - cfetp->flcol;     /* setup edit buffer column */
    100         ebuf[ec]  = k + '0';
     100        ebuf[ec]  = (int8_t)(k + '0');
    101101
    102102        if (v_regs[5] & 0x0180)
  • ram/etwhrv.c

    r99fed2e rea9a162  
    145145        } else {
    146146
    147                 ebuf[ec] = dspbuf[0] = k + '0';
     147                ebuf[ec] = dspbuf[0] = (int8_t)(k + '0');
    148148                ebuf[4]  = dspbuf[1] = '\0';
    149149        }
  • ram/im700.c

    r99fed2e rea9a162  
    716716
    717717        for (i = 0; i < 12; i++)        /* setup default values for gtctab */
    718                 gtctab[i] = ((i+3) << 12) | ((i+3) << 8) | ((i+3) << 4) | (i+3);
     718                gtctab[i] = (uint16_t)
     719                        (((i+3) << 12) | ((i+3) << 8) | ((i+3) << 4) | (i+3));
    719720
    720721        editsw  = FALSE;                /* setup edit switch state */
  • ram/m7menu.c

    r99fed2e rea9a162  
    403403                vbank(0);
    404404
    405         vbfill4(menuob, 128, 0, 0, 511, 349, mbak);
     405        vbfill4(menuob, 128, 0, 0, 511, 349, exp_c(mbak));
    406406
    407407        vcputsv(menuob, 64, mlcv, mbak,  1,  2,   ml01, 14);
  • ram/ptwrite.c

    r99fed2e rea9a162  
    114114#endif
    115115
    116                         switch (cb = (PE_SPEC & patches[pp].paspec)) {
     116                        switch (cb = (int8_t)(PE_SPEC & patches[pp].paspec)) {
    117117
    118118                        case PA_KEY:
  • ram/wscalc.c

    r99fed2e rea9a162  
    108108
    109109        for (wspnt = 0; wspnt < NUMWPCAL; wspnt++)
    110                 wsbuf[wspnt] = (hwave[wspnt] * hfac) >> 16;
     110                wsbuf[wspnt] = (int16_t)((hwave[wspnt] * hfac) >> 16);
    111111}
    112112
Note: See TracChangeset for help on using the changeset viewer.