-
Notifications
You must be signed in to change notification settings - Fork 82
/
lccio.src
66 lines (40 loc) · 1.03 KB
/
lccio.src
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
55
56
57
58
59
60
61
62
63
64
65
66
.page
.subttl lccio
cntst = *
; defs for low cost controller
;
; written by glenn stark
; 4/1/80
;
; (c) commodore business machines
;
timer1 = $1805 ; timer 1 counter
; mos 6522 address $1c00
* =$1c00
dskcnt *=*+1 ; port b
; disk i/o control lines
; bit 0: step in
; bit 1: step out
; bit 2: -motor on
; bit 3: act led
; bit 4: write protect sense
; bit 5: density select 0
; bit 6: density select 1
; bit 7: sync detect
data2 *=*+1 ; port a
; gcr data input and output port
ddrb2 *=*+1 ; data direction control
ddra2 *=*+1 ; data direction control
t1lc2 *=*+1 ; timer 1 low counter
t1hc2 *=*+1 ; timer 1 hi countr
t1ll2 *=*+1 ; timer 1 low latch
t1hl2 *=*+1 ; timer 1 hi latch
t2ll2 *=*+1 ; timer two low latch
t2lh2 *=*+1 ; timer two hi latch
sr2 *=*+1 ; shift register
acr2 *=*+1
pcr2 *=*+1
ifr2 *=*+1
ier2 *=*+1
* = cntst
; .end