Page 1 of 1

Invalid OPCODE(HELP)

Posted: Tue Nov 25, 2008 11:15 am
by Wolftein
I Get Invalid OPCODE, when i change the location of the Timer IRQ

On This Line (kernelSchedule.c)

Code: Select all

HALInterruptSet(32,I86_IDT_DESC_PRESENT | I86_IDT_DESC_BIT32,0x8,&scheduleIRQ);
HALIrqEnable(0);
I Upload The Code..

Re: Invalid OPCODE(HELP)

Posted: Tue Nov 25, 2008 11:21 am
by Combuster
Can you be more specific than just "invalid opcode"

Like, faulting address, code at that address, values of CR0/2/3, etc.

Re: Invalid OPCODE(HELP)

Posted: Wed Nov 26, 2008 2:38 pm
by Wolftein
Combuster wrote:Can you be more specific than just "invalid opcode"

Like, faulting address, code at that address, values of CR0/2/3, etc.
I Post The Source Code..

Re: Invalid OPCODE(HELP)

Posted: Wed Nov 26, 2008 3:04 pm
by 01000101
I don't think that was the point.

It is usually frowned upon to just post the source code and say "fix it".
Have you tried to troubleshoot this at all on your own?

Re: Invalid OPCODE(HELP)

Posted: Wed Nov 26, 2008 3:32 pm
by piranha
Combuster wrote:
Can you be more specific than just "invalid opcode"

Like, faulting address, code at that address, values of CR0/2/3, etc.
I Post The Source Code..
The source code isn't what was asked for. Yes, you posted the code, but you think we are going to go and compile it and test it ourselves if we don't have to?

Please, post the information that Combuster asked for.

-JL