1 | #ifndef OS2_INCLUDED
|
---|
2 | extern "C" {
|
---|
3 | #define INCL_NOPMAPI
|
---|
4 | #include <os2.h>
|
---|
5 | }
|
---|
6 | #endif
|
---|
7 | PSZ apszErrorMessage[] = {
|
---|
8 | (PSZ) "",
|
---|
9 | (PSZ) "Heap initialization failed to provide requested memory size",
|
---|
10 | (PSZ) "Bad parameter on DEVICE= line",
|
---|
11 | (PSZ) "Resource Manager object creation failed",
|
---|
12 | (PSZ) "Resource Manager did not locate WSS/SB",
|
---|
13 | (PSZ) "Resource Manager unable to locate available IO resources",
|
---|
14 | (PSZ) "OS/2 RM providing too many resources, PnP Device ID=%lx",
|
---|
15 | (PSZ) "OS/2 RM failed RMCreateDriver() rc=%d",
|
---|
16 | (PSZ) "OS/2 RM failed RMCreateAdapter() rc=%d",
|
---|
17 | (PSZ) "OS/2 RM failed RMCreateDevice(%s) rc=%d",
|
---|
18 | (PSZ) "OS/2 RM failed allocation of IO port 0x%x, rc=%d",
|
---|
19 | (PSZ) "OS/2 RM failed allocation of IRQ level 0x%x, rc=%d",
|
---|
20 | (PSZ) "OS/2 RM failed allocation of DMA channel %d, rc=%d",
|
---|
21 | (PSZ) "OS/2 RM failed allocation of unrecognized resource type %d, rc=%d",
|
---|
22 | (PSZ) "ICS2115 initialization failure rc=%x",
|
---|
23 | (PSZ) "MPU-401 IO failure, code %d",
|
---|
24 | (PSZ) "MIDIMSG object, too many bytes for status byte %b",
|
---|
25 | (PSZ) "iMessageLength() called for unrecognized byte %x",
|
---|
26 | (PSZ) "iSysexLength() called for unsupported IBM sysex %b %b",
|
---|
27 | (PSZ) "Unexpected System Common status %b",
|
---|
28 | (PSZ) "RM object does not recognize search flags.",
|
---|
29 | (PSZ) "OS/2 RM failed RMDevIDToHandleList() for PnP Device ID=%lx, rc=%d",
|
---|
30 | (PSZ) "OS/2 RM failed RMHandleToResourceHandleList(), rc=%d",
|
---|
31 | (PSZ) "OS/2 RM failed RMGetNodeInfo(), rc=%d",
|
---|
32 | (PSZ) "RM call to DevHelp_GetDOSVar() fails, rc=%d",
|
---|
33 | (PSZ) "OS/2 System Timer not available",
|
---|
34 | (PSZ) "No timer available to drive MIDI stream.",
|
---|
35 | (PSZ) "RTMIDI initialization error, code=%d",
|
---|
36 | (PSZ) "RTMIDI Validity check fails on initial of exchange of entry points",
|
---|
37 | (PSZ) "RT MIDI fails registration of MIDI device name: %s",
|
---|
38 | (PSZ) "Heap memory allocation failure on request for %d bytes",
|
---|
39 | (PSZ) "DevHelp_AllocateCtxHook fails call from Timer object",
|
---|
40 | }; // PSZ apszErrorMessage[]
|
---|
41 | PSZ apszStatusMessage[] = {
|
---|
42 | (PSZ) "",
|
---|
43 | (PSZ) "OS/2 supplies IO adr %0x IRQ %x for WSS/SB base",
|
---|
44 | (PSZ) "OS/2 supplies IO adr %0x for FM Synth base",
|
---|
45 | (PSZ) "OS/2 supplies IO adr %0x IRQ %x for ICS 2115 Synth",
|
---|
46 | (PSZ) "OS/2 RM detects no resources for detected device, PnP Device ID=%lx",
|
---|
47 | (PSZ) "Using OS/2 kernel timer for MIDI",
|
---|
48 | (PSZ) "Using timer hardware from audio adapter for MIDI",
|
---|
49 | (PSZ) "RTMIDI reports good registration of MIDI device name: %s",
|
---|
50 | }; // PSZ apszStatusMessage[]
|
---|
51 | PSZ apszTraceMessage[] = {
|
---|
52 | (PSZ) "",
|
---|
53 | (PSZ) "System Common status %b data %b %b",
|
---|
54 | (PSZ) "Sysex: PPQN scalar %d yields %ld uSec PPQN time interval",
|
---|
55 | (PSZ) "Sysex: Tempo value %ld yields %ld uSec PPQN time interval",
|
---|
56 | (PSZ) "Time compression short (uSec) %ld",
|
---|
57 | (PSZ) "Time compression long (uSec) %ld",
|
---|
58 | (PSZ) "IBM Sysex ignored, 1st bytes following signature %b %b",
|
---|
59 | (PSZ) "System Real Time %b",
|
---|
60 | (PSZ) "Note Off, channel %b note %b",
|
---|
61 | (PSZ) "Note On, channel %b note %b",
|
---|
62 | (PSZ) "Channel Pressure, channel %b data %b",
|
---|
63 | (PSZ) "Program Change, channel %b data %b",
|
---|
64 | (PSZ) "Control Change, channel %b data %b %b",
|
---|
65 | (PSZ) "Polyphonic Key Pressure, channel %b data %b %b",
|
---|
66 | (PSZ) "Pitch Bend, channel %b data %b %b",
|
---|
67 | (PSZ) "",
|
---|
68 | (PSZ) "%q",
|
---|
69 | (PSZ) "%q",
|
---|
70 | (PSZ) "%x %x",
|
---|
71 | (PSZ) "AudioBuffer Wr Dest %0lx Src %0lx Cnt %0lx",
|
---|
72 | (PSZ) "AudioBuffer Rd Dest %0lx Src %0lx Cnt %0lx",
|
---|
73 | (PSZ) "AudioBuffer Fl %0lx Cnt %0x Dat %0x",
|
---|
74 | (PSZ) "Update AudioBuffer Delta Count %0lx",
|
---|
75 | (PSZ) "AudioBuffer Status RdWr %0lx Con/Pru %0lx ",
|
---|
76 | (PSZ) "DDCMD Setup Time %0lx",
|
---|
77 | (PSZ) "DDCMD Read %0lx Sz %0lx",
|
---|
78 | (PSZ) "DDCMD Write %0lx Sz %0lx",
|
---|
79 | (PSZ) "DDCMD Status",
|
---|
80 | (PSZ) "DDCMD Enable Event %0lx Time: %0lx Type %lx Flags %lx Pop %lx",
|
---|
81 | (PSZ) "DDCMD UpDate Event %0lx Time: %0lx Type %lx Flags %lx Pop %lx",
|
---|
82 | (PSZ) "DDCMD Disable Event %0lx",
|
---|
83 | (PSZ) "DDCMD PauseStreamTime",
|
---|
84 | (PSZ) "DDCMD ResumeStreamTime",
|
---|
85 | (PSZ) "DDCMD Register Stream %0lx SysFileNum %0lx",
|
---|
86 | (PSZ) "DDCMD DeRegister Stream %0lx",
|
---|
87 | (PSZ) "Buffer Returned %0lx",
|
---|
88 | (PSZ) "Starting Wave Stream %0lx",
|
---|
89 | (PSZ) "Stopping Wave Stream %0lx",
|
---|
90 | (PSZ) "Paws Wave Stream %0lx",
|
---|
91 | (PSZ) "Resume Wave Stream %0lx",
|
---|
92 | (PSZ) "Starting Midi Stream %0lx",
|
---|
93 | (PSZ) "Stopping Midi Stream %0lx",
|
---|
94 | (PSZ) "Paws Midi Stream %0lx",
|
---|
95 | (PSZ) "Resume Midi Stream %0lx",
|
---|
96 | (PSZ) "Config Wave Hardware Clock %x Fmt %x Count %x",
|
---|
97 | (PSZ) "Wave Play ISR Entered",
|
---|
98 | (PSZ) "Wave Play ISR Exit",
|
---|
99 | (PSZ) "Wave Play ISR No Stream Active",
|
---|
100 | (PSZ) "Wave Play ISR Called %x",
|
---|
101 | (PSZ) "Wave Capture ISR Entered",
|
---|
102 | (PSZ) "Wave Capture ISR Exit",
|
---|
103 | (PSZ) "Wave Capture ISR No Stream Active",
|
---|
104 | (PSZ) "Wave Capture ISR Called %x",
|
---|
105 | (PSZ) "Strategy Open SysFileNum %x",
|
---|
106 | (PSZ) "Strategy Open Err Device Busy SysFileNum %x",
|
---|
107 | (PSZ) "Strategy Close SysFileNum %x",
|
---|
108 | (PSZ) "Ioctl Status %x",
|
---|
109 | (PSZ) "Audio Init Mode Mode:%x SysFileNum:%x",
|
---|
110 | (PSZ) "Audio IOCTL Control",
|
---|
111 | (PSZ) "Audio IOCTL Caps DataType: %0lx SysFileNum:%x",
|
---|
112 | (PSZ) "Audio IOCTL BAD Function: %x",
|
---|
113 | (PSZ) "Audio IOCTL BAD Catagory: %x",
|
---|
114 | (PSZ) "MixGetConnections Line:%0lx Connections:%0lx",
|
---|
115 | (PSZ) "MixGetConnections Bad Line%0lx",
|
---|
116 | (PSZ) "MixGetConnections Bad RC from Query:%0x Line%0lx",
|
---|
117 | (PSZ) "MixSetConnections Line:%0lx Connection:%0lx",
|
---|
118 | (PSZ) "MixSetConnections Disc Bad Rc Line:%0lx",
|
---|
119 | (PSZ) "MixSetConnections Bad GetLineIndex Rc Line:%0lx",
|
---|
120 | (PSZ) "MixSetConnections Bad Connection Value:%0lx",
|
---|
121 | (PSZ) "MixSetConnections Bad Connect RC Line:%0lx Connection:%0lx",
|
---|
122 | (PSZ) "MixGetLineInfo Line:%0lx Chn:%0lx Cont:%0lx Con:%0lx",
|
---|
123 | (PSZ) "MixGetLineInfo Bad Line :%0lx",
|
---|
124 | (PSZ) "MixGetLineInfo Bad QueryInfo RC Line: %0lx",
|
---|
125 | (PSZ) "MixGetControl Line:%0lx Control:%0lx Value:%0lx",
|
---|
126 | (PSZ) "MixGetControl Bad Line:%0lx",
|
---|
127 | (PSZ) "MixGetControl Bad QueryControl RC Line:%0lx Control:%0lx",
|
---|
128 | (PSZ) "MixSetControl Line:%0lx Control:%0lx Setting:%0lx",
|
---|
129 | (PSZ) "MixSetControl Bad Line:%0lx",
|
---|
130 | (PSZ) "MixSetControl Bad SetControl RC Line:%0lx Control:%0lx",
|
---|
131 | (PSZ) "Destroying Stream Killing Buffers on In Process Queue",
|
---|
132 | (PSZ) "Destroying Stream Killing Buffers on In Done Queue",
|
---|
133 | (PSZ) "Destroying Stream Killing Events",
|
---|
134 | (PSZ) "Returning Event %lx Time %lx",
|
---|
135 | (PSZ) "MixDevConnect No Connect Entry Source:%0x Sink:%0x",
|
---|
136 | (PSZ) "MixDevControl No Control Entry Line:%0x Control:%0x",
|
---|
137 | (PSZ) "DoIntAdjOp Bad Value %0lx",
|
---|
138 | (PSZ) "DoIntAdjOp Reg Adjust Reg1:%0x Data:%0x",
|
---|
139 | (PSZ) "DoIntBoolOp Bool Reg1:%0x Data:%0x",
|
---|
140 | }; // PSZ apszTraceMessage[]
|
---|