I have written o.s in pmode with c++ but the kernel doesn't work
why? i'dont i'll Attachment thhe o.s src.
I have problem with my os (pmode)
I have problem with my os (pmode)
- Attachments
-
- _src.rar
- my os src
- (8.64 KiB) Downloaded 17 times
- Steve the Pirate
- Member
- Posts: 152
- Joined: Fri Dec 15, 2006 7:01 am
- Location: Brisbane, Australia
- Contact:
Can you please describe the nature of the problem? That would make helping you a lot easier.
Also, there's some useful info over at the wiki article.
Unfortunatley I can't take a look at your code now, but I can try to help if you're still having problems tomorrow.
Also, there's some useful info over at the wiki article.
Unfortunatley I can't take a look at your code now, but I can try to help if you're still having problems tomorrow.
Last edited by Steve the Pirate on Wed Nov 28, 2007 5:05 pm, edited 1 time in total.
Ouch - I see that you have taken Bran's tutorial and tried to make the start in to a class-based C++ kernel using RTTI, but have implemented no kind of C++ support.
As Steve suggested, read the wiki article and then start off by implementing your kernel 'C-style' (forget classes for the moment until you have a memory manager).
I would also suggest that you start by building a small working unit (perhaps just something that has a short int pointer to 0xB8000 and puts a letter in the top corner of the screen). Once that is working, gradually extend, compling and testing as you go.
Cheers,
Adam
As Steve suggested, read the wiki article and then start off by implementing your kernel 'C-style' (forget classes for the moment until you have a memory manager).
I would also suggest that you start by building a small working unit (perhaps just something that has a short int pointer to 0xB8000 and puts a letter in the top corner of the screen). Once that is working, gradually extend, compling and testing as you go.
Cheers,
Adam
-
- Member
- Posts: 65
- Joined: Wed Nov 14, 2007 3:19 pm
Yeah Im new but honestly Ive found what AJ has said to be true, even doing something as minimal as printing a letter to the screen can bring up problems . Starting that way is the best way as you are starting in infinitisimal steps and the concepts from doing such a small thing can be applied to many other things.
I spent over 2 days just trying to get my keyboard to display 1 typed character to the screen.(quite stressful at times) Many may see that as wasted time, I dont as I know I have gained alot in the process of getting this to work.
I spent over 2 days just trying to get my keyboard to display 1 typed character to the screen.(quite stressful at times) Many may see that as wasted time, I dont as I know I have gained alot in the process of getting this to work.