Changeset 522c363 in buchla-68k
- Timestamp:
- 11/12/2017 09:19:56 PM (7 years ago)
- Branches:
- master
- Children:
- 081eee0
- Parents:
- 57425b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/sendval.c
r57425b6 r522c363 35 35 case 4: /* location */ 36 36 37 val = (ival << 1) ^ 0x8000;37 val = (ival << 1) ^ (int16_t)0x8000; 38 38 break; 39 39 … … 64 64 /* ++++++++++++++++++++++++++++ FPU interrupts disabled +++++++++++++++++++++ */ 65 65 66 *(fpu + (int32_t)FPU_TNV0) = val;66 *(fpu + (int32_t)FPU_TNV0) = (uint16_t)val; 67 67 ++nop; ++nop; ++nop; 68 *(fpu + (int32_t)FPU_TNV1) = val;68 *(fpu + (int32_t)FPU_TNV1) = (uint16_t)val; 69 69 ++nop; ++nop; ++nop; 70 70 *(fpu + (int32_t)FPU_TCTL) = 0x0015; … … 91 91 if (stat) { 92 92 93 fp_resv[0] = 0x8300; /* amplitude (off) */93 fp_resv[0] = -32000; /* amplitude (off) */ 94 94 fp_resv[1] = (ps_intn * 10) << 5; /* intensity */ 95 95 fp_resv[2] = (ps_rate * 10) << 5; /* sweep rate */
Note:
See TracChangeset
for help on using the changeset viewer.