what's special about syscall?
Posted: Sun Jul 20, 2008 3:50 pm
hi
i have a working keyboard and clock handler
i even got multitasking to work, so now i have 2 tasks that are executing alternatively, each displaying some message in a tight loop
now i tried to install a system call handler
i wrote a simple routine that just prints out some message like "hi i'm a system call"
next i hooked this routine with an interrupt task gate, the exact same way as i did for my keyboard and clock handler
then i inserted some int(32) instruction into one of my tasks, but they still execute as before (i was of course expecting the system call message!)
can someone help me? is there something special with the int instruction as opposed to hardware interrupts?
thanks
martin
i have a working keyboard and clock handler
i even got multitasking to work, so now i have 2 tasks that are executing alternatively, each displaying some message in a tight loop
now i tried to install a system call handler
i wrote a simple routine that just prints out some message like "hi i'm a system call"
next i hooked this routine with an interrupt task gate, the exact same way as i did for my keyboard and clock handler
then i inserted some int(32) instruction into one of my tasks, but they still execute as before (i was of course expecting the system call message!)
can someone help me? is there something special with the int instruction as opposed to hardware interrupts?
thanks
martin