I would like to know if there is a way to do a dedicated never-ending loop styled polling system but include the ability to still accept things like keyboard interrupts?
Example: A dedicated network box that implements polling non-stop of network packets, can it be setup to still catch the keyboard scancodes from the handler?
Polling with Interrupts?
yes...
why wouldn't that work?
Code: Select all
sti
.loop:
<do poll check>
jmp .loop
interrupt_handler:
<do_interrupt_stuff>
iret