Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | - | 1 | || FILE: #0202.PLD |
2 | || PROJ: 20120601 |
||
3 | || PART: G26CV12-#0202 |
||
4 | || |
||
5 | || DEV : GAL26CV12 |
||
6 | || |
||
7 | || DESC: DECODER I/O |
||
8 | || |
||
9 | | |
||
10 | |GAL26CV12 |
||
11 | | |
||
12 | || INPUT |
||
13 | | 1:A8, 2:A9, 3:A10, 4:A11, 5:A12, 6:A13, 8:A14, 9:A15, 10:A16, |
||
14 | | 11:A17, 12:A18, 13:A19, 14:A20, 15:A21, 16:A22, 17:A23, |
||
15 | | 27:VMA, 28:A7, 26:VDA, |
||
16 | || OUTPUT |
||
17 | | 18:ME0, 19:ME1, 20:DBE, 22:DBX, 23:I00, 24:IO1, 25:IO2 |
||
18 | | |
||
19 | | ACTIVE-LOW: ME0, ME1, DBE, DBX, IO0, IO1, IO2 |
||
20 | | |
||
21 | | |
||
22 | | SIGNATURE: "0202 " |
||
23 | | |
||
24 | || -------------------------------------------------------- |
||
25 | || |
||
26 | || /IO0 -> 00FC00 - 00FC7F |
||
27 | || /IO1 -> 00FC80 - 00FCFF |
||
28 | || /IO2 -> 00FD00 - 00FDFF |
||
29 | || /ME0 -> 100000 - EFFFFF (RAM) |
||
30 | || /ME1 -> 010000 - 013FFF (RAM 16K) |
||
31 | || /DBE -> internal data bus enable |
||
32 | || /DBX -> external data bus enable |
||
33 | || |
||
34 | || -------------------------------------------------------- |
||
35 | || |
||
36 | | BANK0 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16' & VMA') |
||
37 | | BANK1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16 & VMA') |
||
38 | || -------------------------------------------------------- |
||
39 | || |
||
40 | || IOS -> 00FC00 - 00FDFF |
||
41 | | IOS = (BANK0 & A15 & A14 & A13 & A12 & A11 & A10 & A9' & VDA) |
||
42 | | IO0A = (IOS & A8' & A7') |
||
43 | | IO1A = (IOS & A8' & A7 ) |
||
44 | | IO2A = (IOS & A8) |
||
45 | | IO0 = IO0A |
||
46 | | IO1 = IO1A |
||
47 | | IO2 = IO2A |
||
48 | | CS1A = (A23' & A22' & A21' & A20' & A19 & VMA') |
||
49 | | CSHA = (A23 & A22 & A21 & A20 & A19 & VMA') |
||
50 | || BANK $01 : $010000 - $01FFFF |
||
51 | || BANK1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16 & VMA') |
||
52 | | ME1A = (BANK1 & A15' & A14') |
||
53 | | ME1 = CXA |
||
54 | || |
||
55 | || -------------------------------------------------------- |
||
56 | || RAM SELECT $100000 - $EFFFFF |
||
57 | || |
||
58 | || $100000 - $1FFFFF (1Mb) |
||
59 | | BLK1 = (A23' & A22' & A21' & A20 & VMA') |
||
60 | || $200000 - $3FFFFF (2Mb) |
||
61 | | BLK2 = (A23' & A22' & A21 & VMA') |
||
62 | || $400000 - $7FFFFF (4Mb) |
||
63 | | BLK3 = (A23' & A22 & VMA') |
||
64 | || $800000 - $BFFFFF (4Mb) |
||
65 | | BLK4 = (A23 & A22' & VMA') |
||
66 | || $C00000 - $DFFFFF (2Mb) |
||
67 | | BLK5 = (A23 & A22 & A21' & VMA') |
||
68 | || $E00000 - $EFFFFF (1Mb) |
||
69 | | BLK6 = (A23 & A22 & A21 & A20' & VMA') |
||
70 | | ME0A = (BLK1 # BLK2 # BLK3 # BLK4 # BLK5 # BLK6) |
||
71 | | ME0 = ME0A |
||
72 | || |
||
73 | || -------------------------------------------------------- |
||
74 | || INTERNAL DATA BUS ENABLE |
||
75 | || FIRST 16 BANKS OF RAM (1Mb), BUT NOT CX1, AND LAST 16 BANKS |
||
76 | || PLUS IO0 |
||
77 | || |
||
78 | || 16K BLOCK $014000 - $017FFF |
||
79 | | BR1 = (BANK1 & A15' & A14) |
||
80 | || 32K BLOCK $018000 - $01FFFF |
||
81 | | BR2 = (BANK1 & A15) |
||
82 | || |
||
83 | || BANK $01 RAM SELECT |
||
84 | | CS0B = (BR1 # BR2) |
||
85 | || |
||
86 | || BANK $02 & $03 : $020000 - $03FFFF (128K BLOK) |
||
87 | | CS0C = (A23' & A22' & A21' & A20' & A19' & A18' & A17 & VMA') |
||
88 | || |
||
89 | || BANK $03 - $07 : $040000 - $07FFFF (256K BLOK) |
||
90 | | CS0D = (A23' & A22' & A21' & A20' & A19' & A18 & VMA') |
||
91 | || |
||
92 | || BANK $00 - $07 RAM SELECTION (512K BLOCK) |
||
93 | | CS0A = (BANK0 # CS0B # CS0C # CS0D) |
||
94 | || BANKF0: $F00000 - $F7FFFF |
||
95 | | BANKF0 = (A23 & A22 & A21 & A20 & A19' & VMA') |
||
96 | | DBE = (CS0A # CS1A # BANKF0 # CSHA # IO0A) |
||
97 | || |
||
98 | || EXTERNAL DATA BUS ENABLE |
||
99 | || |
||
100 | | DBX = (ME0A # ME1A # IO1A # IO2A) |