Invalid OPCODE(HELP)

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
Wolftein
Posts: 14
Joined: Wed Oct 15, 2008 3:39 pm

Invalid OPCODE(HELP)

Post 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..
Attachments
SysCore.zip
Source Code
(55.95 KiB) Downloaded 55 times
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Invalid OPCODE(HELP)

Post by Combuster »

Can you be more specific than just "invalid opcode"

Like, faulting address, code at that address, values of CR0/2/3, etc.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Wolftein
Posts: 14
Joined: Wed Oct 15, 2008 3:39 pm

Re: Invalid OPCODE(HELP)

Post 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..
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Invalid OPCODE(HELP)

Post 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?
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Invalid OPCODE(HELP)

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Post Reply