Cleaning up (committing stuff)
authorJohn Hodge <[email protected]>
Tue, 1 Mar 2011 07:13:25 +0000 (15:13 +0800)
committerJohn Hodge <[email protected]>
Tue, 1 Mar 2011 07:13:25 +0000 (15:13 +0800)
- Stub proc.h for AcessNative
- SIF format spec

.gitignore
AcessNative/.gitignore [new file with mode: 0644]
AcessNative/acesskernel_src/include/proc.h [new file with mode: 0644]
Usermode/Applications/axwin2_src/SIF.txt [new file with mode: 0644]

index 314db8e..4cea20a 100644 (file)
@@ -14,6 +14,8 @@
 *.bin
 *.dsm
 *.dmp
+*.lin
+*.exe
 *.kmd.*
 Map*.txt
 map.txt
diff --git a/AcessNative/.gitignore b/AcessNative/.gitignore
new file mode 100644 (file)
index 0000000..82eea12
--- /dev/null
@@ -0,0 +1,4 @@
+ld-acess
+ld-acess.exe
+AcessKernel
+AcessKernel.exe
diff --git a/AcessNative/acesskernel_src/include/proc.h b/AcessNative/acesskernel_src/include/proc.h
new file mode 100644 (file)
index 0000000..56eb6e7
--- /dev/null
@@ -0,0 +1,9 @@
+/**
+ */
+#ifndef _PROC_H_
+#define _PROC_H_
+
+#include <arch.h>
+
+#endif
+
diff --git a/Usermode/Applications/axwin2_src/SIF.txt b/Usermode/Applications/axwin2_src/SIF.txt
new file mode 100644 (file)
index 0000000..57c1fa7
--- /dev/null
@@ -0,0 +1,28 @@
+=== Simple Image Format ===
+
+U16    Magic   0x51F0  - This determines the endianness of the file
+U16    Flags
+       > 0-2: Compression (0: Uncompressed, 1: RLE, 2: zlib, 3: RLE-Channel)
+       > 3-5: Format (0: ARGB, 1: RGB
+U16    Width
+U16    Height
+<DATA>
+
+
+=== Compression Formats ===
+0 - Uncompressed
+       The file data is a linear sequence of Width * Height 32-bit ARGB
+       words (in file endianness, determined by the magic)
+
+1 - RLE-4
+       7-bit length followed by a 32-bit value that is repeated `n` times
+       (if bit 7 of the length byte is set, the next `n` 32-bit words are
+       verbatim)
+
+2 - zlib
+       The image data is a zlib stream of 32-bit xRGB words
+
+3 - RLE-Channel
+       The data is the alpha values, followed by red, then green, then blue
+       encoded as RLE with a 7-bit length and a verbatim flag (same as mode
+       1, except with 8-bit values instead of 32-bit) 

UCC git Repository :: git.ucc.asn.au