guys I´m trying to create a do_int86 under my os pmode 32bits written with djgpp and nasm
how my do_int86 works, I schedule a v86 task then after finished the
v86 monitor takes that v86 task off
this function to use with bankswitching using vesa mode
takes a long time
cuz my timer is 10ms to each task
is there another way to create a int86 or my do_int86 ?
using iret or something ?
could anyone give me some examples, please
creating a do_int86
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
I don't know the code behind one, but I'd assume that it just loads all the registers with the values within the 'regs' structure you pass _int86 then just do an 'int 0xwhatever' to call it.
The reason it might take a long time is because you schedule the task... that could mean that it doesn't get any time to execute for a while.
The reason it might take a long time is because you schedule the task... that could mean that it doesn't get any time to execute for a while.