Write comments

(INTERRUPTS) word won't appear on the screen

4. Apr 2017, 11:23

I followed the fifth video of Write Your Own Operating System (5- Interrupts). But when I had finished the code and run it the (INTERRUPTS) word that I put it in interrupts.cpp won't appear on the screen. I repeated the video many times and everything seem exactly same. Also when I compile and link them no errors happen.
Please Help me. :( :(

4. Apr 2017, 11:23

Re: (INTERRUPTS) word won't appear on the screen

4. Apr 2017, 11:56

I found the problem it was in gdt.cpp

Code:
   i[0] = (uint32_t)this;
   i[1] = sizeof(GlobalDescriptorTable) << 16;


I changed to

Code:
   i[0] = sizeof(GlobalDescriptorTable) << 16;
   i[1] = (uint32_t)this;

Re: (INTERRUPTS) word won't appear on the screen

8. Apr 2017, 11:49

Hi All;

I made the change to my gdt.cpp file and Now it works for me !!

THANK YOU Marty

Re: (INTERRUPTS) word won't appear on the screen

9. Jun 2019, 22:56

Hi, i am getting the very exact situation. I followed the 5th video of the guide and i also corrected the error on the gdt.cpp file, but i am not getting any interrupt. Any advices?
Write comments




Bei iphpbb3.com bekommen Sie ein kostenloses Forum mit vielen tollen Extras
Forum kostenlos einrichten - Hot Topics - Tags
Beliebteste Themen: NES, Mode, Linux, Rap, Programm

Impressum | Datenschutz