more problems.. =)

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.
Post Reply
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

more problems.. =)

Post 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
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Ramanan

RE:more problems.. =)

Post by Ramanan »

There no such big difference. But make sure your segment registers are correctly set before and after the interrupt.

rgds,
YogaRamanan.T
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

RE:more problems.. =)

Post by bubach »

so how should i set up the registers for it to work?
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Ramanan

RE:more problems.. =)

Post 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
Post Reply