I’m struggling with checking if Alt key is pressed in linux bootloader
int 0x16
mov ah, 0x0e
int 0x10
Above code prints ascii characters just fine, but how do I check for Alt key?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You test bit 3 of 0040h:0017h.
http://www.ousob.com/ng/bios/ng559a.php
Something like this (in AT/T syntax):
According to
objdump -d -M intel, that’s how it looks in Intel syntax:UPD: The following should work for NASM: