Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
mov eax, [ds:0xc000afcc] ; which is where irq6_state is
test eax, eax ; weird ???
jnz 0xc00023cd ; most likely out of the loop
call 0xc000442c ; yield();
i'm not sure what is going on, any help welcome
i'm using DJGPP
thx!
Last edited by GLneo on Thu Mar 01, 2007 5:52 pm, edited 1 time in total.
mov eax, [ds:0xc000afcc] ; which is where irq6_state is
test eax, eax ; weird ???
jnz 0xc00023cd ; most likely out of the loop
call 0xc000442c ; yield();
That's "if (irq6_state == 0) yield();". Which should be right, assuming there's a jump back to the top of the loop after the call to yield().