From 21491514b3642a321ce65f2a07428f63c4d9feb5 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 8 Nov 2020 11:11:49 -0500 Subject: manual viewer, "swap colors" system call --- doc/man.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/man.txt (limited to 'doc/man.txt') diff --git a/doc/man.txt b/doc/man.txt new file mode 100644 index 0000000..37a2642 --- /dev/null +++ b/doc/man.txt @@ -0,0 +1,20 @@ +manual format: + +dword: length of title (without sz) +title (sz) +dword: number of links +dword: length of link table (in bytes) +link table + entry: + dword: line + byte: start column + byte: text length + dword: length of file pointed to (without sz) + file pointed to (sz) +dword: length of line pointer list (in dwords) +line pointer list + dword offsets into file + +lines + 0x00 - 0x7f are characters + 0x80 - 0xff are color codes | 0x80 \ No newline at end of file -- cgit v1.2.3