Page 1 of 1

Code Samples

Posted: Sun Mar 25, 2007 10:51 pm
by pcmattman
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.

Posted: Mon Mar 26, 2007 2:21 am
by Combuster
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

Posted: Tue Mar 27, 2007 11:48 am
by ehird
combuster: [[:Category:blah]] for non-adding category links.

Posted: Tue Mar 27, 2007 4:20 pm
by Combuster
ehird wrote:combuster: [[:Category:blah]] for non-adding category links.
I know very well what that does - what is your point?

Posted: Fri Mar 30, 2007 1:23 pm
by ~
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.

Posted: Sun Jun 17, 2007 12:26 pm
by draggy
agreed.... Need some serious tutorial :D

Posted: Thu Jul 12, 2007 6:24 pm
by pcmattman
I just wrote a tutorial for porting newlib here

Posted: Thu Jul 12, 2007 8:21 pm
by Brynet-Inc
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)

Posted: Thu Jul 12, 2007 8:25 pm
by pcmattman
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...

Posted: Thu Jul 12, 2007 8:52 pm
by Alboin
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.

Posted: Thu Jul 12, 2007 8:54 pm
by pcmattman
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.

Posted: Thu Jul 12, 2007 9:08 pm
by Alboin
Done. However, I think a section on Libraries still needs to be addressed.

Posted: Thu Jul 12, 2007 9:32 pm
by Brynet-Inc
I just made a few changes to make it fit better..

Welcome to change it back if it looks bad though.