I wrote handlers fpr interrupts 0-17. Sometimes theres an int 13. Every Exceptionhandler causes the pc to hang. And that works. (Hardware ints are shifted to 32++). AND: it works if interrupts are off. Also: there is nothing that could cause a triple fault. Code is:
BITS 32
GLOBAL start
start:
cli
mov ax, 24
mov gs, ax
mov [gs:0], word 0x721
loopit:
jmp loopit
If i immediately switch back to the loader program everything is fine ... so i think that the timerinterrupt is the bad one. Theres a handler for it. Very misterious
. I can send you the code if you want.