Rev 1119 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1119 | Rev 1124 | ||
---|---|---|---|
Line 97... | Line 97... | ||
97 | 97 | ||
98 | // z-controller |
98 | // z-controller |
99 | if (conf.zc && (port & 0xFF) == 0x57 ) |
99 | if (conf.zc && (port & 0xFF) == 0x57 ) |
100 | { |
100 | { |
101 | if ((port & 0x80FF) == 0x8057 && conf.mem_model == MM_ATM3 |
101 | if ((port & 0x80FF) == 0x8057 && conf.mem_model == MM_ATM3 |
102 | &&(comp.flags & CF_DOSPORTS)) |
102 | &&(comp.flags & CF_DOSPORTS)) Zc.Wr(0x0077, val); |
- | 103 | else Zc.Wr(port, val); |
|
103 | return; |
104 | return; |
- | 105 | } |
|
- | 106 | ||
- | 107 | if ( conf.zc && ( (port & 0xFF) == 0x77 ) ) |
|
- | 108 | { |
|
- | 109 | if ( ( conf.mem_model != MM_ATM3 ) || ( ( comp.flags & CF_DOSPORTS) == 0 ) ) |
|
- | 110 | { |
|
104 | Zc.Wr(port, val); |
111 | Zc.Wr(port, val); |
105 | return; |
112 | return; |
106 | } |
113 | } |
- | 114 | } |
|
107 | 115 | ||
108 | if(conf.wiznet && (port & 0xff) == 0xab ){ |
116 | if(conf.wiznet && (port & 0xff) == 0xab ){ |
109 | pXXAB_Write(port,val); |
117 | pXXAB_Write(port,val); |
110 | return; |
118 | return; |
111 | } |
119 | } |