Rev 161 | Rev 210 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 161 | Rev 162 | ||
---|---|---|---|
Line 128... | Line 128... | ||
128 | 128 | ||
129 | pop edx eax |
129 | pop edx eax |
Line 130... | Line 130... | ||
130 | ret |
130 | ret |
131 | 131 | ||
132 | disable_ide_int: |
132 | disable_ide_int: |
133 | mov edx,[hdbase] |
133 | ; mov edx,[hdbase] |
134 | add edx,0x206 |
134 | ; add edx,0x206 |
- | 135 | ; mov al,2 |
|
135 | mov al,2 |
136 | ; out dx,al |
Line 136... | Line 137... | ||
136 | out dx,al |
137 | cli |
137 | ret |
138 | ret |
138 | 139 | ||
139 | enable_ide_int: |
140 | enable_ide_int: |
140 | mov edx,[hdbase] |
141 | ; mov edx,[hdbase] |
- | 142 | ; add edx,0x206 |
|
141 | add edx,0x206 |
143 | ; mov al,0 |
Line 142... | Line 144... | ||
142 | mov al,0 |
144 | ; out dx,al |
143 | out dx,al |
145 | sti |
144 | ret |
146 | ret |