OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 7:59 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Code Samples
PostPosted: Sun Mar 25, 2007 10:51 pm 
Offline
Member
Member

Joined: Sun Jan 14, 2007 9:15 pm
Posts: 2566
Location: Sydney, Australia (I come from a land down under!)
What's the go with code samples on the Wiki... I know there's a lot of things that can be really confusing without code on the Wiki and it would be nice if there was the availability of code on the wiki for assistance. I'd be happy to donate parts of my code to assist.

_________________
Pedigree | GitHub | Twitter | LinkedIn


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 26, 2007 2:21 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
If you think it will improve the wiki, i suggest you go ahead.

You may also want to read on http://www.osdev.org/wiki/User:Combuste ... tyle_draft

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 27, 2007 11:48 am 
Offline
Member
Member

Joined: Thu Mar 15, 2007 8:48 am
Posts: 214
combuster: [[:Category:blah]] for non-adding category links.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 27, 2007 4:20 pm 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
ehird wrote:
combuster: [[:Category:blah]] for non-adding category links.

I know very well what that does - what is your point?

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 1:23 pm 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1225
Maybe it would be good to start creating a temporary subsection that would contain all external exemplary code (like from osdever.net) and work formally on own code in the rest of the place; this could help to have an extensive mirror to code samples nearby.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 17, 2007 12:26 pm 
Offline

Joined: Wed Feb 23, 2005 12:00 am
Posts: 9
agreed.... Need some serious tutorial :D


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 6:24 pm 
Offline
Member
Member

Joined: Sun Jan 14, 2007 9:15 pm
Posts: 2566
Location: Sydney, Australia (I come from a land down under!)
I just wrote a tutorial for porting newlib here

_________________
Pedigree | GitHub | Twitter | LinkedIn


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 8:21 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2426
Location: Canada
pcmattman wrote:
I just wrote a tutorial for porting newlib here

It's a bit vague, but it's a bit more "descriptive" then most of the guides available..

Still, that page could use a few cleanups.. possible rewording.. and a list of files you "added" and/or modified ;-)

Nice work though.... :wink: (If only it was easier to port one of the BSD C libraries :D)

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 8:25 pm 
Offline
Member
Member

Joined: Sun Jan 14, 2007 9:15 pm
Posts: 2566
Location: Sydney, Australia (I come from a land down under!)
Brynet-Inc wrote:
pcmattman wrote:
I just wrote a tutorial for porting newlib here

It's a bit vague, but it's a bit more "descriptive" then most of the guides available..

Still, that page could use a few cleanups.. possible rewording.. and a list of files you "added" and/or modified ;-)

Nice work though.... :wink: (If only it was easier to port one of the BSD C libraries :D)


If I had have found this tutorial I would have been reasonably happy with it. I leave a lot up to the person reading it to understand - I prefer not to spoon feed a reader.

And yes, more descriptive, thanks to my unfortunate experiences during the past week...

_________________
Pedigree | GitHub | Twitter | LinkedIn


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 8:52 pm 
Offline
Member
Member
User avatar

Joined: Thu Jan 04, 2007 3:29 pm
Posts: 1466
Location: Noricum and Pannonia
Great tutorial. As to my knowledge, I don't believe the wiki has a section for libraries at all. (There's mention of it, but it's somewhat generic.) It could fit in tutorials, however.

I would be more interesting in creating a library section. That way we could have more articles about porting the different libraries, general information about them, etc. Kind of like we have Executable formats and Compilers.

_________________
C8H10N4O2 | #446691 | Trust the nodes.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 8:54 pm 
Offline
Member
Member

Joined: Sun Jan 14, 2007 9:15 pm
Posts: 2566
Location: Sydney, Australia (I come from a land down under!)
If it's possible could someone move it from my user page into a different place where it is more suited? I don't quite know where to put it :D, but I'm sure my user page is not the best place for it.

_________________
Pedigree | GitHub | Twitter | LinkedIn


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 9:08 pm 
Offline
Member
Member
User avatar

Joined: Thu Jan 04, 2007 3:29 pm
Posts: 1466
Location: Noricum and Pannonia
Done. However, I think a section on Libraries still needs to be addressed.

_________________
C8H10N4O2 | #446691 | Trust the nodes.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 12, 2007 9:32 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2426
Location: Canada
I just made a few changes to make it fit better..

Welcome to change it back if it looks bad though.

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 37 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