Working on the OS FAQ [Mega-Tokyo Wiki]

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Working on the OS FAQ [Mega-Tokyo Wiki]

Post by Solar »

The OS FAQ is available at http://www.osdev.org/osfaq2

This thread is for those editing the Wiki.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Working on the OS FAQ

Post by Solar »

Question: Is it correct that, if you want to write inline code, that implies you're using GNU as?

Phrased differently, can you inline NASM code in some way?

(Never used NASM myself...)
Every good solution is obvious once you've found it.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:Working on the OS FAQ

Post by df »

mm tired. have setup the redirects from the old faq now.

if i get time ill see if i can dig back through old threads and things.. its just very time consuming...
-- Stu --
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Working on the OS FAQ

Post by Pype.Clicker »

Solar wrote: Question: Is it correct that, if you want to write inline code, that implies you're using GNU as?
afaik, you'll have to write your inline ASM with gas, which is the only assembler GCC will write code for (correct me if i'm wrong). However, using #define i(x) ".syntax intel noprefix" x ".syntax att prefix" accurately, you should be able to write intel-like instructions in inline assembly (the exact daemon summoning magic is to be cross-checked in the g00gle Black Book, of course ;)
mystran

Re:Working on the OS FAQ

Post by mystran »

I think that on some architectures GCC can output for the platform-native assembler too, but it's not going to output NASM stuff, so unless you write a backend for that, you have to live with the AT&T syntax in inline.
Curufir

Re:Working on the OS FAQ

Post by Curufir »

On the plus side the GAS syntax is actually quite nice once you get used to it (I'm currently deep into converting my old NASM source into GAS...fun :)).
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Working on the OS FAQ

Post by Solar »

Please do not add links unless you write that page afterwards!

Writing a page is a contribution. Adding "dead links" to the Wiki is just annoying, IMNSHO. It makes the Wiki look "empty" (which it isn't, we're doing a terrific job there!), and basically you're demanding people to write your pages. Moreover, it's a pain to keep not-yet-existing-but-demanded pages in mind when structuring your stuff as you write.

I took the liberty of weeding out several "dead links", joining them into one where applicable (exokernel, nanokernel, virtualizing kernel for example).
Every good solution is obvious once you've found it.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Working on the OS FAQ

Post by Pype.Clicker »

there are two things that i would like to know about the FAQ:
- where did the old good FAQ disappear ? i feel like there was stuff there that i cannot find back at other places...
- is there a way to get a plain flat HTML document out of the wiki content. I think at people who could wish to print the FAQ when we'll be done ...

Also, would someone mind if i use the Wiki for my 'collected infos about...' i have a few threads like these that are dormant in the forum (all we know about PS2 mouse, all we know about USB, all we know about ultra-dma), etc ...
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Working on the OS FAQ

Post by Solar »

Pype.Clicker wrote: there are two things that i would like to know about the FAQ:
- where did the old good FAQ disappear ? i feel like there was stuff there that i cannot find back at other places...
It's still there, only the index page has been replaced with a redirect. http://www.mega-tokyo.com/os/os-faq-intro.html still gives you the intro. I admit it will be difficult to navigate with the index page gone.
- is there a way to get a plain flat HTML document out of the wiki content. I think at people who could wish to print the FAQ when we'll be done ...
It is possible (for someone with admin priviledge) to dump the Wiki in XHTML format - one HTML page per Wiki page. There's no such thing as "print all", though. (I use the same Wiki software for the Pro-POS site...)
Also, would someone mind if i use the Wiki for my 'collected infos about...' i have a few threads like these that are dormant in the forum (all we know about PS2 mouse, all we know about USB, all we know about ultra-dma), etc ...
Why, just integrate the stuff in the main Wiki...?!?
Every good solution is obvious once you've found it.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Working on the OS FAQ

Post by Pype.Clicker »

well, actually i wasn't sure such "high-level" information would fit the same audience as the rest of the faq, so i was thinking at a "Collected Knowledge from the Forum" link on the FAQ page and a secondary page there ... now if most of you think i can put each topic right in the Wiki (i mean appearing at the same level as 'scheduling algorithms', 'what is GRUB' and 'microkernel' ...), i'll just do so ;)
df_not_logged_in

Re:Working on the OS FAQ

Post by df_not_logged_in »

the old faq is still there

http://www.mega-tokyo.com/os/os-faqX.html

-df

i might have some time next week to do some faq additions.. since I have a week before I fly out, but my mates have dialup and intermittent access, so.. if internet is expensive i wont be adding anything :)
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Working on the OS FAQ

Post by Solar »

Oi! Nutta! :-[

That's where all the dead links came from, which I have weeded out the last two or three days - from pages that are there in the old FAQ but didn't make it to the new one! I thought all the old stuff was already transferred... sorry for the hassle.

I'm not feeling too well tonight, but I'll clean up the mess I've created tomorrow, promise! :-\
Every good solution is obvious once you've found it.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:Working on the OS FAQ

Post by df »

dont worry bout it. im not :D things will work themselves out over time.
-- Stu --
Schol-R-LEA

Re:Working on the OS FAQ

Post by Schol-R-LEA »

I must admit, some of the links in question were ones I added; I had meant to add pages form them but never got around to them all.

I also a bit concerned that some of what I've added may be outside the scope of the FAQ, especially the more theoretical material (Kernel Types, Scehduling, etc.). While they do fit the definition of Frequently Asked Questions, and I made a point to keep them limited to a basic definition rather than a full exposition on them, I can't help but worry that the new entries I've added are going in a direction away from DF's intent.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Working on the OS FAQ

Post by Solar »

That's a very basic question: Do we want this Wiki to be "only" a FAQ, or do we allow it to grow into something larger?
Every good solution is obvious once you've found it.
Post Reply