OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 6:22 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3898 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 260  Next
Author Message
 Post subject:
PostPosted: Wed Dec 12, 2007 10:52 am 
Offline
Member
Member
User avatar

Joined: Sat Apr 21, 2007 7:21 pm
Posts: 127
Wow... how did you create that stack trace!!!

-Rich


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 11:32 am 
Offline
Member
Member

Joined: Wed Jul 25, 2007 8:45 am
Posts: 391
Location: London, UK
The kernel has a list of symbols built in (generated at build time), then it uses ebp to find the addresses of called functions and matches them to a symbol. The code is here: http://codebrowse.launchpad.net/~exclaim-dev/exclaim/trunk/annotate/alex%40alex-smith.me.uk-20071130211833-fv62srszadk6ms6z?file_id=fault.c-20070726164216-j0r0180vwyj2zbb1-1

You can look at the kernel symbols stuff in ksyms.c and the generator in kernel.mak and genksyms.py

_________________
http://alex-smith.me.uk


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 11:58 am 
Offline
Member
Member
User avatar

Joined: Tue Jul 10, 2007 5:27 am
Posts: 2935
Location: York, United Kingdom
You can also get GRUB to load your symbol table in for you, and use that. I have some code for that if you like ;)

_________________
Horizon - a framework and language for SAS-OS development
Project 'Pedigree'
Practical x86 OSDev tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 13, 2007 5:29 am 
Offline
Member
Member

Joined: Wed Oct 31, 2007 9:09 am
Posts: 1385
neon wrote:
I could be wrong here though ;)


See here for a more authoritive voice.


JAL


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 13, 2007 7:11 am 
Offline
Member
Member
User avatar

Joined: Sat Apr 21, 2007 7:21 pm
Posts: 127
JamesM wrote:
You can also get GRUB to load your symbol table in for you, and use that. I have some code for that if you like ;)


Sure that would be great thanks!

-Rich


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 13, 2007 9:54 am 
Offline
Member
Member
User avatar

Joined: Tue Jul 10, 2007 5:27 am
Posts: 2935
Location: York, United Kingdom
PM me for it.

_________________
Horizon - a framework and language for SAS-OS development
Project 'Pedigree'
Practical x86 OSDev tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 20, 2007 5:43 am 
Offline

Joined: Thu Dec 20, 2007 5:40 am
Posts: 2
Here is my early attempt at a booting kernel (it can't be really called an OS)...



Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 21, 2007 5:22 am 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 6:53 pm
Posts: 49
Location: Los Angeles, CA
Haven't worked on my kernel for a while. But picked it back up tonight and started doing some work on it and fixed a couple bugs.

Anyway, Here are some screenshots of where its currently at.

Vesa Driver Demo
Image

console
Image

Pinging ominOS from outside qemu.
Image

_________________
http://ominos.sourceforge.net - my kernel
#ominos @ irc.freenode.net
http://dtors.ath.cx - my blog


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 21, 2007 5:26 am 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 6:53 pm
Posts: 49
Location: Los Angeles, CA
AlexExtreme wrote:
The kernel has a list of symbols built in (generated at build time), then it uses ebp to find the addresses of called functions and matches them to a symbol. The code is here: http://codebrowse.launchpad.net/~exclaim-dev/exclaim/trunk/annotate/alex%40alex-smith.me.uk-20071130211833-fv62srszadk6ms6z?file_id=fault.c-20070726164216-j0r0180vwyj2zbb1-1

You can look at the kernel symbols stuff in ksyms.c and the generator in kernel.mak and genksyms.py


That Sir, is awesome work. I dont know why I never thought of that. :] Good job man.

_________________
http://ominos.sourceforge.net - my kernel
#ominos @ irc.freenode.net
http://dtors.ath.cx - my blog


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 21, 2007 6:07 am 
Offline
Member
Member
User avatar

Joined: Sat May 05, 2007 6:20 pm
Posts: 153
Not quite much, but I'm think I'm ready to learn protected-mode now :)


Attachments:
File comment: lol, this is the root directory :)
MyFirst2.png
MyFirst2.png [ 27.02 KiB | Viewed 12819 times ]
File comment: FAT read
MyFirst1.png
MyFirst1.png [ 9.01 KiB | Viewed 12832 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 21, 2007 7:11 am 
Offline

Joined: Thu Dec 20, 2007 5:40 am
Posts: 2
omin0us, looks great! :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 21, 2007 9:31 pm 
Offline
Member
Member
User avatar

Joined: Mon Jun 05, 2006 11:00 pm
Posts: 2293
Location: USA (and Australia)
Here's a screenshot of my OS in text mode:
Image

My graphical manager doesn't work very well yet, but I'm fixing that in to-do 5 and 4 (I'm on 9 todos if you look at my profile) before I reach version 0.01.

_________________
My OS is Perception.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 22, 2007 5:04 am 
Offline
Member
Member

Joined: Sun Jan 07, 2007 7:54 am
Posts: 39
Here's a screenshot from the JBOOT which is the bootloader I have just finished writing.
Image
This screenshot is from JBOS MT which was scrapped after a while due to the lack of any design before I started coding.
Image
The final screenshot is of MYSTIC. I learnt from my mistakes with MT and thought about the design for it. The reason why it says "bootloader overcome" is because the previous bootloader I used set up paging and mapped the kernel to the higher half of memory which is not what I wanted so I reversed all of that. I therefore decided to write my own bootloader as well. JBOOT is the result of that.
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 22, 2007 9:56 am 
Offline
Member
Member

Joined: Wed Jul 25, 2007 8:45 am
Posts: 391
Location: London, UK
omin0us wrote:
AlexExtreme wrote:
The kernel has a list of symbols built in (generated at build time), then it uses ebp to find the addresses of called functions and matches them to a symbol. The code is here: http://codebrowse.launchpad.net/~exclaim-dev/exclaim/trunk/annotate/alex%40alex-smith.me.uk-20071130211833-fv62srszadk6ms6z?file_id=fault.c-20070726164216-j0r0180vwyj2zbb1-1

You can look at the kernel symbols stuff in ksyms.c and the generator in kernel.mak and genksyms.py


That Sir, is awesome work. I dont know why I never thought of that. :] Good job man.


Thanks :) Your OS looks great too, I love the GUI.

_________________
http://alex-smith.me.uk


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 24, 2007 6:06 am 
Offline

Joined: Thu Nov 29, 2007 9:56 pm
Posts: 6
Location: Perth, Western Australia
omniOS looks rather nice :)
i hope to get onto vesa soon, but its rather far down my list.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3898 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 260  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 75 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group