Changeset 7258c6a in buchla-68k for ram/sqscan.c
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/sqscan.c
r0292fbb r7258c6a 15 15 16 16 #if CHEKSTOP 17 short chkstop = TRUE;17 int16_t chkstop = TRUE; 18 18 #endif 19 19 20 extern short notenum, notepit, curgrp, thescore, verbose;21 extern short testing;22 extern short sharp, endflg;23 24 extern longcurtime, noteon, noteoff, noteval, noteper, nrest;25 extern longdvwork;26 27 char*nlist[] = { "a", "b", "c", "d", "e", "f", "g", NULL };28 29 int notetab[] = { 0, 2, 3, 5, 7, 8, 10 };30 int octab[] = { 21, 33, 45, 57, 69, 81, 93, 105 };20 extern int16_t notenum, notepit, curgrp, thescore, verbose; 21 extern int16_t testing; 22 extern int16_t sharp, endflg; 23 24 extern int32_t curtime, noteon, noteoff, noteval, noteper, nrest; 25 extern int32_t dvwork; 26 27 int8_t *nlist[] = { "a", "b", "c", "d", "e", "f", "g", NULL }; 28 29 int16_t notetab[] = { 0, 2, 3, 5, 7, 8, 10 }; 30 int16_t octab[] = { 21, 33, 45, 57, 69, 81, 93, 105 }; 31 31 32 32 /* … … 40 40 */ 41 41 42 void nospace( char*et)42 void nospace(int8_t *et) 43 43 { 44 44 … … 67 67 */ 68 68 69 int Pcheck(struct s_entry *ptr, char*msg)69 int16_t Pcheck(struct s_entry *ptr, int8_t *msg) 70 70 { 71 71 register struct s_entry *cval; … … 94 94 } 95 95 96 cval = &spool[( long)MAX_SE-1];96 cval = &spool[(int32_t)MAX_SE-1]; 97 97 98 98 if (ptr GT cval) { … … 119 119 */ 120 120 121 struct n_entry *insnevt(struct n_entry *nsp, short nt, short grp, short note, short vel)121 struct n_entry *insnevt(struct n_entry *nsp, int16_t nt, int16_t grp, int16_t note, int16_t vel) 122 122 { 123 123 nsp->e_time = t_cur; … … 140 140 */ 141 141 142 int Qevent(void)142 int16_t Qevent(void) 143 143 { 144 register int aux1, aux2, aux3, aux4, aux5;145 register char*chptr;144 register int16_t aux1, aux2, aux3, aux4, aux5; 145 register int8_t *chptr; 146 146 register struct s_entry *tsp1, *tsp2; 147 147 struct s_entry *tsp3; … … 858 858 */ 859 859 860 int Qnote(void)860 int16_t Qnote(void) 861 861 { 862 862 struct n_entry *nsp1; … … 1026 1026 */ 1027 1027 1028 int Qadv(void)1028 int16_t Qadv(void) 1029 1029 { 1030 1030 if (CM_CHR('.')) { /* advance by 1 frame */ … … 1070 1070 */ 1071 1071 1072 int Qseq(void)1072 int16_t Qseq(void) 1073 1073 { 1074 1074 CM_DBLK; … … 1141 1141 */ 1142 1142 1143 int sqscan(char*ip)1143 int16_t sqscan(int8_t *ip) 1144 1144 { 1145 1145 endflg = FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.