Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_int09:
- push eax
- in al, 60h ; прочитать код нажатой клавиши из порта клавиатуры
- cmp al, 1Ch ; сравниваем с кодом ентора
- jne not_leave
- mov escape, 1
- not_leave:
- scan_to_ascii_al 0
- ; Отправляем команду End Of Interrupt ведущему контроллеру прерываний
- mov al, 20h
- out 20h, al
- pop eax
- iretd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement