OSDev Wiki:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
(14 intermediate revisions by 8 users not shown) | |||
Line 27:
====Link Types====
* Forum Link: [[forum:8]]
* Forum topic link: [[topic:677]]
* Wiki link: [[Main_Page]]
* Wiki link with custom label: [[Main_Page|OSDev Home]]▼
* Wiki link with anchor: [[Tool_Comparison#x86_Assemblers]]
* Wiki link with anchor and custom label: [[Tool_Comparison#x86_Assemblers|Assembler Comparisons]]
* External Link: [http://www.osdev.org OSDev]▼
====Subpages====
[[OSDev_Wiki:Sandbox/Subpage|Sub-page]]
[[OSDev_Wiki:Sandbox/Subpage/Subsubpage|Sub-sub-page]]
▲[[Main_Page|OSDev Home]]
▲[http://www.osdev.org OSDev]
====Code in a Box====
Line 55 ⟶ 60:
</pre>
====Best Code in a Box====
<syntaxhighlight lang="c">
#include <kmem.h>
extern void* kmalloc(int size)
{▼
return getFreeMemPtr(size);
}▼
</syntaxhighlight>
====Table 1====
Line 91 ⟶ 106:
|}
====Complex Table====
▲{
{| {{wikitable}}
|-
▲}
! rowspan=2 |
! colspan=2 | Column 1
! rowspan=2 | Column 2
|-
! Foo1
! Foo2
|-
| Item 2
| {{Yes}}
| {{Yes}}
| {{Yes}}
|}
[[Category:Wiki administration]]
|
Latest revision as of 06:33, 17 June 2024
Interwiki Link
Testing new interwiki mapping
Lists
- OS Name - Title or short description.
- Architecture: x86
- Languages: Assembly, C
- Source code: Yes,GPL
- URL: http://www.osdev.org
- OS Name - Title or short description.
- Contact: Chase (chase AT osdev.org)
- URL: http://www.osdev.org
- Numbered List
- Item
- Item
- Another Item
- SubItem
- Are there ones that do Roman, Number and Letter?
Link Types
- Forum Link: forum:8
- Forum topic link: topic:677
- Wiki link: Main_Page
- Wiki link with custom label: OSDev Home
- Wiki link with anchor: Tool_Comparison#x86_Assemblers
- Wiki link with anchor and custom label: Assembler Comparisons
- External Link: OSDev
Subpages
Code in a Box
#include <kmem.h> extern void* kmalloc(int size) { return getFreeMemPtr(size); }
Better Code in a Box
#include <kmem.h> extern void* kmalloc(int size) { return getFreeMemPtr(size); }
Best Code in a Box
#include <kmem.h>
extern void* kmalloc(int size)
{
return getFreeMemPtr(size);
}
Table 1
Column 1 | Column 2 |
---|---|
Item | Item |
Item 2 | Item 2 |
Advanced Table
Column 1 | Column 2 | Column 3 | |
---|---|---|---|
Item | No | Yes | No |
Item 2 | Yes | Yes | Yes |
Complex Table
Column 1 | Column 2 | ||
---|---|---|---|
Foo1 | Foo2 | ||
Item 2 | Yes | Yes | Yes |