feat: e100e Ethernet driver, ramdisk reorganization, shell rewrite, web server/client, and more
This commit is contained in:
+22
-6
@@ -19,26 +19,42 @@
|
||||
|
||||
extern "C" void _start() { ... }
|
||||
|
||||
There is no argc/argv. Include <zenith/syscall.h> for the full
|
||||
typed syscall API. Include <zenith/heap.h> for malloc/mfree.
|
||||
There is no argc/argv. Use zenith::getargs() to retrieve any
|
||||
arguments passed by the parent process. Include <zenith/syscall.h>
|
||||
for the full typed syscall API.
|
||||
|
||||
Build with:
|
||||
|
||||
cd programs && make
|
||||
|
||||
The resulting ELF binary appears in programs/bin/.
|
||||
The resulting ELF binary appears in programs/bin/os/.
|
||||
|
||||
.SH RAMDISK LAYOUT
|
||||
The boot ramdisk is mounted as drive 0 with the following
|
||||
directory structure:
|
||||
|
||||
0:/os/ System binaries (shell, init, man, etc.)
|
||||
0:/games/ Games (doom)
|
||||
0:/man/ Manual pages
|
||||
0:/www/ Web server content
|
||||
0:/home/ User home directory
|
||||
|
||||
.SH SHELL
|
||||
The built-in shell is the primary way to interact with ZenithOS.
|
||||
Type 'help' at the shell prompt for a list of commands. Use
|
||||
'man shell' for detailed shell documentation.
|
||||
The interactive shell is the primary way to interact with
|
||||
ZenithOS. Commands are resolved by searching the PATH
|
||||
directories (0:/os/, 0:/games/) for matching .elf binaries.
|
||||
Type 'help' at the shell prompt for a list of commands.
|
||||
Use 'man shell' for detailed shell documentation.
|
||||
|
||||
.SH MAN PAGES
|
||||
The following man pages are available:
|
||||
|
||||
intro(1) This page
|
||||
shell(1) Shell commands reference
|
||||
init(1) Init system
|
||||
dhcp(1) DHCP client
|
||||
man(1) The man command itself
|
||||
legal(7) Copyright and legal information
|
||||
syscalls(2) Overview of all syscalls
|
||||
spawn(2) Process spawning
|
||||
file(2) File I/O syscalls
|
||||
|
||||
Reference in New Issue
Block a user