Page 1 of 1

more problems.. =)

Posted: Wed Sep 24, 2003 11:00 pm
by bubach
how do i make os interrupts in real mode?? it worked fine in "hello world" bootsector, but in my kernel the os hangs with the same code..

how is the coorect way of setting up os interrupt in real mode?

thanks in advance
/Christoffer

RE:more problems.. =)

Posted: Thu Sep 25, 2003 11:00 pm
by Ramanan
There no such big difference. But make sure your segment registers are correctly set before and after the interrupt.

rgds,
YogaRamanan.T

RE:more problems.. =)

Posted: Thu Sep 25, 2003 11:00 pm
by bubach
so how should i set up the registers for it to work?

RE:more problems.. =)

Posted: Fri Sep 26, 2003 11:00 pm
by Ramanan
Hi,
i guess that, some how u have damaged the mem above 0x0500::0x0000 area. or u didn't set the enough stack area and stack ponter. check that 1st then check the registers that interrupt may affect and return the values.
These al only the guess... i can't xactly point out untill i kno abt ur code, booloader, compiler etc.

:)
YogaRamanan.T