source: buchla-68k/orig/lib/INCLUDE/M7MIDI.H@ eee74cd

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

Imported original source code.

  • Property mode set to 100755
File size: 1.5 KB
Line 
1/*
2 =============================================================================
3 m7midi.h -- MIDI definitions for MIDAS on the Buchla 700
4 Version 1 -- 1987-11-18 -- D.N. Lynx Crowe
5
6 #define PT_DEFS in the module that gets the variables defined in it.
7 =============================================================================
8*/
9
10/* group assignment table definitions */
11
12#define RX_PORT 0 /* receiver input port 0..2 */
13#define RX_CHAN 1 /* receiver base channel 0, 1..16 */
14#define RX_MODE 2 /* receiver mode 0..3 */
15#define RX_MVAL 3 /* receiver M value 0, 1..16 */
16#define RX_MSMV 4 /* receiver MIDI state machine variable */
17
18#define TX_PORT 5 /* transmitter output port 0..2 */
19#define TX_CHAN 6 /* transmitter base channel 0, 1..16 */
20#define TX_MODE 7 /* transmitter mode 0..3 */
21#define TX_MVAL 8 /* transmitter M value 0, 1..16 */
22#define TX_MSMV 9 /* transmitter MIDI state machine variable */
23
24#define RT_SIZE 10 /* group assignment table width */
25
26/* port setup table */
27
28#define PT_ENBL 0 /* port enable flag */
29#define PT_BASE 1 /* port master base channel (0 = off, 1..16) */
30#define PT_PORT 2 /* port BIOS port number */
31#define PT_GRPS 3 /* port group flags (bit no. = group no.) */
32
33#define PT_SIZE 4 /* port setup table width */
34
35#ifdef PT_DEFS
36char grpasg[12][RT_SIZE]; /* group assignment data */
37short portasg[3][PT_SIZE]; /* port setup data */
38#else
39extern char grpasg[12][RT_SIZE];
40extern short portasg[3][PT_SIZE];
41#endif
Note: See TracBrowser for help on using the repository browser.