Can somebody give me a working template of an interrupt in gnu assembler?
thanx in advance
interrupt template for gnu assembler
Re:interrupt template for gnu assembler
Do InterruptServiceRoutines and How AT&T Syntax Differs From NASM help you?
Every good solution is obvious once you've found it.
Re:interrupt template for gnu assembler
srry, but not really.. how do i tell my pc that the function is an isr and has to call that specific function when e.g. a key on my keyboard is pressed?
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:interrupt template for gnu assembler
you as th kernel developer tell this the cpu:
*here* is the interrupt descriptor table and *here* are the functions you have to call in case an interrupt occurs.
basically, the cpu does nothing else but receiving an event (roughly spoken) looking up the corresponding function and jumping to it. Thats kinda automation you have to provide it with.
How? Solars link should provide this information, hm?
*here* is the interrupt descriptor table and *here* are the functions you have to call in case an interrupt occurs.
basically, the cpu does nothing else but receiving an event (roughly spoken) looking up the corresponding function and jumping to it. Thats kinda automation you have to provide it with.
How? Solars link should provide this information, hm?
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:interrupt template for gnu assembler
or, stated otherwise, it is an ISR *because* you write its address in some slot of the IDT .. And it will be called for keypress *because* you select the slot corresponding to IRQ1Whatever wrote: srry, but not really.. how do i tell my pc that the function is an isr and has to call that specific function when e.g. a key on my keyboard is pressed?