int.asm:
Code: Select all
global ClearInterrupts
ClearInterrupts:
cli
ret
global SetInterrupts
SetInterrupts:
sti
ret
Code: Select all
void ClearInterrupts(void);
void SetInterrupts(void);
Code: Select all
#include "int.h"
...
SetInterrupts();
...
ClearInterrupts();
...
By commenting out different parts of my code i.e. changing the code to:
Code: Select all
#include "int.h"
...
SetInterrupts();
...
/*ClearInterrupts();*/
...
Any ideas what's wrong with it?
NOTE:
I haven't set up the IDT yet.