User talk:Bellezzasolo: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
Content deleted Content added
Solar (talk | contribs)
→‎Recent activity: new section
Line 50: Line 50:


Anyway, welcome to OSDev.org. -- [[User:Solar|Solar]] 07:40, 20 February 2012 (CST)
Anyway, welcome to OSDev.org. -- [[User:Solar|Solar]] 07:40, 20 February 2012 (CST)

Sorry about the difficulties in analyzing my edits. This problem arises as most of the edits I've made have been correcting little mistakes on the wiki, or improving the source highlighting on certain pages, apart from the categorizing.

Revision as of 18:16, 20 February 2012

Talk

Welcome to my talk page. My home page is here: User:bellezzasolo

As I wrote on the IDT Problems talk page, I don't think this is the right place to discuss "personal" problems, and you'd better post your questions on the forum. Anyway. I think your code has two problems. First, I can't see any setvect call. You wrote the function but is it actually called somewhere? Second you put #pragma pack and pop around the IDT_register and IDT variable instantiations, while you have to put it around the class definitions like:

 #pragma pack(push, 1)
 class IDT_entry
 {
     // blah blah blah
 };
 #pragma pack(pop)

You put size asserts in the installIDT function "if(sizeof(IDT_reg) != 6) ......" but even if it actually does Puts("Bad IDT reg\n"); you wont actually see that, as you system will reboot before your eyes are able to catch it. I suggest you to write the asserts like this:

 if(sizeof(IDT_reg) != 6)
 {
     Puts("Bad IDT reg\n");
     Halt();
 }

Where Halt is an infinite loop or a "cli; hlt" so that you can actually see the message being put.


Thankyou for your help. I shall place open problems on the forum and solved problems on the wiki page, where people may find it of benefit, with a link to the forum. As for your questions:

setvect(0, &handlerDefault); //through to 0x13

This is in HAL.cpp.

Anyway, thankyou for your time. I shal put this into practice ASAP

--Bellezzasolo 07:12, 6 February 2012 (CST)

Update: I am still having trouble. The same error message.

Update: I aligned my GDT like this and it worked. I now have an IRQ driven OS

Recent activity

Hi there, and sorry for the "accidential" rollback from me just now.

I don't quite know what to make of your recent flurry of activity. You did lots of categorizing, I see, but also a great many edits that I find to be... arguable. (For example, your adding of Visual Studio to the list of "frequently asnwered things" in Required Knowledge. We generally and strongly suggest to use a GCC cross-compiler setup, and Visual Studio could be considered a second-class citizen in that regard.) The sheer amount of edits from you makes it somewhat difficult to track what you are actually doing.

I won't tell you not to do this, and I certainly welcome any quality edits to the Wiki, so let me just say that I feel uneasy when I see hundreds of edits within a few weeks done by someone with a two-digit post count to the forum. ;-)

Anyway, welcome to OSDev.org. -- Solar 07:40, 20 February 2012 (CST)

Sorry about the difficulties in analyzing my edits. This problem arises as most of the edits I've made have been correcting little mistakes on the wiki, or improving the source highlighting on certain pages, apart from the categorizing.