source: buchla-68k/ram/swinit.x@ a4bd34f

Last change on this file since a4bd34f was c93e44d, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Fixed msm.c.

  • Property mode set to 100644
File size: 4.9 KB
Line 
1/*
2 =============================================================================
3 swinit.c -- external declarations
4 =============================================================================
5*/
6
7#pragma once
8
9#include "fields.h"
10#include "libdsp.h"
11#include "midas.h"
12#include "score.h"
13#include "scwheel.h"
14#include "stddefs.h"
15#include "stdint.h"
16
17#include "vtyper.x"
18
19/*
20 =============================================================================
21 external variables
22 =============================================================================
23*/
24
25extern int16_t BGeq[14];
26extern int16_t BGother[14];
27extern int16_t BGprmtr[14];
28extern int16_t BarBcur[14];
29extern int16_t BarCcur[14];
30extern int16_t BotEdge;
31extern int16_t LftEdge;
32extern int16_t RgtEdge;
33extern int16_t TopEdge;
34extern int32_t afi;
35extern int16_t articen[12];
36extern LPF aswtbl[14];
37extern int8_t bfs[128];
38extern int8_t caname[16];
39extern int16_t *cratex;
40extern int16_t *cratey;
41extern int32_t ctime;
42extern void (*curmove)(void);
43extern int32_t curtime;
44extern int16_t (*curtype)(void);
45extern void (*cx_key)(void);
46extern void (*cx_upd)(void);
47extern void (*cy_key)(void);
48extern void (*cy_upd)(void);
49extern void (*d_key)(int16_t k);
50extern int8_t dspbuf[65];
51extern int32_t dvwork;
52extern void (*e_key)(void);
53extern int8_t ebuf[MAXEBUF+1];
54extern int8_t errbuf[65];
55extern int32_t frags;
56extern int8_t *funcndx[256][2];
57extern int16_t grpdyn[12];
58extern int16_t grploc[12];
59extern int16_t grpmode[12];
60extern int16_t grpsel[12];
61extern int16_t grpstat[12];
62extern int16_t grptmap[12];
63extern int16_t gtctab[12];
64extern int32_t hwave[NUMWPCAL];
65extern int8_t idbuf[65];
66extern int16_t ins2grp[12];
67extern int16_t instmod[12];
68extern int32_t iotime;
69extern void (*itxput)(int16_t row, int16_t col, int8_t *txt, int16_t tag);
70extern int16_t key2grp[88];
71extern int8_t keystat[24];
72extern int16_t lastart[16];
73extern int16_t lastvce[12];
74extern int16_t lastvel[12];
75extern int32_t lcdontm;
76extern int32_t lcdtime;
77extern int32_t lcsum;
78extern int8_t ldcmnt[38];
79extern int8_t ldfile[9];
80extern int16_t ldmap[N_SCORES];
81extern int8_t ldmsg1[65];
82extern int8_t ldmsg2[65];
83extern int8_t ldmsg3[65];
84extern int8_t *lmln22;
85extern int8_t *lmln23;
86extern int8_t *lmln24;
87extern int8_t loadedc[NLTYPES][37];
88extern int8_t loadedf[NLTYPES][8];
89extern void (*m_key)(void);
90extern int8_t masens[3];
91extern int16_t mctlnum[4];
92extern int16_t mctlval[NCTRLS];
93extern int16_t mdbyte[3];
94extern int16_t mpbend[48];
95extern int8_t mpsust[48];
96extern int16_t mrstat[3];
97extern int16_t msmstv[3];
98extern int32_t ndbytes;
99extern int32_t nlpersc[N_SCORES];
100extern int16_t (*not_fld)(int16_t k);
101extern int32_t noteoff;
102extern int32_t noteon;
103extern int32_t noteper;
104extern int32_t noteval;
105extern int32_t nrest;
106extern int16_t offsets[NUMWPCAL];
107extern void (*olddkey)(int16_t k);
108extern void (*oldekey)(void);
109extern void (*oldmkey)(void);
110extern LPF (*oldsw)[];
111extern int16_t oldtun[128];
112extern void (*oldxkey)(void);
113extern void (*premove)(void);
114extern int16_t prstab[NTRIGS];
115extern int32_t *pspool;
116extern void (*pstmove)(void);
117extern int16_t s_inst[12];
118extern int16_t s_trns[12];
119extern int32_t schksum;
120extern int8_t scname[N_SCORES][16];
121extern int32_t scsums[N_SCORES];
122extern int32_t se1_cnt;
123extern int32_t se2_cnt;
124extern int32_t se3_cnt;
125extern BOOL se_chg;
126extern int32_t snbreq;
127extern int32_t snlreq;
128extern int32_t sntbreq;
129extern int32_t sntlreq;
130extern int32_t spcount;
131extern int32_t spool[MAX_SE];
132extern int32_t swcount;
133extern int16_t swfifo[NSWFIFO];
134extern LPF (*swpt)[];
135extern int32_t swrate;
136extern int32_t swrmin;
137extern int32_t swtemp;
138extern int32_t t_bak;
139extern int32_t t_cbgn;
140extern int32_t t_cend;
141extern int32_t t_ctr;
142extern int32_t t_cur;
143extern int32_t t_fwd;
144extern int32_t t_ins;
145extern int32_t t_note;
146extern int32_t t_sbgn;
147extern int32_t t_sec1;
148extern int32_t t_sec2;
149extern int32_t t_sect;
150extern int32_t t_send;
151extern int8_t trgtab[NTRIGS];
152extern int8_t tuncurn[33];
153extern int8_t tunname[NTUNS][32];
154extern int16_t tuntab[128];
155extern int16_t txfifo[NTKFIFO];
156extern int16_t tyfifo[NTKFIFO];
157extern int16_t vce2grp[12];
158extern int16_t vce2trg[12];
159extern int16_t veltab[NTRIGS];
160extern int32_t vknm[NUMHARM][NUMWPCAL];
161extern int8_t *vlbptr[3];
162extern int16_t vmtab[NUMHARM];
163extern vtcurs vt_adv;
164extern vtcurs vt_bsp;
165extern vtcurs vt_cdn;
166extern vtcurs vt_cup;
167extern vtchar vt_dsp;
168extern vtcurs vt_stop;
169extern int8_t *vtdeptr;
170extern int16_t wsbuf[NUMWPCAL];
171extern int32_t wshfac;
172extern void (*x_key)(void);
173extern void (*xy_dn)(void);
174extern void (*xy_up)(void);
175
176/*
177 =============================================================================
178 external functions
179 =============================================================================
180*/
181
182extern void swinit(void);
Note: See TracBrowser for help on using the repository browser.