24 {
25 DWORD cmd, b,
c,
n, a, f, *pdword, *size, *x, *
q, dtemp;
26 WORD *pword, *pdata, temp;
28
29
42
43
46 else
48
49 switch (cmd) {
50
53 break;
56 break;
59 break;
62 break;
63
65 break;
66
70 if (f < 16)
71 cam16i_q(
c,
n, a, f, pword++, (
int *) x, (
int *)
q);
72 else if (f < 24)
74 else
76 } else {
78 if (f < 16)
79 cam24i_q(
c,
n, a, f, pdword++, (
int *) x, (
int *)
q);
80 else if (f < 24)
82 else
84 }
85
86 break;
87
90 if (f < 16) {
93 }
94 } else {
95 if (f < 16) {
98 }
99 }
100
101
102 break;
103
104 default:
105 printf("cnaf: Unknown command 0x%X\n", (unsigned int) cmd);
106 }
107
110 printf("cmd=%d r=%d c=%d n=%d a=%d f=%d d=%X x=%d q=%d\n",
111 (
int) cmd, (
int)
count, (
int)
c, (
int)
n, (
int) a, (
int) f,
112 (
int) pword[0], (
int) *x, (
int) *
q);
114 printf("cmd=%d r=%d c=%d n=%d a=%d f=%d d=%X x=%d q=%d\n",
115 (
int) cmd, (
int)
count, (
int)
c, (
int)
n, (
int) a, (
int) f,
116 (
int) pdword[0], (
int) *x, (
int) *
q);
117 }
118
120}
EXTERNAL void EXPRT cam24o_q(const int c, const int n, const int a, const int f, DWORD d, int *x, int *q)
EXTERNAL void EXPRT cam16i_q(const int c, const int n, const int a, const int f, WORD *d, int *x, int *q)
EXTERNAL void EXPRT cam_inhibit_set(const int c)
EXTERNAL void EXPRT cam24i_q(const int c, const int n, const int a, const int f, DWORD *d, int *x, int *q)
EXTERNAL void EXPRT cam_inhibit_clear(const int c)
EXTERNAL void EXPRT cam16o_q(const int c, const int n, const int a, const int f, WORD d, int *x, int *q)
EXTERNAL void EXPRT cam_crate_clear(const int c)
EXTERNAL void EXPRT cam16i_rq(const int c, const int n, const int a, const int f, WORD **d, const int r)
EXTERNAL void EXPRT cam24i_rq(const int c, const int n, const int a, const int f, DWORD **d, const int r)
EXTERNAL void EXPRT cam_crate_zinit(const int c)
static std::string q(const char *s)
#define CNAF_INHIBIT_CLEAR