diff --git a/docs/COFF.org b/docs/COFF.txt similarity index 95% rename from docs/COFF.org rename to docs/COFF.txt index db6fc38..01e9f52 100644 --- a/docs/COFF.org +++ b/docs/COFF.txt @@ -1,8 +1,9 @@ -#+TITLE: Common Object File Format (COFF) +File: Common Object File Format (COFF) -** COFF File Structure +About: COFF File Structure + +(start code) -#+begin_src +-----------------------+ | | | File Header | @@ -54,9 +55,10 @@ | | +-----------------------+ -#+end_src +(end) -*** File Header + +About: File Header | Type | Description | |----------+---------------------------------| diff --git a/docs/config/Menu.txt b/docs/config/Menu.txt index b646436..9298c4d 100644 --- a/docs/config/Menu.txt +++ b/docs/config/Menu.txt @@ -47,6 +47,7 @@ File: Introduction (docs/intro.txt) Link: Source Code (https://git.cute.engineering/d0p1/StupidOS) File: Coding Style (docs/coding-style.txt) File: FAQ (docs/faq.txt) +Link: StupidFS (https://stupidfs.d0p1.eu/) Group: BootLoader { @@ -60,12 +61,14 @@ Group: BootLoader { Group: Loader { File: loader.asm (boot/loader/loader.asm) + File: memory.inc (boot/loader/memory.inc) } # Group: Loader Group: Common { File: bios.inc (boot/common/bios.inc) File: fat12.inc (boot/common/fat12.inc) + File: mbr.inc (boot/common/mbr.inc) } # Group: Common Group: EFI { @@ -115,5 +118,6 @@ Group: Index { Constant Index: Constants File Index: Files Function Index: Functions + Property Index: Properties } # Group: Index diff --git a/sbin/parted/main.c b/sbin/parted/main.c index 8f98e4d..47355b0 100644 --- a/sbin/parted/main.c +++ b/sbin/parted/main.c @@ -2,6 +2,7 @@ #include #include #include +#include #define MBR_MAGIC0 0x55 #define MBR_MAGIC1 0xAA @@ -88,6 +89,8 @@ usage(int retcode) printf("\t-V\toutput version information.\n"); printf("\t-d\tdump disk information\n"); printf("\t-o out\twrite to file 'out'\n"); + printf("\t-e\textract parts\n"); + printf("\t-i img\t\n"); printf("\nReport bugs to <%s>\n", MK_BUGREPORT); }