-
Notifications
You must be signed in to change notification settings - Fork 0
/
scc.h
54 lines (43 loc) · 1.39 KB
/
scc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/****************************************************************************************/
/* */
/* scc.h - SCC interupt handler table. */
/* */
/* Richard W. Mincher. 06/06/87. */
/* */
/* Copyright Apple Computer, Inc. 1987-88 */
/* All rights reserved. */
/****************************************************************************************/
#ifndef _scc_defined_
#define _scc_defined_
struct sccint
{
/* PROCESSORS */
void (*chbtbep)(); /* ch b transmit buffer empty procedure */
void (*chbescp)(); /* ch b external/status change procedure */
void (*chbrcap)(); /* ch b receive character available procedure */
void (*chbrscp)(); /* ch b receive special condition procedure */
void (*chatbep)(); /* ch a transmit buffer empty procedure */
void (*chaescp)(); /* ch a external/status change procedure */
void (*charcap)(); /* ch a receive character available procedure */
void (*charscp)(); /* ch a receive special condition procedure */
/* COUNTERS */
long chbtbec;
long chbescc;
long chbrcac;
long chbrscc;
long chatbec;
long chaescc;
long charcac;
long charscc;
/* ARGUMENTS */
long chbtbea;
long chbesca;
long chbrcaa;
long chbrsca;
long chatbea;
long chaesca;
long charcaa;
long charsca;
};
typedef struct sccint scctable;
#endif