-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathio.src
39 lines (39 loc) · 955 Bytes
/
io.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
; put"@0:~lcc.i/o"
.page '~lcc.i/o'
; 08/22/84 ds
;
; defs for controller
;
;
;
; (c) commodore business machines (cbm)
;
; mos 6523a
; controller address to 6523a => $4000
h1 = *
;
;*******************************************************************
* =diskio
tedioa *=*+1 ; port a
; ted to disk interface port
;
data2 *=*+1 ; port b
; gcr data
;
portc *=*+1 ; port c
; bit 0: status low out
; bit 1: status high out
; bit 2: device change port out
; bit 3: handshake line out
; bit 4: mode read =1 out
; bit 5: device jumper, dev8=0 in
; bit 6: sync in
; bit 7: handshake line in
;
drva2 *=*+1 ; data direction control port a
;
ddra2 *=*+1 ; data direction control port b
ddrc2 *=*+1 ; data direction control port c
;
* = h1
; .end