Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | - | 1 | |
2 | .LIST on |
||
3 | ; ACIA page 0 local var's |
||
4 | SERDP: .SECTION page0, ref_only, offset aciap0 |
||
5 | SERDP_START .EQU $ |
||
6 | |||
7 | ; acia 1 var's |
||
8 | aisr .DB ; interrupt status register |
||
9 | acsr .DB ; control status register |
||
10 | afr .DB ; format register |
||
11 | aout .DB ; XON/XOFF sending flag |
||
12 | |||
13 | ; acia 2 var's |
||
14 | .DS 4 |
||
15 | |||
16 | ;---------------------------------------------------------------------------- |
||
17 | |||
18 | ; acia 1 flag's |
||
19 | ahsk .DB ; handshake flag |
||
20 | ; <7>: handshake on |
||
21 | ; <6>: hardware handshake (RTS,CTS) |
||
22 | |||
23 | apause .DB ; local/remote pause flag |
||
24 | ; <7>: remote pause (XOFF/RTS=1) |
||
25 | ; <6>: local pause (XON/CTS=1) |
||
26 | |||
27 | arxe .DB ; rx data error flag |
||
28 | ; <7>: rx error (data discarded) |
||
29 | ; <6>: rx buffer overflow |
||
30 | ; <5>: remote disconnession |
||
31 | ; <2>: framing error |
||
32 | ; <1>: parity error |
||
33 | ; <0>: overrun error |
||
34 | |||
35 | arem .DB ; format register or'ing for remote pause |
||
36 | |||
37 | ; acia 2 flag's |
||
38 | .DS 4 |
||
39 | |||
40 | ;---------------------------------------------------------------------------- |
||
41 | |||
42 | ; acia 1 control line |
||
43 | adsrt .DB ; DSR,DCD,CTS transition status |
||
44 | ; <7>: DSRT, <6>: CTST, <5>: DCDT |
||
45 | |||
46 | adsrl .DB ; DSR,DCD,CTS level status |
||
47 | ; <7>: DSRL, <6>: CTSL, <5>: DCDL |
||
48 | |||
49 | amask .DB ; and mask for check remote disconnession |
||
50 | ; <7>: check DSR line - <5>: check DCD line |
||
51 | |||
52 | aptr .DB ; save acia pointer while ISR |
||
53 | |||
54 | ; acia 2 control line |
||
55 | .DS 3 |
||
56 | .DB |
||
57 | |||
58 | ;---------------------------------------------------------------------------- |
||
59 | |||
60 | ; buffer pointers |
||
61 | rxptr .DW ; pointer to rx buffer |
||
62 | txptr .DW ; pointer to tx buffer |
||
63 | rxptr2 .DW |
||
64 | txptr2 .DW |
||
65 | |||
66 | ;---------------------------------------------------------------------------- |
||
67 | |||
68 | ; tail pointers |
||
69 | aicnt .DW ; size of input tail queue |
||
70 | aitail .DW ; pointer to input tail queue |
||
71 | |||
72 | SERDP_SIZ .EQU ($-FSTMP_START) |
||
73 | .ENDS |
||
74 | .LIST off |