(INTERRUPTS) word won't appear on the screen




(INTERRUPTS) word won't appear on the screen

Postby Omar » 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. :( :(
Omar
 
Posts: 3
Joined: 4. Apr 2017, 11:17

by Advertising » 4. Apr 2017, 11:23

Advertising
 

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

Postby Omar » 4. Apr 2017, 11:56

I found the problem it was in gdt.cpp

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


I changed to

Code: Select all
   i[0] = sizeof(GlobalDescriptorTable) << 16;
   i[1] = (uint32_t)this;
Omar
 
Posts: 3
Joined: 4. Apr 2017, 11:17

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

Postby Marty Geist » 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
Marty Geist
 
Posts: 15
Joined: 5. Apr 2017, 22:12

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

Postby SiphonicRug » 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?
SiphonicRug
 
Posts: 1
Joined: 9. Jun 2019, 22:52



Similar topics

multiple Interrupts on screen
Forum: Interrupts
Author: Marty Geist
Replies: 8

Return to Interrupts

Who is online

No registered users

cron