Changeset 00c31a2 in buchla-68k for ram/etiosc.c
- Timestamp:
- 11/15/2017 07:46:27 PM (7 years ago)
- Branches:
- master
- Children:
- 58ff1a9
- Parents:
- 72741f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/etiosc.c
r72741f4 r00c31a2 102 102 int16_t cnvp2c(void) 103 103 { 104 if (ebuf[0] EQ 9) /* high limit is C9 00 */104 if (ebuf[0] EQ 9) { /* high limit is C9 00 */ 105 105 if (ebuf[1] GT 2) 106 106 return(FAILURE); 107 else if (ebuf[1] EQ 2) 107 else if (ebuf[1] EQ 2) { 108 108 if (ebuf[2] NE 7) 109 109 return(FAILURE); 110 110 else if (ebuf[3] OR ebuf[4]) 111 111 return(FAILURE); 112 } 113 } 112 114 113 115 cents = (ebuf[0] * 1200) + pitches[ebuf[1]] + shrpflt[ebuf[2] - 7]
Note:
See TracChangeset
for help on using the changeset viewer.