OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 7:54 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PMode Interrupts/Coprocessor?
PostPosted: Wed Mar 27, 2002 12:00 am 
I've got a fat12 bootsector that loads a plain
binary File, which is just mixed Assembly/C made
with NASM and DJGPP. The Kernel Switches to Pmode
and jumps to the C main, where software interrupts
are reassigned to INT 0x20..ox2F (Offsets in the
table). After all the setup I enable interrupts
and put out some text, but the only interrupt
that registers is IRQ-0x13... repeatedly (about
10 times a second or so), even after I send the
end-of-interrupt and even mask all interrupts (through
the ports 0x20 & 0xA0).
Does anyone have any Ideas?
thanks
BC


Top
  
 
 Post subject: RE:PModeĀ Interrupts/Coprocessor?
PostPosted: Thu Apr 04, 2002 12:00 am 
I think there is some general confusion here between the terms INT and IRQ, but that aside, lets try and analyse your problem.

You say you have remapped software interrupts to 0x20-0x2f, do you mean software interrupts, it is normal practice to remap the hardware interrupts (ie IRQ0-15) to 0x20-0x2f, is this what you have done, if not, this is a better way to proceed. If you have not remapped the IRQs, then the int vector you mentioned should correspond to IRQ 11, which no standard motherboard device uses - what plug in cards do you have ? Does your BIOS allow you to determine what device is mapped to what IRQ

I think a bit more info is needed to determine what is going on here

>On 2002-03-27 21:33:20, Bchadwick wrote:
> I've got a fat12 bootsector that loads a plain
>binary File, which is just mixed Assembly/C made
>with NASM and DJGPP. The Kernel Switches to Pmode
>and jumps to the C main, where software interrupts
>are reassigned to INT 0x20..ox2F (Offsets in the
>table). After all the setup I enable interrupts
>and put out some text, but the only interrupt
>that registers is IRQ-0x13... repeatedly (about
>10 times a second or so), even after I send the
>end-of-interrupt and even mask all interrupts (through
>the ports 0x20 & 0xA0).
> Does anyone have any Ideas?
>thanks
>BC


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 138 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group