Page 1 of 1

bios get key

Posted: Sat Jun 15, 2002 11:00 pm
by netster403
how do i pause. I tried using jmp $ but i am in PM and it reboots. is there a way to pause with out rebooting?

RE:bios get key

Posted: Sun Jun 16, 2002 11:00 pm
by Chase
jmp $ works in PMode. Did you turn off interrupts or setup your IDT and handlers? You might be triple faulting when an interrupt is fired.

RE:bios get key

Posted: Sun Jun 16, 2002 11:00 pm
by netster403
never mind, my loader wasent loading at the right location, oops :)

here is bios get key code in asm:

mov ah,0 ; await key pressed
int 16h