summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/internal/fstab.txt9
-rw-r--r--doc/ints.txt8
2 files changed, 13 insertions, 4 deletions
diff --git a/doc/internal/fstab.txt b/doc/internal/fstab.txt
new file mode 100644
index 0000000..de2f3a6
--- /dev/null
+++ b/doc/internal/fstab.txt
@@ -0,0 +1,9 @@
+header:
+ uint32_t: number of entries
+
+for each entry:
+ uint32_t: uid
+ uint8_t: prefix length
+ chars: prefix
+ prefix has a trailing / if necessary
+ prefix does not have a leading / \ No newline at end of file
diff --git a/doc/ints.txt b/doc/ints.txt
index eed79fa..8c755e0 100644
--- a/doc/ints.txt
+++ b/doc/ints.txt
@@ -33,19 +33,19 @@ table 1:
function | eax | eax out | ebx | ecx | edx | esi | edi
-------------------|------|-----------------|----------------|----------------|--------------|--------------|--------------
- open file | 0x00 | handle | drive number | path | | |
+ open file | 0x00 | handle | path | | | |
close file | 0x01 | | handle | | | |
file read | 0x02 | read | handle | file offset | count | buffer |
get file size | 0x03 | size | handle | | | |
- start task | 0x04 | handle | drive number | path | passed sz | passed dword |
+ start task | 0x04 | handle | path | passed sz | passed dword | |
ipc send | 0x05 | written | task handle | max count | buffer | |
ipc read | 0x06 | read | task handle | max count | buffer | |
allocate ram | 0x07 | start pointer | pages | | | |
memory info | 0x08 | see table 2 | see table 2 | | | |
wait for task | 0x09 | | handle | | | |
- enumerate dir | 0x0a | count | drive number | path | see table 3 | max |
+ enumerate dir | 0x0a | count | path | see table 3 | max | |
system log | 0x0b | | message sz | | | |
- count of dir | 0x0c | number of files | drive number | path | | |
+ count of dir | 0x0c | number of files | path | | | |
new window | 0x0d | window handle | width | height | pixel buffer | |
delete window | 0x0e | | window handle | | | |
resize window | 0x0f | | window handle | width | height | pixel buffer |