flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > A20 Gate enabling |
Author |
|
zhak 28 Oct 2005, 15:24
what if someone uses USB keyboard and mouse? How to enable A20 then?
|
|||
28 Oct 2005, 15:24 |
|
Remy Vincent 29 Oct 2005, 01:20
Sure, very very complex drivers
_________________ Groups lower your IQ |
|||
29 Oct 2005, 01:20 |
|
bogdanontanu 29 Oct 2005, 15:03
The drivers are not very complex... (they will be included in the next release of Solar OS) .
It is just a bad internal design of the USB chips and standards... The resulting stuff is sub-optimal to say at least... but looks very nice for the user o the outside |
|||
29 Oct 2005, 15:03 |
|
zhak 30 Oct 2005, 17:57
Ralf Brown's PORTS.A Table P0401:
Quote:
So, as I understand to enable A20 I need to Code: mov al, 0DFh out 64h, al But in every source I was looking at I saw Code: mov al, 0D1h out 64h, al mov al, 0DFh out 60h, al What is that? And what is the difference between the two methods of enabling A20 that are described in 'enableA20.s' file: method #1 Code: mov al, 0D0h out 64h, al in al, 60h push ax mov al, 0D1h out 64h, al pop ax or al, 2 out 60h, al method #2: Code: mov al, 0D1h out 64h, al mov al, 0DFh out 60h, al |
|||
30 Oct 2005, 17:57 |
|
zhak 30 Oct 2005, 18:26
Oups, sorry. method #2 above is correct:
Code: mov AL, 0DFh out 64h, AL but in MenuetOS kernel I see the confusing sequence of instructions: Code: l.5: in al, 0x64 ; Enable A20 test al, 2 jnz l.5 mov al, 0xD1 out 0x64, al l.6: in al, 0x64 test al, 2 jnz l.6 mov al, 0xDF out 0x60, al Why is it so? |
|||
30 Oct 2005, 18:26 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.