Rules of OSDev: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
mNo edit summary
m (Remove kind of annoying period at the end)
Line 11: Line 11:
* Rule of osdev #(uint32_t)&kernel_sbrk: Do not negative-kernel-sbrk past your implementation of kernel-sbrk - ''franchufranchu''
* Rule of osdev #(uint32_t)&kernel_sbrk: Do not negative-kernel-sbrk past your implementation of kernel-sbrk - ''franchufranchu''
* Rule of osdev #0xC10000000: Do not put something big on BSS before your full kernel is mapped (#PF here we come) - ''nexos''
* Rule of osdev #0xC10000000: Do not put something big on BSS before your full kernel is mapped (#PF here we come) - ''nexos''
* Rule of osdev #1984: Always use the superior boot protocol [[Stivale]], instead of your 32-bit mentally deranged [[Multiboot]] - ''sebastian''.
* Rule of osdev #1984: Always use the superior boot protocol [[Stivale]], instead of your 32-bit mentally deranged [[Multiboot]] - ''sebastian''
* Rule of osdev #0x1000: Never use any other bootloader than [[Limine]] - ''ilobilo''
* Rule of osdev #0x1000: Never use any other bootloader than [[Limine]] - ''ilobilo''
* ''Add your rules here - name''
* ''Add your rules here - name''

Revision as of 23:18, 29 October 2021

This page is a work of humor.
It is not meant to be serious.
  • Rule of osdev #1469: never assume memory is zero'd - moondeck
  • Rule of osdev #1468: never assume indices are sequential - mniip
  • Rule of osdev #1470: don't divide when you can shift - glauxosdever
  • Rule of osdev #fbf89521-21f1-4a52-b5cb-a0bf0f761bb4: probably avoid collisions with globally unique identifiers - sortie
  • Rule of osdev #1985: Never try to build a GUI ontop of your DOS - bellezzasolo
  • Rule of osdev #0xB8000: Don't do arithmetic on video pointers. - m712
  • Rule of osdev #0xdeadbeef: If you think something is done for you, its not. - moondeck
  • Rule of osdev #0xF00F: Don't trust Intel, always check that cr1 access causes #UD. - aristos
  • Rule of osdev #(uint32_t)&kernel_sbrk: Do not negative-kernel-sbrk past your implementation of kernel-sbrk - franchufranchu
  • Rule of osdev #0xC10000000: Do not put something big on BSS before your full kernel is mapped (#PF here we come) - nexos
  • Rule of osdev #1984: Always use the superior boot protocol Stivale, instead of your 32-bit mentally deranged Multiboot - sebastian
  • Rule of osdev #0x1000: Never use any other bootloader than Limine - ilobilo
  • Add your rules here - name