Changeset aa021e2 in buchla-68k for ram


Ignore:
Timestamp:
07/14/2017 09:22:01 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
7bb1284
Parents:
7ecfb7b
Message:

Don't shift negative constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/midas.c

    r7ecfb7b raa021e2  
    147147        BIOS(B_SETV, 26, fpuint);       /* set level 2 int. vector for FPU */
    148148
    149         initcfg    = 0;                 /* set initial configuration  (in MS bits) */
    150         fp_resv[0] = (-1000) << 5;      /* initial output amplitude = 0.0 */
     149        initcfg    = 0;         /* set initial configuration  (in MS bits) */
     150        fp_resv[0] = VALMIN;    /* initial output amplitude = 0.0 */
    151151
    152152        fpuclr();               /* quiet the FPU */
Note: See TracChangeset for help on using the changeset viewer.