Autor Thema: Tastatur treiber problem  (Gelesen 2349 mal)

thetrue

  • Beiträge: 216
    • Profil anzeigen
    • http://www.the-true.net
Gespeichert
« am: 20. July 2006, 14:07 »
also ich will den ScanCode Set 2 haben ...


bcheck:
in   al, 64h
and al, 02h
jnz bcheck

mov al, 0xED
out 0x60, al

bcheck2:
in   al, 64h
and al, 02h
jnz bcheck2

mov al, 0111b
out 60h, al

in al,60h ;Tastaturdaten holen


aber jetzt ist in al FAh, aber nicht der ScanCode ... Woran liegt das?

PS: der code ausschnitt ist aus IRQ1 ....


irq1:
pusha

bcheck:
in   al, 64h
and al, 02h
jnz bcheck

mov al, 0xED
out 0x60, al

bcheck2:
in   al, 64h
and al, 02h
jnz bcheck2

mov al, 0111b
out 60h, al

in al,60h ;Tastaturdaten holen


;mov eax, al
call num_to_str
mov esi, puffer
mov al, 0x00
int 30h


mov al, 0x20 ;EOI-Wert in AL ablegen
out 0x20, al ;EOI an Master-PIC senden
popa
iret
thetrue way is my way

bitmaster

  • Troll
  • Beiträge: 1 138
    • Profil anzeigen
    • OS-64 = 64 Bit Operating System
Gespeichert
« Antwort #1 am: 20. July 2006, 17:12 »
Hä? Verstehst du überhaubt was du da programmierst? Unsere abmachung war ja nicht ganz so, nicht wahr? Na ja, ich bin in 4 Wochen mal gespannt wie dein Tastaturtreiber aussieht. ^^

bitmaster
In the Future everyone will need OS-64!!!

 

Einloggen