Changeset c3aee8a in buchla-68k for ram


Ignore:
Timestamp:
07/09/2017 11:09:17 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
f7428b1
Parents:
411371e
Message:

Make tables unsigned.

Location:
ram
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • ram/asgdsp.c

    r411371e rc3aee8a  
    171171*/
    172172
    173 int16_t asgkbtp[AK_WIDTH] = {           /* keyboard icon top lines */
     173uint16_t        asgkbtp[AK_WIDTH] = {           /* keyboard icon top lines */
    174174
    175175        AKW_7, AKW_C, AKW_1, AKW_F,
     
    212212*/
    213213
    214 int16_t asgkbbt[AK_WIDTH] = {           /* keyboard icon bottom lines */
     214uint16_t        asgkbbt[AK_WIDTH] = {           /* keyboard icon bottom lines */
    215215
    216216        AKW_7, AKW_F, AKW_7, AKW_F,
  • ram/gcurpos.c

    r411371e rc3aee8a  
    5050*/
    5151
    52 static  int16_t ar_ule[] = {            /* upper left even pixel arrow */
     52static  uint16_t        ar_ule[] = {            /* upper left even pixel arrow */
    5353
    5454        AW_F, AW_0, AW_0, AW_0,         /* 0 */
     
    7070};
    7171
    72 static  int16_t ar_ulo[] = {            /* upper left odd pixel arrow */
     72static  uint16_t        ar_ulo[] = {            /* upper left odd pixel arrow */
    7373
    7474        AW_7, AW_8, AW_0, AW_0,         /* 0 */
     
    9494*/
    9595
    96 static  int16_t ar_ure[] = {            /* upper right even pixel arrow */
     96static  uint16_t        ar_ure[] = {            /* upper right even pixel arrow */
    9797
    9898        AW_0, AW_0, AW_1, AW_E,         /* 0 */
     
    114114};
    115115
    116 static  int16_t ar_uro[] = {            /* upper right odd pixel arrow */
     116static  uint16_t        ar_uro[] = {            /* upper right odd pixel arrow */
    117117
    118118        AW_0, AW_0, AW_0, AW_F,         /* 0 */
     
    138138*/
    139139
    140 static  int16_t ar_lle[] = {            /* lower left even pixel arrow */
     140static  uint16_t        ar_lle[] = {            /* lower left even pixel arrow */
    141141
    142142        AW_0, AW_0, AW_0, AW_0,         /* 0 */
     
    158158};
    159159
    160 static  int16_t ar_llo[] = {            /* lower left odd pixel arrow */
     160static  uint16_t        ar_llo[] = {            /* lower left odd pixel arrow */
    161161
    162162        AW_0, AW_0, AW_0, AW_0,         /* 0 */
     
    182182*/
    183183
    184 static  int16_t ar_lre[] = {            /* lower right even pixel arrow */
     184static  uint16_t        ar_lre[] = {            /* lower right even pixel arrow */
    185185
    186186        AW_0, AW_0, AW_0, AW_0,         /* 0 */
     
    202202};
    203203
    204 static  int16_t ar_lro[] = {            /* lower right odd pixel arrow */
     204static  uint16_t        ar_lro[] = {            /* lower right odd pixel arrow */
    205205
    206206        AW_0, AW_0, AW_0, AW_0,         /* 0 */
  • ram/im700.c

    r411371e rc3aee8a  
    521521*/
    522522
    523 int16_t tmultab[] = {           /* time multiplier table - indexed by voltage */
     523uint16_t        tmultab[] = {           /* time multiplier table - indexed by voltage */
    524524
    525525        0xFFFF, 0xFAFA, 0xF627, 0xF182, 0xED09,         /*   0 */
  • ram/lcdlbls.c

    r411371e rc3aee8a  
    214214};
    215215
    216 int16_t vmasks[16] = {          /* variable resolution masks */
     216uint16_t        vmasks[16] = {          /* variable resolution masks */
    217217
    218218        0x8000, 0xC000, 0xE000, 0xF000,
  • ram/msl.c

    r411371e rc3aee8a  
    159159extern  int16_t simled[];
    160160extern  int16_t swfifo[NSWFIFO];
    161 extern  int16_t tmultab[];
     161extern  uint16_t        tmultab[];
    162162extern  int16_t vce2trg[];
    163163extern  int16_t veltab[];
  • ram/showcfg.c

    r411371e rc3aee8a  
    180180*/
    181181
    182 int16_t pat[MAXPAT][16] = {             /* configuration pattern elements */
     182uint16_t        pat[MAXPAT][16] = {             /* configuration pattern elements */
    183183
    184184        {0x0000, 0x0000, 0x0000, 0x0000,        /* 1 */
  • ram/ucslice.c

    r411371e rc3aee8a  
    3636extern  int16_t         nttab2[];       /* gdsel code transition table - bak */
    3737
    38 extern  int16_t         pxtbl[][4];     /* pixel mask table - notes */
    39 extern  int16_t         epxtbl[][16];   /* pixel mask table - events */
     38extern  uint16_t        pxtbl[][4];     /* pixel mask table - notes */
     39extern  uint16_t        epxtbl[][16];   /* pixel mask table - events */
    4040
    4141extern  struct  gdsel   *gdfsep;        /* gdsel freechain pointer */
  • ram/uslice.c

    r411371e rc3aee8a  
    111111*/
    112112
    113 int16_t pxtbl[][4] = {          /* pixel mask table for notes */
     113uint16_t        pxtbl[][4] = {          /* pixel mask table for notes */
    114114
    115115        { 0x0000, 0x0000, 0x0000, 0 },  /* 0 */
     
    122122};
    123123
    124 int16_t epxtbl[][16] = {        /* pixel mask table for events */
     124uint16_t        epxtbl[][16] = {        /* pixel mask table for events */
    125125
    126126        { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,       /* 0 */
Note: See TracChangeset for help on using the changeset viewer.