From svnnotify ¡÷ sourceforge.jp Thu Dec 4 18:34:37 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 18:34:37 +0900 Subject: [PhoeniOS-SVN] [Commit] [25] Release of 0.1.0 Message-ID: <1228383277.136099.7159.nullmailer@users.sourceforge.jp> Revision: 25 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=25 Author: litesystems Date: 2008-12-04 18:34:36 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Release of 0.1.0 Modified Paths: -------------- PhoeniOS/trunk/readme.txt PhoeniOS/trunk/release.txt PhoeniOS/trunk/system/Makefile PhoeniOS/trunk/system/asmhead.nas PhoeniOS/trunk/system/bootpack.cpp PhoeniOS/trunk/system/ipl.bin PhoeniOS/trunk/system/ipl.nas PhoeniOS/trunk/system/phoenios.sys Added Paths: ----------- PhoeniOS/trunk/phoenios.rul Removed Paths: ------------- PhoeniOS/trunk/system/haribote.rul Added: PhoeniOS/trunk/phoenios.rul =================================================================== --- PhoeniOS/trunk/phoenios.rul (rev 0) +++ PhoeniOS/trunk/phoenios.rul 2008-12-04 09:34:36 UTC (rev 25) @@ -0,0 +1,19 @@ +format: + /* ?????????????????*/ + code(align:1, logic:0x24, file:0x24); + data(align:4, logic:stack_end, file:code_end); + +file: + /* ????????????????????????+ .ojb?????.lib??????? */ + /* ??????????????????????B */ + /* ?? c:/osask/gg00libc.lib; */ + ../../z_tools/phoenios/phoenios.lib; + ../../z_tools/haribote/golibc.lib; + +label: + /* ???????????????????? */ + /* ???????????????????????? */ + _Startup; + + /* ?L3???????????????????? */ Modified: PhoeniOS/trunk/readme.txt =================================================================== --- PhoeniOS/trunk/readme.txt 2008-11-28 11:58:46 UTC (rev 24) +++ PhoeniOS/trunk/readme.txt 2008-12-04 09:34:36 UTC (rev 25) @@ -1,6 +1,6 @@ ------------------------------------------- Name: PhoeniOS - Version: 0.0.2 + Version: 0.1.0 Publisher: Lite Systems License: GNU General Public License v3 ------------------------------------------- Modified: PhoeniOS/trunk/release.txt =================================================================== --- PhoeniOS/trunk/release.txt 2008-11-28 11:58:46 UTC (rev 24) +++ PhoeniOS/trunk/release.txt 2008-12-04 09:34:36 UTC (rev 25) @@ -1,6 +1,11 @@ -------------------------- PhoeniOS Release Notes -------------------------- +2008/11/29 Version:0.1.0 +- 32bit??????????????? +- ?????????????+- C,C++??????????? + 2008/11/14 Version:0.0.2 - IPL?????????? Modified: PhoeniOS/trunk/system/Makefile =================================================================== --- PhoeniOS/trunk/system/Makefile 2008-11-28 11:58:46 UTC (rev 24) +++ PhoeniOS/trunk/system/Makefile 2008-12-04 09:34:36 UTC (rev 25) @@ -7,7 +7,7 @@ CPP = $(TOOLPATH)c++.exe -I../../z_tools/haribote -Os -Wall -nostdlib -fno-builtin -fno-exceptions -fno-rtti -B$(TOOLPATH) -c OBJ2BIM = $(TOOLPATH)obj2bim.exe BIM2HRB = $(TOOLPATH)bim2hrb.exe -RULEFILE = haribote.rul +RULEFILE = ../phoenios.rul DEL = del # ??????? Modified: PhoeniOS/trunk/system/asmhead.nas =================================================================== --- PhoeniOS/trunk/system/asmhead.nas 2008-11-28 11:58:46 UTC (rev 24) +++ PhoeniOS/trunk/system/asmhead.nas 2008-12-04 09:34:36 UTC (rev 25) @@ -1,7 +1,7 @@ ; --------------------------------------------------------- ; File: asmhead.nas -; Version: 0.0.0 -; Update: 2008/11/20 +; Version: 1.0.0 +; Update: 2008/11/28 ; License: GNU General Public License v3 ; Description: PhoeniOS??????????????? ; --------------------------------------------------------- @@ -49,7 +49,6 @@ ; ?????????? - MOV DI,0x100 MOV CX,VBEMODE MOV AX,0x4f01 INT 0x10 @@ -76,7 +75,7 @@ MOV [SCRNX],AX ; BOOTINFO - ????X MOV AX,[ES:DI+0x14] MOV [SCRNY],AX ; BOOTINFO - ????Y - MOV EAX,DWORD [ES:DI+0x28] + MOV EAX,[ES:DI+0x28] MOV [VRAM],EAX ; BOOTINFO - ??????????????? JMP keystatus @@ -152,6 +151,8 @@ MOV ECX,0 MOV CL,BYTE [CYLS] IMUL ECX,512*18*2/4 ; ???????????/4??? + SUB ECX,512/4 + CALL memcpy ; bootpack??? Modified: PhoeniOS/trunk/system/bootpack.cpp =================================================================== --- PhoeniOS/trunk/system/bootpack.cpp 2008-11-28 11:58:46 UTC (rev 24) +++ PhoeniOS/trunk/system/bootpack.cpp 2008-12-04 09:34:36 UTC (rev 25) @@ -1,10 +1,28 @@ +/* --------------------------------------------------------- */ +/* File: bootpack.cpp */ +/* Version: 0.0.0 */ +/* Update: 2008/11/29 */ +/* License: GNU General Public License v3 */ +/* Description: PhoeniOS???? */ +/* --------------------------------------------------------- */ + extern "C" { - void HariMain(void); + void Main(void); }; -void HariMain(void) +void Main(void) { +/* + char *p; + int i; + + for (i = 0xa0000; i < 0xaffff; i++) + { + p = (char *) i; + *p = i & 0x0f; + } +*/ for (;;) { } Deleted: PhoeniOS/trunk/system/haribote.rul =================================================================== --- PhoeniOS/trunk/system/haribote.rul 2008-11-28 11:58:46 UTC (rev 24) +++ PhoeniOS/trunk/system/haribote.rul 2008-12-04 09:34:36 UTC (rev 25) @@ -1,19 +0,0 @@ -format: - /* ?????????????????*/ - code(align:1, logic:0x24, file:0x24); - data(align:4, logic:stack_end, file:code_end); - -file: - /* ????????????????????????- .ojb?????.lib??????? */ - /* ??????????????????????B */ - /* ?? c:/osask/gg00libc.lib; */ - ../../z_tools/haribote/harilibc.lib; - ../../z_tools/haribote/golibc.lib; - -label: - /* ???????????????????? */ - /* ???????????????????????? */ - _HariStartup; - - /* ?L3???????????????????? */ Modified: PhoeniOS/trunk/system/ipl.bin =================================================================== (Binary files differ) Modified: PhoeniOS/trunk/system/ipl.nas =================================================================== --- PhoeniOS/trunk/system/ipl.nas 2008-11-28 11:58:46 UTC (rev 24) +++ PhoeniOS/trunk/system/ipl.nas 2008-12-04 09:34:36 UTC (rev 25) @@ -148,7 +148,7 @@ msg_title: DB 0x0d, 0x0a DB " PhoeniOS IPL Version:1.0.3", 0x0d, 0x0a - DB " Published by Lite Systems.", 0x0d, 0x0a + DB " Copyright (C) 2008 Lite Systems.", 0x0d, 0x0a DB " Licensed under the GNU General Public License v3.", 0x0d, 0x0a DB 0 Modified: PhoeniOS/trunk/system/phoenios.sys =================================================================== (Binary files differ) From svnnotify ¡÷ sourceforge.jp Thu Dec 4 18:47:25 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 18:47:25 +0900 Subject: [PhoeniOS-SVN] [Commit] [26] Tagging the 0.1.0 release. Message-ID: <1228384045.589155.18870.nullmailer@users.sourceforge.jp> Revision: 26 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=26 Author: litesystems Date: 2008-12-04 18:47:25 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Tagging the 0.1.0 release. Added Paths: ----------- PhoeniOS/tags/0.1.0/ Copied: PhoeniOS/tags/0.1.0 (from rev 25, PhoeniOS/trunk) From svnnotify ¡÷ sourceforge.jp Thu Dec 4 18:54:54 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 18:54:54 +0900 Subject: [PhoeniOS-SVN] [Commit] [28] Message-ID: <1228384494.052028.26451.nullmailer@users.sourceforge.jp> Revision: 28 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=28 Author: litesystems Date: 2008-12-04 18:54:53 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/release/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 18:55:47 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 18:55:47 +0900 Subject: [PhoeniOS-SVN] [Commit] [29] Make release dir. Message-ID: <1228384547.094322.27455.nullmailer@users.sourceforge.jp> Revision: 29 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=29 Author: litesystems Date: 2008-12-04 18:55:46 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Make release dir. Added Paths: ----------- PhoeniOS/release/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 18:57:27 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 18:57:27 +0900 Subject: [PhoeniOS-SVN] [Commit] [30] Message-ID: <1228384647.103902.28967.nullmailer@users.sourceforge.jp> Revision: 30 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=30 Author: litesystems Date: 2008-12-04 18:57:26 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Added Paths: ----------- PhoeniOS/release/PhoeniOS_0_0_0.lzh PhoeniOS/release/PhoeniOS_0_0_0.tar.gz PhoeniOS/release/PhoeniOS_0_0_0.zip Added: PhoeniOS/release/PhoeniOS_0_0_0.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS_0_0_0.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS_0_0_0.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS_0_0_0.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS_0_0_0.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS_0_0_0.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Thu Dec 4 18:58:34 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 18:58:34 +0900 Subject: [PhoeniOS-SVN] [Commit] [31] Message-ID: <1228384714.170333.31047.nullmailer@users.sourceforge.jp> Revision: 31 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=31 Author: litesystems Date: 2008-12-04 18:58:34 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Added Paths: ----------- PhoeniOS/release/0.0.0/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:00:44 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:00:44 +0900 Subject: [PhoeniOS-SVN] [Commit] [32] Message-ID: <1228384844.603834.550.nullmailer@users.sourceforge.jp> Revision: 32 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=32 Author: litesystems Date: 2008-12-04 19:00:44 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/release/PhoeniOS_0_0_0.lzh Deleted: PhoeniOS/release/PhoeniOS_0_0_0.lzh =================================================================== (Binary files differ) From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:01:04 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:01:04 +0900 Subject: [PhoeniOS-SVN] [Commit] [33] Message-ID: <1228384864.624926.752.nullmailer@users.sourceforge.jp> Revision: 33 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=33 Author: litesystems Date: 2008-12-04 19:01:04 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/release/PhoeniOS_0_0_0.zip Deleted: PhoeniOS/release/PhoeniOS_0_0_0.zip =================================================================== (Binary files differ) From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:01:11 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:01:11 +0900 Subject: [PhoeniOS-SVN] [Commit] [34] Message-ID: <1228384871.487675.824.nullmailer@users.sourceforge.jp> Revision: 34 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=34 Author: litesystems Date: 2008-12-04 19:01:11 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/release/PhoeniOS_0_0_0.tar.gz Deleted: PhoeniOS/release/PhoeniOS_0_0_0.tar.gz =================================================================== (Binary files differ) From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:03:58 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:03:58 +0900 Subject: [PhoeniOS-SVN] [Commit] [35] Import releaseof 0.0.0 Message-ID: <1228385038.259942.3436.nullmailer@users.sourceforge.jp> Revision: 35 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=35 Author: litesystems Date: 2008-12-04 19:03:57 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Import releaseof 0.0.0 Added Paths: ----------- PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.lzh PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.tar.gz PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.zip Added: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:04:46 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:04:46 +0900 Subject: [PhoeniOS-SVN] [Commit] [36] Make dir of release 0.0.1 Message-ID: <1228385086.796692.4628.nullmailer@users.sourceforge.jp> Revision: 36 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=36 Author: litesystems Date: 2008-12-04 19:04:46 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Make dir of release 0.0.1 Added Paths: ----------- PhoeniOS/release/0.0.1/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:05:01 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:05:01 +0900 Subject: [PhoeniOS-SVN] [Commit] [37] Make dir of release 0.0.2 Message-ID: <1228385101.565847.4730.nullmailer@users.sourceforge.jp> Revision: 37 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=37 Author: litesystems Date: 2008-12-04 19:05:01 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Make dir of release 0.0.2 Added Paths: ----------- PhoeniOS/release/0.0.2/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:05:15 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:05:15 +0900 Subject: [PhoeniOS-SVN] [Commit] [38] Make dir of release 0.1.0 Message-ID: <1228385115.045511.4841.nullmailer@users.sourceforge.jp> Revision: 38 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=38 Author: litesystems Date: 2008-12-04 19:05:14 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Make dir of release 0.1.0 Added Paths: ----------- PhoeniOS/release/0.1.0/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:05:46 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:05:46 +0900 Subject: [PhoeniOS-SVN] [Commit] [39] Import release of 0.0.1 Message-ID: <1228385146.262119.5070.nullmailer@users.sourceforge.jp> Revision: 39 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=39 Author: litesystems Date: 2008-12-04 19:05:46 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Import release of 0.0.1 Added Paths: ----------- PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.lzh PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.tar.gz PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.zip Added: PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.1/PhoeniOS_0_0_1.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:06:24 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:06:24 +0900 Subject: [PhoeniOS-SVN] [Commit] [40] Import release of 0.0.2 Message-ID: <1228385184.763733.6245.nullmailer@users.sourceforge.jp> Revision: 40 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=40 Author: litesystems Date: 2008-12-04 19:06:24 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Import release of 0.0.2 Added Paths: ----------- PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.lzh PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.tar.gz PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.zip Added: PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.2/PhoeniOS_0_0_2.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:06:42 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:06:42 +0900 Subject: [PhoeniOS-SVN] [Commit] [41] Import release of 0.1.0 Message-ID: <1228385202.988436.6348.nullmailer@users.sourceforge.jp> Revision: 41 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=41 Author: litesystems Date: 2008-12-04 19:06:42 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Import release of 0.1.0 Added Paths: ----------- PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.lzh PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.tar.gz PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.zip Added: PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.0/PhoeniOS_0_1_0.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:09:00 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:09:00 +0900 Subject: [PhoeniOS-SVN] [Commit] [42] Message-ID: <1228385340.106422.8801.nullmailer@users.sourceforge.jp> Revision: 42 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=42 Author: litesystems Date: 2008-12-04 19:09:00 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/release/0.0.0/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:09:14 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:09:14 +0900 Subject: [PhoeniOS-SVN] =?utf-8?q?=5BCommit=5D_=5B43=5D_Make_dir_of_releas?= =?utf-8?b?ZSAwLjAuIDDvvZ7vvZ7vvZ4=?= Message-ID: <1228385354.535238.8929.nullmailer@users.sourceforge.jp> Revision: 43 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=43 Author: litesystems Date: 2008-12-04 19:09:14 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Make dir of release 0.0.0??? Added Paths: ----------- PhoeniOS/release/0.0.0/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:09:29 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:09:29 +0900 Subject: [PhoeniOS-SVN] [Commit] [44] Message-ID: <1228385369.461020.9037.nullmailer@users.sourceforge.jp> Revision: 44 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=44 Author: litesystems Date: 2008-12-04 19:09:29 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/release/0.0.0/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:09:33 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:09:33 +0900 Subject: [PhoeniOS-SVN] [Commit] [45] Make dir of release 0.0.0 Message-ID: <1228385373.960384.9079.nullmailer@users.sourceforge.jp> Revision: 45 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=45 Author: litesystems Date: 2008-12-04 19:09:33 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Make dir of release 0.0.0 Added Paths: ----------- PhoeniOS/release/0.0.0/ From svnnotify ¡÷ sourceforge.jp Thu Dec 4 19:09:56 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 19:09:56 +0900 Subject: [PhoeniOS-SVN] [Commit] [46] Import release of 0.0.0 Message-ID: <1228385396.671625.10494.nullmailer@users.sourceforge.jp> Revision: 46 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=46 Author: litesystems Date: 2008-12-04 19:09:56 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Import release of 0.0.0 Added Paths: ----------- PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.lzh PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.tar.gz PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.zip Added: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.0.0/PhoeniOS_0_0_0.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Thu Dec 4 18:53:22 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Thu, 04 Dec 2008 18:53:22 +0900 Subject: [PhoeniOS-SVN] [Commit] [27] Message-ID: <1228384402.932873.25045.nullmailer@users.sourceforge.jp> Revision: 27 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=27 Author: litesystems Date: 2008-12-04 18:53:22 +0900 (Thu, 04 Dec 2008) Log Message: ----------- Added Paths: ----------- PhoeniOS/release/ PhoeniOS/release/?³ã??³ã? ????³ã???lnk PhoeniOS/release/GPL.txt PhoeniOS/release/LGPL.txt PhoeniOS/release/Memorymap.txt PhoeniOS/release/PhoeniOS/ PhoeniOS/release/PhoeniOS/!cons_9x.bat PhoeniOS/release/PhoeniOS/!cons_nt.bat PhoeniOS/release/PhoeniOS/GPL.html PhoeniOS/release/PhoeniOS/GPL.txt PhoeniOS/release/PhoeniOS/Makefile PhoeniOS/release/PhoeniOS/make.bat PhoeniOS/release/PhoeniOS/phoenios.rul PhoeniOS/release/PhoeniOS/readme.txt PhoeniOS/release/PhoeniOS/system/ PhoeniOS/release/PhoeniOS/system/!cons_9x.bat PhoeniOS/release/PhoeniOS/system/!cons_nt.bat PhoeniOS/release/PhoeniOS/system/Makefile PhoeniOS/release/PhoeniOS/system/asmhead.nas PhoeniOS/release/PhoeniOS/system/bootpack.cpp PhoeniOS/release/PhoeniOS/system/ipl.bin PhoeniOS/release/PhoeniOS/system/ipl.nas PhoeniOS/release/PhoeniOS/system/make.bat PhoeniOS/release/PhoeniOS/system/phoenios.sys PhoeniOS/release/PhoeniOS_0.0.0/ PhoeniOS/release/PhoeniOS_0.0.0/!cons_9x.bat PhoeniOS/release/PhoeniOS_0.0.0/!cons_nt.bat PhoeniOS/release/PhoeniOS_0.0.0/GPL.html PhoeniOS/release/PhoeniOS_0.0.0/GPL.txt PhoeniOS/release/PhoeniOS_0.0.0/Makefile PhoeniOS/release/PhoeniOS_0.0.0/make.bat PhoeniOS/release/PhoeniOS_0.0.0/readme.txt PhoeniOS/release/PhoeniOS_0.0.0/release.txt PhoeniOS/release/PhoeniOS_0.0.0/system/ PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_9x.bat PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_nt.bat PhoeniOS/release/PhoeniOS_0.0.0/system/Makefile PhoeniOS/release/PhoeniOS_0.0.0/system/ipl.bin PhoeniOS/release/PhoeniOS_0.0.0/system/ipl.nas PhoeniOS/release/PhoeniOS_0.0.0/system/make.bat PhoeniOS/release/PhoeniOS_0.0.1/ PhoeniOS/release/PhoeniOS_0.0.1/!cons_9x.bat PhoeniOS/release/PhoeniOS_0.0.1/!cons_nt.bat PhoeniOS/release/PhoeniOS_0.0.1/GPL.html PhoeniOS/release/PhoeniOS_0.0.1/GPL.txt PhoeniOS/release/PhoeniOS_0.0.1/Makefile PhoeniOS/release/PhoeniOS_0.0.1/make.bat PhoeniOS/release/PhoeniOS_0.0.1/phoenios.img PhoeniOS/release/PhoeniOS_0.0.1/readme.txt PhoeniOS/release/PhoeniOS_0.0.1/release.txt PhoeniOS/release/PhoeniOS_0.0.1/system/ PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_9x.bat PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_nt.bat PhoeniOS/release/PhoeniOS_0.0.1/system/Makefile PhoeniOS/release/PhoeniOS_0.0.1/system/ipl.bin PhoeniOS/release/PhoeniOS_0.0.1/system/ipl.nas PhoeniOS/release/PhoeniOS_0.0.1/system/make.bat PhoeniOS/release/PhoeniOS_0.0.2/ PhoeniOS/release/PhoeniOS_0.0.2/!cons_9x.bat PhoeniOS/release/PhoeniOS_0.0.2/!cons_nt.bat PhoeniOS/release/PhoeniOS_0.0.2/GPL.html PhoeniOS/release/PhoeniOS_0.0.2/GPL.txt PhoeniOS/release/PhoeniOS_0.0.2/Makefile PhoeniOS/release/PhoeniOS_0.0.2/make.bat PhoeniOS/release/PhoeniOS_0.0.2/readme.txt PhoeniOS/release/PhoeniOS_0.0.2/release.txt PhoeniOS/release/PhoeniOS_0.0.2/system/ PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_9x.bat PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_nt.bat PhoeniOS/release/PhoeniOS_0.0.2/system/Makefile PhoeniOS/release/PhoeniOS_0.0.2/system/ipl.bin PhoeniOS/release/PhoeniOS_0.0.2/system/ipl.nas PhoeniOS/release/PhoeniOS_0.0.2/system/make.bat PhoeniOS/release/SVN - Command.txt PhoeniOS/release/license.txt PhoeniOS/release/startuplib/ PhoeniOS/release/startuplib/!cons_9x.bat PhoeniOS/release/startuplib/!cons_nt.bat PhoeniOS/release/startuplib/Makefile PhoeniOS/release/startuplib/make.bat PhoeniOS/release/startuplib/startup.c PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_9x.bat PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_nt.bat PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/Makefile PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/asmhead.nas PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.cpp PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.h PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/haribote.rul PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/ipl20.nas PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/make.bat PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/naskfunc.nas PhoeniOS/release/z_new_o/ PhoeniOS/release/z_new_o/!cons_9x.bat PhoeniOS/release/z_new_o/!cons_nt.bat PhoeniOS/release/z_new_o/Makefile PhoeniOS/release/z_new_o/TRANS.TBL PhoeniOS/release/z_new_o/make.bat PhoeniOS/release/z_new_w/ PhoeniOS/release/z_new_w/!cons_9x.bat PhoeniOS/release/z_new_w/!cons_nt.bat PhoeniOS/release/z_new_w/Makefile PhoeniOS/release/z_new_w/TRANS.TBL PhoeniOS/release/z_new_w/make.bat PhoeniOS/release/z_osabin/ PhoeniOS/release/z_osabin/!cons_9x.bat PhoeniOS/release/z_osabin/!cons_nt.bat PhoeniOS/release/z_osabin/!run_opt.txt PhoeniOS/release/z_osabin/TRANS.TBL PhoeniOS/release/z_osabin/run.bat PhoeniOS/release/z_tools/ PhoeniOS/release/z_tools/OSASK0.PSF PhoeniOS/release/z_tools/TRANS.TBL PhoeniOS/release/z_tools/aksa.exe PhoeniOS/release/z_tools/as.exe PhoeniOS/release/z_tools/aska.exe PhoeniOS/release/z_tools/bim2bin.exe PhoeniOS/release/z_tools/bim2hrb.exe PhoeniOS/release/z_tools/bin2obj.exe PhoeniOS/release/z_tools/c++.exe PhoeniOS/release/z_tools/cc1.exe PhoeniOS/release/z_tools/cc1plus.exe PhoeniOS/release/z_tools/com_mak.txt PhoeniOS/release/z_tools/comcom.exe PhoeniOS/release/z_tools/cpp0.exe PhoeniOS/release/z_tools/dsar.bat PhoeniOS/release/z_tools/edimg.exe PhoeniOS/release/z_tools/edimgopt.txt PhoeniOS/release/z_tools/esart5.bat PhoeniOS/release/z_tools/fdimg0at.tek PhoeniOS/release/z_tools/fdimg0tw.tek PhoeniOS/release/z_tools/gas2nask.exe PhoeniOS/release/z_tools/golib00.exe PhoeniOS/release/z_tools/guigui00/ PhoeniOS/release/z_tools/guigui00/TRANS.TBL PhoeniOS/release/z_tools/guigui00/errno.h PhoeniOS/release/z_tools/guigui00/float.h PhoeniOS/release/z_tools/guigui00/gg00libc.lib PhoeniOS/release/z_tools/guigui00/gg00old0.rul PhoeniOS/release/z_tools/guigui00/golibc.lib PhoeniOS/release/z_tools/guigui00/guigui00.h PhoeniOS/release/z_tools/guigui00/guigui00.rul PhoeniOS/release/z_tools/guigui00/limits.h PhoeniOS/release/z_tools/guigui00/math.h PhoeniOS/release/z_tools/guigui00/setjmp.h PhoeniOS/release/z_tools/guigui00/stdarg.h PhoeniOS/release/z_tools/guigui00/stddef.h PhoeniOS/release/z_tools/guigui00/stdio.h PhoeniOS/release/z_tools/guigui00/stdlib.h PhoeniOS/release/z_tools/guigui00/string.h PhoeniOS/release/z_tools/haribote/ PhoeniOS/release/z_tools/haribote/errno.h PhoeniOS/release/z_tools/haribote/float.h PhoeniOS/release/z_tools/haribote/golibc.lib PhoeniOS/release/z_tools/haribote/haribote.rul PhoeniOS/release/z_tools/haribote/harilibc.lib PhoeniOS/release/z_tools/haribote/limits.h PhoeniOS/release/z_tools/haribote/math.h PhoeniOS/release/z_tools/haribote/setjmp.h PhoeniOS/release/z_tools/haribote/stdarg.h PhoeniOS/release/z_tools/haribote/stddef.h PhoeniOS/release/z_tools/haribote/stdio.h PhoeniOS/release/z_tools/haribote/string.h PhoeniOS/release/z_tools/imgtol.com PhoeniOS/release/z_tools/ld.exe PhoeniOS/release/z_tools/make.exe PhoeniOS/release/z_tools/makefont.exe PhoeniOS/release/z_tools/nask.exe PhoeniOS/release/z_tools/naskcnv0.exe PhoeniOS/release/z_tools/nothing.com PhoeniOS/release/z_tools/obj2bim.exe PhoeniOS/release/z_tools/osa_qemu/ PhoeniOS/release/z_tools/osa_qemu/Makefile PhoeniOS/release/z_tools/osa_qemu/OSAIMGAT.BIN PhoeniOS/release/z_tools/osa_qemu/OSASK.EXE PhoeniOS/release/z_tools/osa_qemu/OSASK0.PSF PhoeniOS/release/z_tools/osa_qemu/TRANS.TBL PhoeniOS/release/z_tools/osa_qemu/edimgopt.txt PhoeniOS/release/z_tools/osa_qemu/manual.bat PhoeniOS/release/z_tools/osa_qemu/osaimgqe.bin PhoeniOS/release/z_tools/osa_qemu/osalink1.opt PhoeniOS/release/z_tools/osa_qemu/osask_qe.exe PhoeniOS/release/z_tools/osa_qemu/osask_qe.sys PhoeniOS/release/z_tools/osa_qemu/timerdrv.tek PhoeniOS/release/z_tools/osalink1.exe PhoeniOS/release/z_tools/phoenios/ PhoeniOS/release/z_tools/phoenios/phoenios.lib PhoeniOS/release/z_tools/qemu/ PhoeniOS/release/z_tools/qemu/Makefile PhoeniOS/release/z_tools/qemu/SDL.dll PhoeniOS/release/z_tools/qemu/TRANS.TBL PhoeniOS/release/z_tools/qemu/bios.bin PhoeniOS/release/z_tools/qemu/fdimage0.bin PhoeniOS/release/z_tools/qemu/qemu.exe PhoeniOS/release/z_tools/qemu/vgabios.bin PhoeniOS/release/z_tools/qemu_9x/ PhoeniOS/release/z_tools/qemu_9x/Makefile PhoeniOS/release/z_tools/qemu_9x/SDL.dll PhoeniOS/release/z_tools/qemu_9x/TRANS.TBL PhoeniOS/release/z_tools/qemu_9x/bios.bin PhoeniOS/release/z_tools/qemu_9x/qemu.exe PhoeniOS/release/z_tools/qemu_9x/vgabios.bin PhoeniOS/release/z_tools/sartol.exe PhoeniOS/release/z_tools/sjisconv.exe PhoeniOS/release/z_tools/t5lzma.exe PhoeniOS/release/z_tools/upx.exe PhoeniOS/release/z_tools/wce.exe PhoeniOS/release/z_tools/win32/ PhoeniOS/release/z_tools/win32/TRANS.TBL PhoeniOS/release/z_tools/win32/errno.h PhoeniOS/release/z_tools/win32/float.h PhoeniOS/release/z_tools/win32/golibc.lib PhoeniOS/release/z_tools/win32/libmingw.lib PhoeniOS/release/z_tools/win32/limits.h PhoeniOS/release/z_tools/win32/math.h PhoeniOS/release/z_tools/win32/setjmp.h PhoeniOS/release/z_tools/win32/stdarg.h PhoeniOS/release/z_tools/win32/stddef.h PhoeniOS/release/z_tools/win32/stdio.h PhoeniOS/release/z_tools/win32/stdlib.h PhoeniOS/release/z_tools/win32/string.h PhoeniOS/release/z_tools/win32/w32clibc.lib Added: PhoeniOS/release/?³ã??³ã? ????³ã???lnk =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/?³ã??³ã? ????³ã???lnk ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/GPL.txt =================================================================== --- PhoeniOS/release/GPL.txt (rev 0) +++ PhoeniOS/release/GPL.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: PhoeniOS/release/LGPL.txt =================================================================== --- PhoeniOS/release/LGPL.txt (rev 0) +++ PhoeniOS/release/LGPL.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + Added: PhoeniOS/release/Memorymap.txt =================================================================== --- PhoeniOS/release/Memorymap.txt (rev 0) +++ PhoeniOS/release/Memorymap.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,12 @@ +0x00001000 - BOOTINFO - IPL??????????? +0x00001001 - BOOTINFO - ????????+0x00001002 - 0x00001003 - ???????? +0x00001004 - 0x00001005 - ??????????X +0x00001006 - 0x00001007 - ??????????Y +0x00001008 - 0x0000100b - VRAM????? +0x00007c00 - 0x00007dff - ????????????????? +0x00008200 - ???????????? (????????? (1440KB????) +0x00090000 - 0x000900ff - VBE??+0x00090100 - 0x000901ff - ???????+0x00100000 - 0x00267fff - ???????????? (??????????????) +0x00280000 - 0x002fffff - bootpack.hrb (????????????) \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/GPL.html =================================================================== --- PhoeniOS/release/PhoeniOS/GPL.html (rev 0) +++ PhoeniOS/release/PhoeniOS/GPL.html 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,692 @@ + + + + + + GNU General Public License - GNU Project - Free Software Foundation (FSF) + +

GNU GENERAL PUBLIC LICENSE

+

Version 3, 29 June 2007

+ +

Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>

+ Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.

+ +

Preamble

+ +

The GNU General Public License is a free, copyleft license for +software and other kinds of works.

+ +

The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too.

+ +

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things.

+ +

To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others.

+ +

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights.

+ +

Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it.

+ +

For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions.

+ +

Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users.

+ +

Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free.

+ +

The precise terms and conditions for copying, distribution and +modification follow.

+ +

TERMS AND CONDITIONS

+ +

0. Definitions.

+ +

??his License??refers to version 3 of the GNU General Public License.

+ +

??opyright??also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks.

+ +

??he Program??refers to any copyrightable work licensed under this +License. Each licensee is addressed as ??ou?? ??icensees??and +??ecipients??may be individuals or organizations.

+ +

To ??odify??a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a ??odified version??of the +earlier work or a work ??ased on??the earlier work.

+ +

A ??overed work??means either the unmodified Program or a work based +on the Program.

+ +

To ??ropagate??a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well.

+ +

To ??onvey??a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying.

+ +

An interactive user interface displays ??ppropriate Legal Notices??+to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion.

+ +

1. Source Code.

+ +

The ??ource code??for a work means the preferred form of the work +for making modifications to it. ??bject code??means any non-source +form of a work.

+ +

A ??tandard Interface??means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language.

+ +

The ??ystem Libraries??of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +??ajor Component?? in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it.

+ +

The ??orresponding Source??for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work.

+ +

The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source.

+ +

The Corresponding Source for a work in source code form is that +same work.

+ +

2. Basic Permissions.

+ +

All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law.

+ +

You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you.

+ +

Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary.

+ +

3. Protecting Users' Legal Rights From Anti-Circumvention Law.

+ +

No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures.

+ +

When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures.

+ +

4. Conveying Verbatim Copies.

+ +

You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program.

+ +

You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee.

+ +

5. Conveying Modified Source Versions.

+ +

You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions:

+ +
    +
  • a) The work must carry prominent notices stating that you modified + it, and giving a relevant date.
  • + +
  • b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + ??eep intact all notices??
  • + +
  • c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it.
  • + +
  • d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so.
  • +
+ +

A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +??ggregate??if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate.

+ +

6. Conveying Non-Source Forms.

+ +

You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways:

+ +
    +
  • a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange.
  • + +
  • b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge.
  • + +
  • c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b.
  • + +
  • d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements.
  • + +
  • e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d.
  • +
+ +

A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work.

+ +

A ??ser Product??is either (1) a ??onsumer product?? which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, ??ormally used??refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product.

+ +

??nstallation Information??for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made.

+ +

If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM).

+ +

The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network.

+ +

Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying.

+ +

7. Additional Terms.

+ +

??dditional permissions??are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions.

+ +

When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission.

+ +

Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms:

+ +
    +
  • a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or
  • + +
  • b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or
  • + +
  • c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or
  • + +
  • d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or
  • + +
  • e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or
  • + +
  • f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors.
  • +
+ +

All other non-permissive additional terms are considered ??urther +restrictions??within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying.

+ +

If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms.

+ +

Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way.

+ +

8. Termination.

+ +

You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11).

+ +

However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation.

+ +

Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice.

+ +

Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10.

+ +

9. Acceptance Not Required for Having Copies.

+ +

You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so.

+ +

10. Automatic Licensing of Downstream Recipients.

+ +

Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License.

+ +

An ??ntity transaction??is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts.

+ +

You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it.

+ +

11. Patents.

+ +

A ??ontributor??is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's ??ontributor version??

+ +

A contributor's ??ssential patent claims??are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, ??ontrol??includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License.

+ +

Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version.

+ +

In the following three paragraphs, a ??atent license??is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To ??rant??such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party.

+ +

If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. ??nowingly relying??means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid.

+ +

If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it.

+ +

A patent license is ??iscriminatory??if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007.

+ +

Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law.

+ +

12. No Surrender of Others' Freedom.

+ +

If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program.

+ +

13. Use with the GNU Affero General Public License.

+ +

Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such.

+ +

14. Revised Versions of this License.

+ +

The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.

+ +

Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License ??r any later version??applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation.

+ +

If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program.

+ +

Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version.

+ +

15. Disclaimer of Warranty.

+ +

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ??S IS??WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

+ +

16. Limitation of Liability.

+ +

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES.

+ +

17. Interpretation of Sections 15 and 16.

+ +

If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee.

+ +

END OF TERMS AND CONDITIONS

+ +

How to Apply These Terms to Your New Programs

+ +

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms.

+ +

To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the ??opyright??line and a pointer to where the full notice is found.

+ +
    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+ +

Also add information on how to contact you by electronic and paper mail.

+ +

If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode:

+ +
    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+ +

The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an ??bout box??

+ +

You should also get your employer (if you work as a programmer) or school, +if any, to sign a ??opyright disclaimer??for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>.

+ +

The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>.

+ + + \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/GPL.txt =================================================================== --- PhoeniOS/release/PhoeniOS/GPL.txt (rev 0) +++ PhoeniOS/release/PhoeniOS/GPL.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. Added: PhoeniOS/release/PhoeniOS/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,65 @@ +TOOLPATH = ../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +EDIMG = $(TOOLPATH)edimg.exe +IMGTOL = $(TOOLPATH)imgtol.com +COPY = copy +DEL = del + +# ??????? + +default : + $(MAKE) phoenios.img + +# ???????? + +phoenios.img : system/ipl.bin system/phoenios.sys Makefile + $(EDIMG) imgin:../z_tools/fdimg0at.tek \ + wbinimg src:system/ipl.bin len:512 from:0 to:0 \ + copy from:system/phoenios.sys to:@: \ + imgout:phoenios.img + +# ???? + +run : + $(MAKE) phoenios.img + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install : + $(MAKE) phoenios.img + $(IMGTOL) w a: phoenios.img + +full : + $(MAKE) -C system + +run_full : + $(MAKE) full + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install_full : + $(MAKE) full + $(IMGTOL) w a: phoenios.img + +run_os : + $(MAKE) -C system + $(MAKE) run + +clean : + +src_only : + $(MAKE) clean + -$(DEL) phoenios.img + +clean_full : + $(MAKE) -C system clean + +src_only_full : + $(MAKE) -C system src_only + +refresh : + $(MAKE) full + $(MAKE) clean_full + -$(DEL) phoenios.img Added: PhoeniOS/release/PhoeniOS/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/phoenios.rul =================================================================== --- PhoeniOS/release/PhoeniOS/phoenios.rul (rev 0) +++ PhoeniOS/release/PhoeniOS/phoenios.rul 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,19 @@ +format: + /* ?????????????????*/ + code(align:1, logic:0x24, file:0x24); + data(align:4, logic:stack_end, file:code_end); + +file: + /* ????????????????????????+ .ojb?????.lib??????? */ + /* ??????????????????????B */ + /* ?? c:/osask/gg00libc.lib; */ + ../../z_tools/phoenios/phoenios.lib; + ../../z_tools/haribote/golibc.lib; + +label: + /* ???????????????????? */ + /* ???????????????????????? */ + _Startup; + + /* ?L3???????????????????? */ Added: PhoeniOS/release/PhoeniOS/readme.txt =================================================================== --- PhoeniOS/release/PhoeniOS/readme.txt (rev 0) +++ PhoeniOS/release/PhoeniOS/readme.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,11 @@ +------------------------------------------- + Name: PhoeniOS + Version: 0.1.0 + Publisher: Lite Systems + License: GNU General Public License v3 +------------------------------------------- + +1,????? + +PhoeniOS??????? GNU General Public License v3 ??? +?????????GPL.txt???GPL.html???????? \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/system/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS/system/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS/system/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/system/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS/system/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS/system/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/system/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS/system/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS/system/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,54 @@ +OBJS_BOOTPACK = bootpack.obj + +TOOLPATH = ../../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +CPP = $(TOOLPATH)c++.exe -I../../z_tools/haribote -Os -Wall -nostdlib -fno-builtin -fno-exceptions -fno-rtti -B$(TOOLPATH) -c +OBJ2BIM = $(TOOLPATH)obj2bim.exe +BIM2HRB = $(TOOLPATH)bim2hrb.exe +RULEFILE = ../phoenios.rul +DEL = del + +# ??????? + +default : + $(MAKE) ipl.bin + $(MAKE) phoenios.sys + +# ???????? + +ipl.bin : ipl.nas Makefile + $(NASK) ipl.nas ipl.bin ipl.lst + +asmhead.bin : asmhead.nas Makefile + $(NASK) asmhead.nas asmhead.bin asmhead.lst + +bootpack.bim : $(OBJS_BOOTPACK) Makefile + $(OBJ2BIM) @$(RULEFILE) out:bootpack.bim stack:3136k map:bootpack.map $(OBJS_BOOTPACK) + +bootpack.hrb : bootpack.bim Makefile + $(BIM2HRB) bootpack.bim bootpack.hrb 0 + +phoenios.sys : asmhead.bin bootpack.hrb Makefile + copy /B asmhead.bin+bootpack.hrb phoenios.sys + +# ???? + +%.obj : %.cpp Makefile + $(CPP) -o $*.obj $*.cpp + +# ???? + +clean : + -$(DEL) asmhead.bin + -$(DEL) *.lst + -$(DEL) *.obj + -$(DEL) *.map + -$(DEL) *.bim + -$(DEL) *.hrb + +src_only : + $(MAKE) clean + -$(DEL) ipl.bin + -$(DEL) phoenios.sys Added: PhoeniOS/release/PhoeniOS/system/asmhead.nas =================================================================== --- PhoeniOS/release/PhoeniOS/system/asmhead.nas (rev 0) +++ PhoeniOS/release/PhoeniOS/system/asmhead.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,202 @@ +; --------------------------------------------------------- +; File: asmhead.nas +; Version: 1.0.0 +; Update: 2008/11/28 +; License: GNU General Public License v3 +; Description: PhoeniOS???????????????+; --------------------------------------------------------- + +[INSTRSET "i486p"] + +BOTPAK EQU 0x00280000 ; bootpack????? +DSKCAC EQU 0x00100000 ; ????????????+DSKCAC0 EQU 0x00008000 ; ????????????i??????? + +; ??????? +; 0x100 : 640 x 400 x 8bit +; 0x101 : 640 x 480 x 8bit +; 0x103 : 800 x 600 x 8bit +; 0x105 : 1024 x 768 x 8bit +; 0x107 : 1280 x 1024 x 8bit + +VBEMODE EQU 0x103 ; VBE??? + +; BOOTINFO +CYLS EQU 0x1000 ; ?????????? +LEDS EQU 0x1001 ; ????????+VMODE EQU 0x1002 ; ?? +SCRNX EQU 0x1004 ; ????X +SCRNY EQU 0x1006 ; ????Y +VRAM EQU 0x1008 ; ??????????????? + + ORG 0xc200 + +; VBE?????+ + MOV AX,0x9000 + MOV ES,AX + MOV DI,0 + MOV AX,0x4f00 + INT 0x10 + CMP AX,0x004f + JNE scrn320 + +; VBE?????????? + + MOV AX,[ES:DI+4] + CMP AX,0x0200 + JB scrn320 + +; ??????????+ + MOV CX,VBEMODE + MOV AX,0x4f01 + INT 0x10 + CMP AX,0x004f + JNE scrn320 + +; ????????m? + + CMP BYTE [ES:DI+0x19],8 + JNE scrn320 + CMP BYTE [ES:DI+0x1b],4 + JNE scrn320 + MOV AX,[ES:DI+0x00] + AND AX,0x0080 + JZ scrn320 + +; ?????????? + + MOV BX,VBEMODE+0x4000 + MOV AX,0x4f02 + INT 0x10 + MOV BYTE [VMODE],8 ; BOOTINFO - ?? + MOV AX,[ES:DI+0x12] + MOV [SCRNX],AX ; BOOTINFO - ????X + MOV AX,[ES:DI+0x14] + MOV [SCRNY],AX ; BOOTINFO - ????Y + MOV EAX,[ES:DI+0x28] + MOV [VRAM],EAX ; BOOTINFO - ??????????????? + JMP keystatus + +scrn320: + MOV AL,0x13 + MOV AH,0x00 + INT 0x10 + MOV BYTE [VMODE],8 + MOV WORD [SCRNX],320 + MOV WORD [SCRNY],200 + MOV DWORD [VRAM],0x000a0000 + +keystatus: + MOV AH,0x02 + INT 0x16 + MOV [LEDS],AL ; BOOTINFO - ????????+ +; PIC????????????????? + + MOV AL,0xff + OUT 0x21,AL + NOP + OUT 0xa1,AL + + CLI + +; A20GATE????? + + CALL waitkbdout + MOV AL,0xd1 + OUT 0x64,AL + CALL waitkbdout + MOV AL,0xdf + OUT 0x60,AL + CALL waitkbdout + +; ??????????? + + LGDT [GDTR0] ; ??GDT????? + MOV EAX,CR0 + AND EAX,0x7fffffff ; ???????????,bit31?0??? + OR EAX,0x00000001 ; ??????????????,bit0?1??? + MOV CR0,EAX + JMP pipelineflush + +pipelineflush: + MOV AX,1*8 ; ?????\?????32bit + MOV DS,AX + MOV ES,AX + MOV FS,AX + MOV GS,AX + MOV SS,AX + +; bootpack??? + + MOV ESI,bootpack ; ??? + MOV EDI,BOTPAK ; ??? + MOV ECX,512*1024/4 + CALL memcpy + +; ??????????? +; ?????? + + MOV ESI,0x7c00 ; ??? + MOV EDI,DSKCAC ; ??? + MOV ECX,512/4 + CALL memcpy + +; ???? + + MOV ESI,DSKCAC0+512 ; ??? + MOV EDI,DSKCAC+512 ; ??? + MOV ECX,0 + MOV CL,BYTE [CYLS] + IMUL ECX,512*18*2/4 ; ???????????/4??? + SUB ECX,512/4 + CALL memcpy + +; bootpack??? + + MOV EBX,BOTPAK + MOV ECX,[EBX+16] + ADD ECX,3 + SHR ECX,2 + JZ skip + MOV ESI,[EBX+20] ; ??? + ADD ESI,EBX + MOV EDI,[EBX+12] ; ??? + CALL memcpy +skip: + MOV ESP,[EBX+12] + JMP DWORD 2*8:0x0000001b + +waitkbdout: + IN AL,0x64 + AND AL,0x02 + JNZ waitkbdout + RET + +memcpy: + MOV EAX,[ESI] + ADD ESI,4 + MOV [EDI],EAX + ADD EDI,4 + SUB ECX,1 + JNZ memcpy + RET + + ALIGNB 16 + +GDT0: + RESB 8 + DW 0xffff,0x0000,0x9200,0x00cf ; ?????\?????32bit + DW 0xffff,0x0000,0x9a28,0x0047 ; ŽÀ????????32bit (bootpack?) + + DW 0 + +GDTR0: + DW 8*3-1 + DD GDT0 + + ALIGNB 16 + +bootpack: Added: PhoeniOS/release/PhoeniOS/system/bootpack.cpp =================================================================== --- PhoeniOS/release/PhoeniOS/system/bootpack.cpp (rev 0) +++ PhoeniOS/release/PhoeniOS/system/bootpack.cpp 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,29 @@ +/* --------------------------------------------------------- */ +/* File: bootpack.cpp */ +/* Version: 0.0.0 */ +/* Update: 2008/11/29 */ +/* License: GNU General Public License v3 */ +/* Description: PhoeniOS???? */ +/* --------------------------------------------------------- */ + +extern "C" +{ + void Main(void); +}; + +void Main(void) +{ +/* + char *p; + int i; + + for (i = 0xa0000; i < 0xaffff; i++) + { + p = (char *) i; + *p = i & 0x0f; + } +*/ + for (;;) + { + } +} Added: PhoeniOS/release/PhoeniOS/system/ipl.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS/system/ipl.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS/system/ipl.nas =================================================================== --- PhoeniOS/release/PhoeniOS/system/ipl.nas (rev 0) +++ PhoeniOS/release/PhoeniOS/system/ipl.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,175 @@ +; --------------------------------------------------------- +; File: ipl.nas +; Version: 1.1.0 +; Update: 2008/11/16 +; License: GNU General Public License v3 +; Description: PhoeniOS?IPL?? +; CYLS????????????????? +; ???????OS???????? +; --------------------------------------------------------- + +CYLS EQU 10 ; ????????? + + ORG 0x7c00 ; IPL????????????? + +; ?????I?FAT12?????????????????????+ + JMP entry + DB 0x90 + DB "PhoeniOS" ; ????????? + DW 512 ; 1??????? (??,512Bytes) + DB 1 ; ???????? (??,1Sector) + DW 1 ; FAT??????? (??,1Sector) + DB 2 ; FAT?? (??,2) + DW 224 ; ??????????????? (??,224Entries) + DW 2880 ; ?????????? (??,2880Sectors) + DB 0xf0 ; ???????? (??,0xf0) + DW 9 ; FAT????? (??,9Sectors) + DW 18 ; 1???????????? (??,18Sectors) + DW 2 ; ????? (??,2Heads) + DD 0 ; ???????????????? (??,0) + DD 2880 ; ?????????? (FAT32?) (??,0) + DB 0,0 ; ?? + DB 0x29 ; ?????? (??,0x29) + DD 0xffffffff ; ??????????? + DB "PhoeniOS " ; ???????? + DB "FAT12 " ; ????????? + RESB 18 ; 18?????? + +; ??????? + +entry: + MOV AX,0 ; ???????+ MOV SS,AX + MOV SP,0x7c00 + MOV DS,AX + + CALL put_line + MOV SI,msg_title + CALL put_msg + CALL put_line + +; ??????? + + MOV SI,msg_loading + CALL put_msg + + MOV AX,0x0820 + MOV ES,AX + MOV CH,0 ; ?????0??? + MOV DH,0 ; ????0??? + MOV CL,2 ; ????2??? + +readloop: + MOV SI,0 ; ޏ???????????????+ +retry: + MOV AH,0x02 ; ?????????????? + MOV AL,1 ; 1????????? + MOV BX,0 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????BIOS??????????+ JNC next ; ??????????Next? + ADD SI,1 ; ޏ????1??? + CMP SI,5 + JAE error ; ޏ????5??????Error? + MOV AH,0x00 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????????? + JMP retry + +next: + MOV AX,ES ; ?????0x200??? + ADD AX,0x0020 + MOV ES,AX + ADD CL,1 ; ????1??? + CMP CL,18 + JBE readloop ; ????18?????,Readloop? + MOV CL,1 ; ????1??? + ADD DH,1 ; ????1??? + CMP DH,2 + JB readloop ; ????2???????+ MOV DH,0 ; ????0??? + ADD CH,1 ; ?????1??? + + ; ?????????ަ + PUSH AX + MOV AL,'*' + MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ POP AX + + CMP CH,CYLS + JB readloop ; ?????CYLS???????+ + MOV SI,msg_complete + CALL put_msg + + ; phoenios.sys?ŽÀ? + MOV [0x1000],CH ; BOOTINFO - ?????????? + JMP 0xc200 ; phoenios.sys?ŽÀ? + +fin: + HLT + JMP fin + +error: + MOV AX,0 + MOV ES,AX + MOV SI,msg_load_error + CALL put_msg + JMP fin + +put_msg: + MOV AL,[SI] + ADD SI,1 ; ???????1??? + CMP AL,0 + JE .fin ; ???0?????+ MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ JMP put_msg +.fin: + RET + +put_line: + MOV CX,0 +.next: + MOV AL,'-' + MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ ADD CX,1 + CMP CX,51 + JB .next + RET + +msg_title: + DB 0x0d, 0x0a + DB " PhoeniOS IPL Version:1.0.3", 0x0d, 0x0a + DB " Copyright (C) 2008 Lite Systems.", 0x0d, 0x0a + DB " Licensed under the GNU General Public License v3.", 0x0d, 0x0a + DB 0 + +msg_loading: + DB 0x0d, 0x0a + DB 0x0d, 0x0a + DB "Loading..." + DB 0x0d, 0x0a + DB 0 + +msg_complete: + DB 0x0d, 0x0a + DB "Complete." + DB 0x0d, 0x0a + DB 0 + +msg_load_error: + DB "Load error." + DB 0x0d, 0x0a ; ?? + DB 0 + + RESB 0x7dfe-$ ; 0x7dfe?0???? + + DB 0x55, 0xaa Added: PhoeniOS/release/PhoeniOS/system/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS/system/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS/system/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/PhoeniOS/system/phoenios.sys =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS/system/phoenios.sys ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS_0.0.0/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.0/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.0/GPL.html =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/GPL.html (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/GPL.html 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,692 @@ + + + + + + GNU General Public License - GNU Project - Free Software Foundation (FSF) + +

GNU GENERAL PUBLIC LICENSE

+

Version 3, 29 June 2007

+ +

Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>

+ Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.

+ +

Preamble

+ +

The GNU General Public License is a free, copyleft license for +software and other kinds of works.

+ +

The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too.

+ +

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things.

+ +

To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others.

+ +

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights.

+ +

Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it.

+ +

For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions.

+ +

Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users.

+ +

Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free.

+ +

The precise terms and conditions for copying, distribution and +modification follow.

+ +

TERMS AND CONDITIONS

+ +

0. Definitions.

+ +

??his License??refers to version 3 of the GNU General Public License.

+ +

??opyright??also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks.

+ +

??he Program??refers to any copyrightable work licensed under this +License. Each licensee is addressed as ??ou?? ??icensees??and +??ecipients??may be individuals or organizations.

+ +

To ??odify??a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a ??odified version??of the +earlier work or a work ??ased on??the earlier work.

+ +

A ??overed work??means either the unmodified Program or a work based +on the Program.

+ +

To ??ropagate??a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well.

+ +

To ??onvey??a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying.

+ +

An interactive user interface displays ??ppropriate Legal Notices??+to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion.

+ +

1. Source Code.

+ +

The ??ource code??for a work means the preferred form of the work +for making modifications to it. ??bject code??means any non-source +form of a work.

+ +

A ??tandard Interface??means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language.

+ +

The ??ystem Libraries??of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +??ajor Component?? in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it.

+ +

The ??orresponding Source??for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work.

+ +

The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source.

+ +

The Corresponding Source for a work in source code form is that +same work.

+ +

2. Basic Permissions.

+ +

All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law.

+ +

You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you.

+ +

Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary.

+ +

3. Protecting Users' Legal Rights From Anti-Circumvention Law.

+ +

No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures.

+ +

When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures.

+ +

4. Conveying Verbatim Copies.

+ +

You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program.

+ +

You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee.

+ +

5. Conveying Modified Source Versions.

+ +

You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions:

+ +
    +
  • a) The work must carry prominent notices stating that you modified + it, and giving a relevant date.
  • + +
  • b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + ??eep intact all notices??
  • + +
  • c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it.
  • + +
  • d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so.
  • +
+ +

A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +??ggregate??if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate.

+ +

6. Conveying Non-Source Forms.

+ +

You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways:

+ +
    +
  • a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange.
  • + +
  • b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge.
  • + +
  • c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b.
  • + +
  • d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements.
  • + +
  • e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d.
  • +
+ +

A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work.

+ +

A ??ser Product??is either (1) a ??onsumer product?? which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, ??ormally used??refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product.

+ +

??nstallation Information??for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made.

+ +

If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM).

+ +

The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network.

+ +

Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying.

+ +

7. Additional Terms.

+ +

??dditional permissions??are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions.

+ +

When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission.

+ +

Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms:

+ +
    +
  • a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or
  • + +
  • b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or
  • + +
  • c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or
  • + +
  • d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or
  • + +
  • e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or
  • + +
  • f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors.
  • +
+ +

All other non-permissive additional terms are considered ??urther +restrictions??within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying.

+ +

If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms.

+ +

Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way.

+ +

8. Termination.

+ +

You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11).

+ +

However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation.

+ +

Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice.

+ +

Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10.

+ +

9. Acceptance Not Required for Having Copies.

+ +

You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so.

+ +

10. Automatic Licensing of Downstream Recipients.

+ +

Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License.

+ +

An ??ntity transaction??is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts.

+ +

You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it.

+ +

11. Patents.

+ +

A ??ontributor??is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's ??ontributor version??

+ +

A contributor's ??ssential patent claims??are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, ??ontrol??includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License.

+ +

Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version.

+ +

In the following three paragraphs, a ??atent license??is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To ??rant??such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party.

+ +

If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. ??nowingly relying??means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid.

+ +

If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it.

+ +

A patent license is ??iscriminatory??if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007.

+ +

Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law.

+ +

12. No Surrender of Others' Freedom.

+ +

If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program.

+ +

13. Use with the GNU Affero General Public License.

+ +

Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such.

+ +

14. Revised Versions of this License.

+ +

The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.

+ +

Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License ??r any later version??applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation.

+ +

If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program.

+ +

Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version.

+ +

15. Disclaimer of Warranty.

+ +

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ??S IS??WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

+ +

16. Limitation of Liability.

+ +

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES.

+ +

17. Interpretation of Sections 15 and 16.

+ +

If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee.

+ +

END OF TERMS AND CONDITIONS

+ +

How to Apply These Terms to Your New Programs

+ +

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms.

+ +

To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the ??opyright??line and a pointer to where the full notice is found.

+ +
    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+ +

Also add information on how to contact you by electronic and paper mail.

+ +

If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode:

+ +
    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+ +

The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an ??bout box??

+ +

You should also get your employer (if you work as a programmer) or school, +if any, to sign a ??opyright disclaimer??for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>.

+ +

The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>.

+ + + \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.0/GPL.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/GPL.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/GPL.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. Added: PhoeniOS/release/PhoeniOS_0.0.0/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,64 @@ +TOOLPATH = ../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +EDIMG = $(TOOLPATH)edimg.exe +IMGTOL = $(TOOLPATH)imgtol.com +COPY = copy +DEL = del + +# ??????? + +default : + $(MAKE) phoenios.img + +# ???????? + +phoenios.img : system/ipl.bin Makefile + $(EDIMG) imgin:../z_tools/fdimg0at.tek \ + wbinimg src:system/ipl.bin len:512 from:0 to:0 \ + imgout:phoenios.img + +# ???? + +run : + $(MAKE) phoenios.img + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install : + $(MAKE) phoenios.img + $(IMGTOL) w a: phoenios.img + +full : + $(MAKE) -C system + +run_full : + $(MAKE) full + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install_full : + $(MAKE) full + $(IMGTOL) w a: phoenios.img + +run_os : + $(MAKE) -C system + $(MAKE) run + +clean : + +src_only : + $(MAKE) clean + -$(DEL) phoenios.img + +clean_full : + $(MAKE) -C system clean + +src_only_full : + $(MAKE) -C system src_only + +refresh : + $(MAKE) full + $(MAKE) clean_full + -$(DEL) phoenios.img Added: PhoeniOS/release/PhoeniOS_0.0.0/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.0/readme.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/readme.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/readme.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,11 @@ +------------------------------------------- + Name: PhoeniOS + Version: 0.0.0 + Publisher: Lite Systems + License: GNU General Public License v3 +------------------------------------------- + +1,????? + +PhoeniOS??????? GNU General Public License v3 ??? +?????????GPL.txt???GPL.html???????? \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.0/release.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/release.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/release.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,7 @@ +-------------------------- + PhoeniOS Release Notes +-------------------------- + +2008/11/08 Version:0.0.0 +- ??????J +- IPL Version:1.0.0 ??? Added: PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/system/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.0/system/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/system/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/system/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,24 @@ +TOOLPATH = ../../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +DEL = del + +# ??????? + +default : + $(MAKE) ipl.bin + +# ???????? + +ipl.bin : ipl.nas Makefile + $(NASK) ipl.nas ipl.bin ipl.lst + +# ???? + +clean : + -$(DEL) *.lst + +src_only : + $(MAKE) clean + -$(DEL) ipl.bin Added: PhoeniOS/release/PhoeniOS_0.0.0/system/ipl.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS_0.0.0/system/ipl.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS_0.0.0/system/ipl.nas =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/system/ipl.nas (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/system/ipl.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,116 @@ +; --------------------------------------------------------- +; File: ipl.nas +; Version: 1.0.0 +; Update: 2008/11/04 +; License: GNU General Public License v3 +; Description: PhoeniOS?IPL?? +; CYLS????????????????? +; ???????OS???????? +; --------------------------------------------------------- + +CYLS EQU 10 ; ????????? + + ORG 0x7c00 ; IPL????????????? + +; ?????I?FAT12?????????????????????+ + JMP Entry + DB 0x90 + DB "PhoeniOS" ; ????????? + DW 512 ; 1??????? (??,512Bytes) + DB 1 ; ???????? (??,1Sector) + DW 1 ; FAT??????? (??,1Sector) + DB 2 ; FAT?? (??,2) + DW 224 ; ??????????????? (??,224Entries) + DW 2880 ; ?????????? (??,2880Sectors) + DB 0xf0 ; ???????? (??,0xf0) + DW 9 ; FAT????? (??,9Sectors) + DW 18 ; 1???????????? (??,18Sectors) + DW 2 ; ????? (??,2Heads) + DD 0 ; ???????????????? (??,0) + DD 2880 ; ?????????? (FAT32?) (??,0) + DB 0,0 ; ?? + DB 0x29 ; ?????? (??,0x29) + DD 0xffffffff ; ??????????? + DB "PhoeniOS " ; ???????? + DB "FAT12 " ; ????????? + RESB 18 ; 18?????? + +; ??????? + +Entry: + MOV AX,0 ; ???????+ MOV SS,AX + MOV SP,0x7c00 + MOV DS,AX + +; ??????? + + MOV AX,0x0820 + MOV ES,AX + MOV CH,0 ; ?????0??? + MOV DH,0 ; ????0??? + MOV CL,2 ; ????2??? + +Readloop: + MOV SI,0 ; ޏ???????????????+ +Retry: + MOV AH,0x02 ; ?????????????? + MOV AL,1 ; 1????????? + MOV BX,0 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????BIOS??????????+ JNC Next ; ??????????Next? + ADD SI,1 ; ޏ????1??? + CMP SI,5 + JAE Error ; ޏ????5??????Error? + MOV AH,0x00 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????????? + JMP Retry + +Next: + MOV AX,ES ; ?????0x200??? + ADD AX,0x0020 + MOV ES,AX + ADD CL,1 ; ????1??? ; CL?1??? + CMP CL,18 + JBE Readloop ; ????18?????,Readloop? + MOV CL,1 ; ????1??? + ADD DH,1 ; ????1??? + CMP DH,2 + JB Readloop ; ????2???????+ MOV DH,0 ; ????0??? + ADD CH,1 ; ?????1??? + CMP CH,CYLS + JB Readloop ; ?????CYLS???????+ +Fin: + HLT + JMP Fin + +Error: + MOV AX,0 + MOV ES,AX + MOV SI,msg + +Putloop: + MOV AL,[SI] + ADD SI,1 ; ???????1??? + CMP AL,0 + JE Fin ; ???0?????+ MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ JMP Putloop + +msg: + DB 0x0d, 0x0a ; ?? + DB "Load error." + DB 0x0a ; ?? + DB 0 + + RESB 0x7dfe-$ ; 0x7dfe?0???? + + DB 0x55, 0xaa Added: PhoeniOS/release/PhoeniOS_0.0.0/system/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.0/system/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.0/system/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/GPL.html =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/GPL.html (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/GPL.html 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,692 @@ + + + + + + GNU General Public License - GNU Project - Free Software Foundation (FSF) + +

GNU GENERAL PUBLIC LICENSE

+

Version 3, 29 June 2007

+ +

Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>

+ Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.

+ +

Preamble

+ +

The GNU General Public License is a free, copyleft license for +software and other kinds of works.

+ +

The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too.

+ +

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things.

+ +

To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others.

+ +

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights.

+ +

Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it.

+ +

For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions.

+ +

Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users.

+ +

Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free.

+ +

The precise terms and conditions for copying, distribution and +modification follow.

+ +

TERMS AND CONDITIONS

+ +

0. Definitions.

+ +

??his License??refers to version 3 of the GNU General Public License.

+ +

??opyright??also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks.

+ +

??he Program??refers to any copyrightable work licensed under this +License. Each licensee is addressed as ??ou?? ??icensees??and +??ecipients??may be individuals or organizations.

+ +

To ??odify??a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a ??odified version??of the +earlier work or a work ??ased on??the earlier work.

+ +

A ??overed work??means either the unmodified Program or a work based +on the Program.

+ +

To ??ropagate??a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well.

+ +

To ??onvey??a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying.

+ +

An interactive user interface displays ??ppropriate Legal Notices??+to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion.

+ +

1. Source Code.

+ +

The ??ource code??for a work means the preferred form of the work +for making modifications to it. ??bject code??means any non-source +form of a work.

+ +

A ??tandard Interface??means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language.

+ +

The ??ystem Libraries??of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +??ajor Component?? in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it.

+ +

The ??orresponding Source??for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work.

+ +

The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source.

+ +

The Corresponding Source for a work in source code form is that +same work.

+ +

2. Basic Permissions.

+ +

All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law.

+ +

You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you.

+ +

Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary.

+ +

3. Protecting Users' Legal Rights From Anti-Circumvention Law.

+ +

No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures.

+ +

When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures.

+ +

4. Conveying Verbatim Copies.

+ +

You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program.

+ +

You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee.

+ +

5. Conveying Modified Source Versions.

+ +

You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions:

+ +
    +
  • a) The work must carry prominent notices stating that you modified + it, and giving a relevant date.
  • + +
  • b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + ??eep intact all notices??
  • + +
  • c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it.
  • + +
  • d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so.
  • +
+ +

A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +??ggregate??if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate.

+ +

6. Conveying Non-Source Forms.

+ +

You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways:

+ +
    +
  • a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange.
  • + +
  • b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge.
  • + +
  • c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b.
  • + +
  • d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements.
  • + +
  • e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d.
  • +
+ +

A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work.

+ +

A ??ser Product??is either (1) a ??onsumer product?? which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, ??ormally used??refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product.

+ +

??nstallation Information??for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made.

+ +

If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM).

+ +

The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network.

+ +

Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying.

+ +

7. Additional Terms.

+ +

??dditional permissions??are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions.

+ +

When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission.

+ +

Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms:

+ +
    +
  • a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or
  • + +
  • b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or
  • + +
  • c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or
  • + +
  • d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or
  • + +
  • e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or
  • + +
  • f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors.
  • +
+ +

All other non-permissive additional terms are considered ??urther +restrictions??within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying.

+ +

If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms.

+ +

Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way.

+ +

8. Termination.

+ +

You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11).

+ +

However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation.

+ +

Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice.

+ +

Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10.

+ +

9. Acceptance Not Required for Having Copies.

+ +

You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so.

+ +

10. Automatic Licensing of Downstream Recipients.

+ +

Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License.

+ +

An ??ntity transaction??is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts.

+ +

You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it.

+ +

11. Patents.

+ +

A ??ontributor??is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's ??ontributor version??

+ +

A contributor's ??ssential patent claims??are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, ??ontrol??includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License.

+ +

Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version.

+ +

In the following three paragraphs, a ??atent license??is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To ??rant??such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party.

+ +

If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. ??nowingly relying??means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid.

+ +

If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it.

+ +

A patent license is ??iscriminatory??if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007.

+ +

Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law.

+ +

12. No Surrender of Others' Freedom.

+ +

If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program.

+ +

13. Use with the GNU Affero General Public License.

+ +

Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such.

+ +

14. Revised Versions of this License.

+ +

The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.

+ +

Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License ??r any later version??applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation.

+ +

If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program.

+ +

Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version.

+ +

15. Disclaimer of Warranty.

+ +

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ??S IS??WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

+ +

16. Limitation of Liability.

+ +

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES.

+ +

17. Interpretation of Sections 15 and 16.

+ +

If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee.

+ +

END OF TERMS AND CONDITIONS

+ +

How to Apply These Terms to Your New Programs

+ +

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms.

+ +

To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the ??opyright??line and a pointer to where the full notice is found.

+ +
    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+ +

Also add information on how to contact you by electronic and paper mail.

+ +

If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode:

+ +
    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+ +

The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an ??bout box??

+ +

You should also get your employer (if you work as a programmer) or school, +if any, to sign a ??opyright disclaimer??for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>.

+ +

The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>.

+ + + \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/GPL.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/GPL.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/GPL.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. Added: PhoeniOS/release/PhoeniOS_0.0.1/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,64 @@ +TOOLPATH = ../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +EDIMG = $(TOOLPATH)edimg.exe +IMGTOL = $(TOOLPATH)imgtol.com +COPY = copy +DEL = del + +# ??????? + +default : + $(MAKE) phoenios.img + +# ???????? + +phoenios.img : system/ipl.bin Makefile + $(EDIMG) imgin:../z_tools/fdimg0at.tek \ + wbinimg src:system/ipl.bin len:512 from:0 to:0 \ + imgout:phoenios.img + +# ???? + +run : + $(MAKE) phoenios.img + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install : + $(MAKE) phoenios.img + $(IMGTOL) w a: phoenios.img + +full : + $(MAKE) -C system + +run_full : + $(MAKE) full + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install_full : + $(MAKE) full + $(IMGTOL) w a: phoenios.img + +run_os : + $(MAKE) -C system + $(MAKE) run + +clean : + +src_only : + $(MAKE) clean + -$(DEL) phoenios.img + +clean_full : + $(MAKE) -C system clean + +src_only_full : + $(MAKE) -C system src_only + +refresh : + $(MAKE) full + $(MAKE) clean_full + -$(DEL) phoenios.img Added: PhoeniOS/release/PhoeniOS_0.0.1/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/phoenios.img =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS_0.0.1/phoenios.img ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS_0.0.1/readme.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/readme.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/readme.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,11 @@ +------------------------------------------- + Name: PhoeniOS + Version: 0.0.1 + Publisher: Lite Systems + License: GNU General Public License v3 +------------------------------------------- + +1,????? + +PhoeniOS??????? GNU General Public License v3 ??? +?????????GPL.txt???GPL.html???????? \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/release.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/release.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/release.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,10 @@ +-------------------------- + PhoeniOS Release Notes +-------------------------- +2008/11/13 Version:0.0.1 +- IPL?Version:1.0.1????????? + IPL????????????????????????ަ??? + +2008/11/08 Version:0.0.0 +- ??????J +- IPL Version:1.0.0 ??? Added: PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/system/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/system/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/system/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/system/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,24 @@ +TOOLPATH = ../../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +DEL = del + +# ??????? + +default : + $(MAKE) ipl.bin + +# ???????? + +ipl.bin : ipl.nas Makefile + $(NASK) ipl.nas ipl.bin ipl.lst + +# ???? + +clean : + -$(DEL) *.lst + +src_only : + $(MAKE) clean + -$(DEL) ipl.bin Added: PhoeniOS/release/PhoeniOS_0.0.1/system/ipl.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS_0.0.1/system/ipl.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS_0.0.1/system/ipl.nas =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/system/ipl.nas (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/system/ipl.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,170 @@ +; --------------------------------------------------------- +; File: ipl.nas +; Version: 1.0.1 +; Update: 2008/11/13 +; License: GNU General Public License v3 +; Description: PhoeniOS?IPL?? +; CYLS????????????????? +; ???????OS???????? +; --------------------------------------------------------- + +CYLS EQU 10 ; ????????? + + ORG 0x7c00 ; IPL????????????? + +; ?????I?FAT12?????????????????????+ + JMP entry + DB 0x90 + DB "PhoeniOS" ; ????????? + DW 512 ; 1??????? (??,512Bytes) + DB 1 ; ???????? (??,1Sector) + DW 1 ; FAT??????? (??,1Sector) + DB 2 ; FAT?? (??,2) + DW 224 ; ??????????????? (??,224Entries) + DW 2880 ; ?????????? (??,2880Sectors) + DB 0xf0 ; ???????? (??,0xf0) + DW 9 ; FAT????? (??,9Sectors) + DW 18 ; 1???????????? (??,18Sectors) + DW 2 ; ????? (??,2Heads) + DD 0 ; ???????????????? (??,0) + DD 2880 ; ?????????? (FAT32?) (??,0) + DB 0,0 ; ?? + DB 0x29 ; ?????? (??,0x29) + DD 0xffffffff ; ??????????? + DB "PhoeniOS " ; ???????? + DB "FAT12 " ; ????????? + RESB 18 ; 18?????? + +; ??????? + +entry: + CALL put_line + MOV SI,msg_title + CALL put_msg + CALL put_line + + MOV AX,0 ; ???????+ MOV SS,AX + MOV SP,0x7c00 + MOV DS,AX + +; ??????? + + MOV SI,msg_loading + CALL put_msg + + MOV AX,0x0820 + MOV ES,AX + MOV CH,0 ; ?????0??? + MOV DH,0 ; ????0??? + MOV CL,2 ; ????2??? + +readloop: + MOV SI,0 ; ޏ???????????????+ +retry: + MOV AH,0x02 ; ?????????????? + MOV AL,1 ; 1????????? + MOV BX,0 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????BIOS??????????+ JNC next ; ??????????Next? + ADD SI,1 ; ޏ????1??? + CMP SI,5 + JAE error ; ޏ????5??????Error? + MOV AH,0x00 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????????? + JMP retry + +next: + MOV AX,ES ; ?????0x200??? + ADD AX,0x0020 + MOV ES,AX + ADD CL,1 ; ????1??? ; CL?1??? + CMP CL,18 + JBE readloop ; ????18?????,Readloop? + MOV CL,1 ; ????1??? + ADD DH,1 ; ????1??? + CMP DH,2 + JB readloop ; ????2???????+ MOV DH,0 ; ????0??? + ADD CH,1 ; ?????1??? + + PUSH AX + MOV AL,'*' + MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ POP AX + + CMP CH,CYLS + JB readloop ; ?????CYLS???????+ + MOV SI,msg_complete + CALL put_msg + +fin: + HLT + JMP fin + +error: + MOV AX,0 + MOV ES,AX + MOV SI,msg_load_error + CALL put_msg + JMP fin + +put_msg: + MOV AL,[SI] + ADD SI,1 ; ???????1??? + CMP AL,0 + JE .fin ; ???0?????+ MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ JMP put_msg +.fin: + RET + +put_line: + MOV CX,0 +.next: + MOV AL,'-' + MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ ADD CX,1 + CMP CX,51 + JB .next + RET + +msg_title: + DB 0x0d, 0x0a + DB " PhoeniOS IPL Version:1.0.1", 0x0d, 0x0a + DB " Published by Lite Systems.", 0x0d, 0x0a + DB " Licensed under the GNU General Public License v3.", 0x0d, 0x0a + DB 0 + +msg_loading: + DB 0x0d, 0x0a + DB 0x0d, 0x0a + DB "Loading..." + DB 0x0d, 0x0a + DB 0 + +msg_complete: + DB 0x0d, 0x0a + DB "Complete." + DB 0x0d, 0x0a + DB 0 + +msg_load_error: + DB "Load error." + DB 0x0d, 0x0a ; ?? + DB 0 + + RESB 0x7dfe-$ ; 0x7dfe?0???? + + DB 0x55, 0xaa \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.1/system/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.1/system/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.1/system/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/GPL.html =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/GPL.html (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/GPL.html 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,692 @@ + + + + + + GNU General Public License - GNU Project - Free Software Foundation (FSF) + +

GNU GENERAL PUBLIC LICENSE

+

Version 3, 29 June 2007

+ +

Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>

+ Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.

+ +

Preamble

+ +

The GNU General Public License is a free, copyleft license for +software and other kinds of works.

+ +

The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too.

+ +

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things.

+ +

To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others.

+ +

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights.

+ +

Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it.

+ +

For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions.

+ +

Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users.

+ +

Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free.

+ +

The precise terms and conditions for copying, distribution and +modification follow.

+ +

TERMS AND CONDITIONS

+ +

0. Definitions.

+ +

??his License??refers to version 3 of the GNU General Public License.

+ +

??opyright??also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks.

+ +

??he Program??refers to any copyrightable work licensed under this +License. Each licensee is addressed as ??ou?? ??icensees??and +??ecipients??may be individuals or organizations.

+ +

To ??odify??a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a ??odified version??of the +earlier work or a work ??ased on??the earlier work.

+ +

A ??overed work??means either the unmodified Program or a work based +on the Program.

+ +

To ??ropagate??a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well.

+ +

To ??onvey??a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying.

+ +

An interactive user interface displays ??ppropriate Legal Notices??+to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion.

+ +

1. Source Code.

+ +

The ??ource code??for a work means the preferred form of the work +for making modifications to it. ??bject code??means any non-source +form of a work.

+ +

A ??tandard Interface??means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language.

+ +

The ??ystem Libraries??of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +??ajor Component?? in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it.

+ +

The ??orresponding Source??for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work.

+ +

The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source.

+ +

The Corresponding Source for a work in source code form is that +same work.

+ +

2. Basic Permissions.

+ +

All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law.

+ +

You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you.

+ +

Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary.

+ +

3. Protecting Users' Legal Rights From Anti-Circumvention Law.

+ +

No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures.

+ +

When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures.

+ +

4. Conveying Verbatim Copies.

+ +

You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program.

+ +

You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee.

+ +

5. Conveying Modified Source Versions.

+ +

You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions:

+ +
    +
  • a) The work must carry prominent notices stating that you modified + it, and giving a relevant date.
  • + +
  • b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + ??eep intact all notices??
  • + +
  • c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it.
  • + +
  • d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so.
  • +
+ +

A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +??ggregate??if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate.

+ +

6. Conveying Non-Source Forms.

+ +

You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways:

+ +
    +
  • a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange.
  • + +
  • b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge.
  • + +
  • c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b.
  • + +
  • d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements.
  • + +
  • e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d.
  • +
+ +

A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work.

+ +

A ??ser Product??is either (1) a ??onsumer product?? which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, ??ormally used??refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product.

+ +

??nstallation Information??for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made.

+ +

If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM).

+ +

The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network.

+ +

Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying.

+ +

7. Additional Terms.

+ +

??dditional permissions??are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions.

+ +

When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission.

+ +

Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms:

+ +
    +
  • a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or
  • + +
  • b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or
  • + +
  • c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or
  • + +
  • d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or
  • + +
  • e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or
  • + +
  • f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors.
  • +
+ +

All other non-permissive additional terms are considered ??urther +restrictions??within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying.

+ +

If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms.

+ +

Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way.

+ +

8. Termination.

+ +

You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11).

+ +

However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation.

+ +

Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice.

+ +

Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10.

+ +

9. Acceptance Not Required for Having Copies.

+ +

You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so.

+ +

10. Automatic Licensing of Downstream Recipients.

+ +

Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License.

+ +

An ??ntity transaction??is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts.

+ +

You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it.

+ +

11. Patents.

+ +

A ??ontributor??is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's ??ontributor version??

+ +

A contributor's ??ssential patent claims??are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, ??ontrol??includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License.

+ +

Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version.

+ +

In the following three paragraphs, a ??atent license??is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To ??rant??such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party.

+ +

If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. ??nowingly relying??means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid.

+ +

If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it.

+ +

A patent license is ??iscriminatory??if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007.

+ +

Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law.

+ +

12. No Surrender of Others' Freedom.

+ +

If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program.

+ +

13. Use with the GNU Affero General Public License.

+ +

Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such.

+ +

14. Revised Versions of this License.

+ +

The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.

+ +

Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License ??r any later version??applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation.

+ +

If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program.

+ +

Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version.

+ +

15. Disclaimer of Warranty.

+ +

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ??S IS??WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

+ +

16. Limitation of Liability.

+ +

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES.

+ +

17. Interpretation of Sections 15 and 16.

+ +

If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee.

+ +

END OF TERMS AND CONDITIONS

+ +

How to Apply These Terms to Your New Programs

+ +

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms.

+ +

To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the ??opyright??line and a pointer to where the full notice is found.

+ +
    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+ +

Also add information on how to contact you by electronic and paper mail.

+ +

If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode:

+ +
    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+ +

The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an ??bout box??

+ +

You should also get your employer (if you work as a programmer) or school, +if any, to sign a ??opyright disclaimer??for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>.

+ +

The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>.

+ + + \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/GPL.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/GPL.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/GPL.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. Added: PhoeniOS/release/PhoeniOS_0.0.2/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,64 @@ +TOOLPATH = ../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +EDIMG = $(TOOLPATH)edimg.exe +IMGTOL = $(TOOLPATH)imgtol.com +COPY = copy +DEL = del + +# ??????? + +default : + $(MAKE) phoenios.img + +# ???????? + +phoenios.img : system/ipl.bin Makefile + $(EDIMG) imgin:../z_tools/fdimg0at.tek \ + wbinimg src:system/ipl.bin len:512 from:0 to:0 \ + imgout:phoenios.img + +# ???? + +run : + $(MAKE) phoenios.img + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install : + $(MAKE) phoenios.img + $(IMGTOL) w a: phoenios.img + +full : + $(MAKE) -C system + +run_full : + $(MAKE) full + $(COPY) phoenios.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install_full : + $(MAKE) full + $(IMGTOL) w a: phoenios.img + +run_os : + $(MAKE) -C system + $(MAKE) run + +clean : + +src_only : + $(MAKE) clean + -$(DEL) phoenios.img + +clean_full : + $(MAKE) -C system clean + +src_only_full : + $(MAKE) -C system src_only + +refresh : + $(MAKE) full + $(MAKE) clean_full + -$(DEL) phoenios.img Added: PhoeniOS/release/PhoeniOS_0.0.2/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/readme.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/readme.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/readme.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,11 @@ +------------------------------------------- + Name: PhoeniOS + Version: 0.0.2 + Publisher: Lite Systems + License: GNU General Public License v3 +------------------------------------------- + +1,????? + +PhoeniOS??????? GNU General Public License v3 ??? +?????????GPL.txt???GPL.html???????? \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/release.txt =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/release.txt (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/release.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,13 @@ +-------------------------- + PhoeniOS Release Notes +-------------------------- +2008/11/14 Version:0.0.2 +- IPL??????????+ +2008/11/13 Version:0.0.1 +- IPL?Version:1.0.1????????? + IPL????????????????????????ަ??? + +2008/11/08 Version:0.0.0 +- ??????J +- IPL Version:1.0.0 ??? Added: PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_9x.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_9x.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_nt.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_nt.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/system/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/PhoeniOS_0.0.2/system/Makefile =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/system/Makefile (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/system/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,24 @@ +TOOLPATH = ../../z_tools/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +DEL = del + +# ??????? + +default : + $(MAKE) ipl.bin + +# ???????? + +ipl.bin : ipl.nas Makefile + $(NASK) ipl.nas ipl.bin ipl.lst + +# ???? + +clean : + -$(DEL) *.lst + +src_only : + $(MAKE) clean + -$(DEL) ipl.bin Added: PhoeniOS/release/PhoeniOS_0.0.2/system/ipl.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/PhoeniOS_0.0.2/system/ipl.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/PhoeniOS_0.0.2/system/ipl.nas =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/system/ipl.nas (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/system/ipl.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,170 @@ +; --------------------------------------------------------- +; File: ipl.nas +; Version: 1.0.2 +; Update: 2008/11/14 +; License: GNU General Public License v3 +; Description: PhoeniOS?IPL?? +; CYLS????????????????? +; ???????OS???????? +; --------------------------------------------------------- + +CYLS EQU 10 ; ????????? + + ORG 0x7c00 ; IPL????????????? + +; ?????I?FAT12?????????????????????+ + JMP entry + DB 0x90 + DB "PhoeniOS" ; ????????? + DW 512 ; 1??????? (??,512Bytes) + DB 1 ; ???????? (??,1Sector) + DW 1 ; FAT??????? (??,1Sector) + DB 2 ; FAT?? (??,2) + DW 224 ; ??????????????? (??,224Entries) + DW 2880 ; ?????????? (??,2880Sectors) + DB 0xf0 ; ???????? (??,0xf0) + DW 9 ; FAT????? (??,9Sectors) + DW 18 ; 1???????????? (??,18Sectors) + DW 2 ; ????? (??,2Heads) + DD 0 ; ???????????????? (??,0) + DD 2880 ; ?????????? (FAT32?) (??,0) + DB 0,0 ; ?? + DB 0x29 ; ?????? (??,0x29) + DD 0xffffffff ; ??????????? + DB "PhoeniOS " ; ???????? + DB "FAT12 " ; ????????? + RESB 18 ; 18?????? + +; ??????? + +entry: + MOV AX,0 ; ???????+ MOV SS,AX + MOV SP,0x7c00 + MOV DS,AX + + CALL put_line + MOV SI,msg_title + CALL put_msg + CALL put_line + +; ??????? + + MOV SI,msg_loading + CALL put_msg + + MOV AX,0x0820 + MOV ES,AX + MOV CH,0 ; ?????0??? + MOV DH,0 ; ????0??? + MOV CL,2 ; ????2??? + +readloop: + MOV SI,0 ; ޏ???????????????+ +retry: + MOV AH,0x02 ; ?????????????? + MOV AL,1 ; 1????????? + MOV BX,0 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????BIOS??????????+ JNC next ; ??????????Next? + ADD SI,1 ; ޏ????1??? + CMP SI,5 + JAE error ; ޏ????5??????Error? + MOV AH,0x00 + MOV DL,0x00 ; A????????? + INT 0x13 ; ????????? + JMP retry + +next: + MOV AX,ES ; ?????0x200??? + ADD AX,0x0020 + MOV ES,AX + ADD CL,1 ; ????1??? ; CL?1??? + CMP CL,18 + JBE readloop ; ????18?????,Readloop? + MOV CL,1 ; ????1??? + ADD DH,1 ; ????1??? + CMP DH,2 + JB readloop ; ????2???????+ MOV DH,0 ; ????0??? + ADD CH,1 ; ?????1??? + + PUSH AX + MOV AL,'*' + MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ POP AX + + CMP CH,CYLS + JB readloop ; ?????CYLS???????+ + MOV SI,msg_complete + CALL put_msg + +fin: + HLT + JMP fin + +error: + MOV AX,0 + MOV ES,AX + MOV SI,msg_load_error + CALL put_msg + JMP fin + +put_msg: + MOV AL,[SI] + ADD SI,1 ; ???????1??? + CMP AL,0 + JE .fin ; ???0?????+ MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ JMP put_msg +.fin: + RET + +put_line: + MOV CX,0 +.next: + MOV AL,'-' + MOV AH,0x0e ; ????ަ?? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ ADD CX,1 + CMP CX,51 + JB .next + RET + +msg_title: + DB 0x0d, 0x0a + DB " PhoeniOS IPL Version:1.0.2", 0x0d, 0x0a + DB " Published by Lite Systems.", 0x0d, 0x0a + DB " Licensed under the GNU General Public License v3.", 0x0d, 0x0a + DB 0 + +msg_loading: + DB 0x0d, 0x0a + DB 0x0d, 0x0a + DB "Loading..." + DB 0x0d, 0x0a + DB 0 + +msg_complete: + DB 0x0d, 0x0a + DB "Complete." + DB 0x0d, 0x0a + DB 0 + +msg_load_error: + DB "Load error." + DB 0x0d, 0x0a ; ?? + DB 0 + + RESB 0x7dfe-$ ; 0x7dfe?0???? + + DB 0x55, 0xaa Added: PhoeniOS/release/PhoeniOS_0.0.2/system/make.bat =================================================================== --- PhoeniOS/release/PhoeniOS_0.0.2/system/make.bat (rev 0) +++ PhoeniOS/release/PhoeniOS_0.0.2/system/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/SVN - Command.txt =================================================================== --- PhoeniOS/release/SVN - Command.txt (rev 0) +++ PhoeniOS/release/SVN - Command.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,9 @@ +svn import https://svn.sourceforge.jp/svnroot/phoenios/PhoeniOS/trunk -m "" +svn add ? +svn co https://svn.sourceforge.jp/svnroot/phoenios/PhoeniOS/trunk PhoeniOS +svn co https://svn.sourceforge.jp/svnroot/phoenios/PhoeniOS/tags/??? PhoeniOS_??? +svn copy https://svn.sourceforge.jp/svnroot/phoenios/PhoeniOS/trunk https://svn.sourceforge.jp/svnroot/phoenios/PhoeniOS/tags/??? -m "Tagging the ??? release." +svn commit -m "" +svn status +svn update +svn info \ No newline at end of file Added: PhoeniOS/release/license.txt =================================================================== --- PhoeniOS/release/license.txt (rev 0) +++ PhoeniOS/release/license.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,117 @@ +????????-01 ver.1.0 + 2000.12.30 H.Kawai (???? + +???? + + ???????????????????????????????????Ž©??? +????????????????????????????p??????????? +???????????C??????????????? + + ??ŽÒ???????????????????????????????????? +????????ŽÒ???????????????A??????????????? +????????B + +???? + + ????????????????????????????l?????????? +????????i??????v???????????????? + +???? + + ??????????????????????????????????????? +???????ŽÒ??????????????????Ž©????????????? +???????????????????????????????????? + + ?????????????????????????????I???????? +???????????????\???? + + ??????????????????????????????????????? +???????????????j???????????????????????? +?????????????????????????????z?????????? +???????????????B????????????????????ŽÒ??? +???????????????????????ŽÒ???????????????? +?????? + + ??????????????????????????ŽÒ?????`?????? +?????????????????~????????? + + ????????????????????????ŽÒ?????????????? +?????????????????????? + + ??ŽÒ?????????Ž¿??????B??????????????????? +?????????????????????ŽÒ????????? + + ?????????????????????????????????A????? +ŽÒ?????ŽÒ???????????????????????????h????? +??????????????????????????ŽÒ?????????????+???????????????????????????????????????? +????????????????????????B?????A????????? +????????????????????????????????? + + ???????????????????????ŽÒ??????????????? +???????????????? + +???? + + ????????????????????ŽÒ?????????????????? +?????????????????????????????ŽÒ?????????? +?????????????????????ŽÒ?????????????????? +??????????ŽÒ??????????????????????????? + + ?????????????????????????????A????????? +???????????????????????????????????????? +????????????????????????z??????????????? +?????????? + + ????????????????????????????????????Žß?? +???????????????????????????????????ŽÀ???? +???????????????????????????????????????? +?????????????????? + + ????????????????????????s?????????????ŽÒ +???????Ž¿????????????????ŽÒ??????????????? +?????????????ŽÍ?????????????????????????? +???A??ŽÒ????????????? + + ??????????????????????????????????????A +??ŽÒ??????ŽÒ?????????????????????????????? +????????????????????????????????????????+?????GŽÀ??????????????B + + ????????????????ŽÒ?Ž©????????????????????+??????????????i????????????????????????? +????????????????????????????????????????+???????????????????????????????????????? +????????????????????????????????ŽÒ??????? +???????????????????????????????????????? +?????i?????????????????????????????????? +?????????????????????? + + ??????????????????????????????????????? +???????ŽÒ??????????ŽÒ????????????????????? +????ŽÒ??????????????B???????????????????? +????????????????????????????????????????+???????????????????????????????????????? +???j???????? + + ???????????@??Ž®???????????????????????A +??ŽÒ????????????????????????????????????? +????????????????J???????????????????????+? + + ????????????????????????????????A?????? +????????????????????????????????????????+????????????????????????????ŽÒ??????????? +?????????????????????????????A?????????? +?????????????????????B + + ????????Ž©?????????????????????????????? +???????????????????????????????????????? +???????????????????????????????????????? +????????????????????????? + +????? + + ???URL http://www.imasy.org/~mone/kawaido/ + ????RL http://www.imasy.org/~kawai/ + e-mail kawai ¡÷ imasy.org Added: PhoeniOS/release/startuplib/!cons_9x.bat =================================================================== --- PhoeniOS/release/startuplib/!cons_9x.bat (rev 0) +++ PhoeniOS/release/startuplib/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/startuplib/!cons_nt.bat =================================================================== --- PhoeniOS/release/startuplib/!cons_nt.bat (rev 0) +++ PhoeniOS/release/startuplib/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/startuplib/Makefile =================================================================== --- PhoeniOS/release/startuplib/Makefile (rev 0) +++ PhoeniOS/release/startuplib/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,38 @@ +TARGET = phoenios.lib +OBJS = startup.obj + +TOOLPATH = ../z_tools/ +INCPATH = ../z_tools/haribote/ + +SJISCONV = $(TOOLPATH)sjisconv.exe -s +CC1 = $(TOOLPATH)cc1.exe -I$(INCPATH) -Os -Wall -quiet +GAS2NASK = $(TOOLPATH)gas2nask.exe -a +NASK = $(TOOLPATH)nask.exe +GOLIB = $(TOOLPATH)golib00.exe +MAKE = $(TOOLPATH)make.exe -r +DEL = del + +default : + $(MAKE) $(TARGET) + +%.ca : %.c Makefile + $(SJISCONV) $*.c $*.ca + +%.gas : %.ca Makefile + $(CC1) -o $*.gas $*.ca + +%.nas : %.gas Makefile + $(GAS2NASK) $*.gas $*.nas + +%.obj : %.nas Makefile + $(NASK) $*.nas $*.obj + +$(TARGET) : $(OBJS) Makefile + $(GOLIB) out:$(TARGET) $(OBJS) + +clean : + -$(DEL) *.obj + +src_only : + $(MAKE) clean + -$(DEL) $(TARGET) Added: PhoeniOS/release/startuplib/make.bat =================================================================== --- PhoeniOS/release/startuplib/make.bat (rev 0) +++ PhoeniOS/release/startuplib/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/startuplib/startup.c =================================================================== --- PhoeniOS/release/startuplib/startup.c (rev 0) +++ PhoeniOS/release/startuplib/startup.c 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,12 @@ +void Main(void); + +void Startup(void) +{ + /* ??ain?ŽÀ???????????????????????*/ + + Main(); + + /* ??ain??????????????????A???????*/ + + return; +} Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_9x.bat =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_9x.bat (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_nt.bat =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_nt.bat (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/Makefile =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/Makefile (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,86 @@ +OBJS_BOOTPACK = bootpack.obj naskfunc.obj + +TOOLPATH = ../z_tools/ +INCPATH = ../z_tools/haribote/ + +MAKE = $(TOOLPATH)make.exe -r +NASK = $(TOOLPATH)nask.exe +CC1 = $(TOOLPATH)cc1.exe -I$(INCPATH) -Os -Wall -quiet +CPP = $(TOOLPATH)c++.exe -I../z_tools/haribote -Os -Wall -nostdlib -fno-builtin -fno-exceptions -fno-rtti -B$(TOOLPATH) -c +GAS2NASK = $(TOOLPATH)gas2nask.exe -a +OBJ2BIM = $(TOOLPATH)obj2bim.exe +BIM2HRB = $(TOOLPATH)bim2hrb.exe +RULEFILE = haribote.rul +EDIMG = $(TOOLPATH)edimg.exe +IMGTOL = $(TOOLPATH)imgtol.com +COPY = copy +DEL = del + +# ??????? + +default : + $(MAKE) ipl20.bin + $(MAKE) haribote.sys + +# ???????? + +ipl20.bin : ipl20.nas Makefile + $(NASK) ipl20.nas ipl20.bin ipl20.lst + +asmhead.bin : asmhead.nas Makefile + $(NASK) asmhead.nas asmhead.bin asmhead.lst + +bootpack.bim : $(OBJS_BOOTPACK) Makefile + $(OBJ2BIM) @$(RULEFILE) out:bootpack.bim stack:3136k map:bootpack.map \ + $(OBJS_BOOTPACK) +# 3MB+64KB=3136KB + +bootpack.hrb : bootpack.bim Makefile + $(BIM2HRB) bootpack.bim bootpack.hrb 0 + +haribote.sys : asmhead.bin bootpack.hrb Makefile + copy /B asmhead.bin+bootpack.hrb haribote.sys + +haribote.img : Makefile + $(EDIMG) imgin:../z_tools/fdimg0at.tek \ + wbinimg src:ipl20.bin len:512 from:0 to:0 \ + copy from:haribote.sys to:@: \ + imgout:haribote.img + +# ???? + +%.gas : %.c bootpack.h Makefile + $(CC1) -o $*.gas $*.c + +%.nas : %.gas Makefile + $(GAS2NASK) $*.gas $*.nas + +%.obj : %.nas Makefile + $(NASK) $*.nas $*.obj $*.lst + +%.obj : %.cpp Makefile + $(CPP) -o $*.obj $*.cpp + +# ???? + +clean : + -$(DEL) asmhead.bin + -$(DEL) *.lst + -$(DEL) *.obj + -$(DEL) *.map + -$(DEL) *.bim + -$(DEL) *.hrb + -$(DEL) *.bin + -$(DEL) *.sys + +img : + $(MAKE) haribote.img + +run : + $(MAKE) img + $(COPY) haribote.img ..\z_tools\qemu\fdimage0.bin + $(MAKE) -C ../z_tools/qemu + +install : + $(MAKE) img + $(IMGTOL) w a: haribote.img Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/asmhead.nas =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/asmhead.nas (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/asmhead.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,146 @@ +; haribote-os boot asm +; TAB=4 + +[INSTRSET "i486p"] + +BOTPAK EQU 0x00280000 ; bootpack????? +DSKCAC EQU 0x00100000 ; ????????????+DSKCAC0 EQU 0x00008000 ; ????????????i??????? + +; BOOT_INFO?? +CYLS EQU 0x0ff0 ; ??????????? +LEDS EQU 0x0ff1 +VMODE EQU 0x0ff2 ; ????????B????????? +SCRNX EQU 0x0ff4 ; ????X +SCRNY EQU 0x0ff6 ; ????Y +VRAM EQU 0x0ff8 ; ??????????????? + + ORG 0xc200 ; ??????????????????? + + MOV AL,0x13 ; VGA????????320x200x8bit??? + MOV AH,0x00 + INT 0x10 + MOV BYTE [VMODE],8 ; ???????????C???????j + MOV WORD [SCRNX],320 + MOV WORD [SCRNY],200 + MOV DWORD [VRAM],0x000a0000 + +; ??????LED???IOS??????? + +keystatus: + MOV AH,0x02 + INT 0x16 ; keyboard BIOS + MOV [LEDS],AL + +; PIC???????????????????? +; AT?????????PIC?????????A +; ????CLI?????????????????????? +; PIC??????????+ + MOV AL,0xff + OUT 0x21,AL + NOP ; OUT?????????????????????????? + OUT 0xa1,AL + + CLI ; ???CPU??????????? + +; CPU??1MB???????A??????????A20GATE??? + + CALL waitkbdout + MOV AL,0xd1 + OUT 0x64,AL + CALL waitkbdout + MOV AL,0xdf ; enable A20 + OUT 0x60,AL + CALL waitkbdout + +; ?????????? + + LGDT [GDTR0] ; ??GDT??? + MOV EAX,CR0 + AND EAX,0x7fffffff ; bit31?0??????????????? + OR EAX,0x00000001 ; bit0?1?????????????????? + MOV CR0,EAX + JMP pipelineflash +pipelineflash: + MOV AX,1*8 ; ?????\?????32bit + MOV DS,AX + MOV ES,AX + MOV FS,AX + MOV GS,AX + MOV SS,AX + +; bootpack??? + + MOV ESI,bootpack ; ??? + MOV EDI,BOTPAK ; ??? + MOV ECX,512*1024/4 + CALL memcpy + +; ???????????????????? + +; ??????????? + + MOV ESI,0x7c00 ; ??? + MOV EDI,DSKCAC ; ??? + MOV ECX,512/4 + CALL memcpy + +; ???? + + MOV ESI,DSKCAC0+512 ; ??? + MOV EDI,DSKCAC+512 ; ??? + MOV ECX,0 + MOV CL,BYTE [CYLS] + IMUL ECX,512*18*2/4 ; ???????????/4??? + SUB ECX,512/4 ; IPL???????? + CALL memcpy + +; asmhead??????????????????????A +; ???bootpack???? + +; bootpack??? + + MOV EBX,BOTPAK + MOV ECX,[EBX+16] + ADD ECX,3 ; ECX += 3; + SHR ECX,2 ; ECX /= 4; + JZ skip ; ??????????? + MOV ESI,[EBX+20] ; ??? + ADD ESI,EBX + MOV EDI,[EBX+12] ; ??? + CALL memcpy +skip: + MOV ESP,[EBX+12] ; ??????l + JMP DWORD 2*8:0x0000001b + +waitkbdout: + IN AL,0x64 + AND AL,0x02 + IN AL,0x60 ; ????(????????????????) + JNZ waitkbdout ; AND????0?????waitkbdout? + RET + +memcpy: + MOV EAX,[ESI] + ADD ESI,4 + MOV [EDI],EAX + ADD EDI,4 + SUB ECX,1 + JNZ memcpy ; ????????0?????memcpy? + RET +; memcpy????????????????????????????????????+ + ALIGNB 16 +GDT0: + RESB 8 ; ?????? + DW 0xffff,0x0000,0x9200,0x00cf ; ?????\?????32bit + DW 0xffff,0x0000,0x9a28,0x0047 ; ŽÀ????????32bit?bootpack?? + + DW 0 +GDTR0: + DW 8*3-1 + DD GDT0 + + ALIGNB 16 +bootpack: Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.cpp =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.cpp (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.cpp 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,17 @@ +/* bootpack???? */ + +#include "bootpack.h" + +void HariMain(void) +{ + for (int i = 0xa0000; i <= 0xaffff; i++) + { + char *p = (char *) i; /* ????? */ + *p = i & 0x0f; + } + + for (;;) + { + io_hlt(); + } +} Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.h =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.h (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/bootpack.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,13 @@ +#if (defined(__cplusplus)) +extern "C" { +#endif + +/* naskfunc.nas */ +void io_hlt(void); + +/* bootpack.c */ +void HariMain(void); + +#if (defined(__cplusplus)) +} +#endif Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/haribote.rul =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/haribote.rul (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/haribote.rul 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,19 @@ +format: + /* ?????????????????*/ + code(align:1, logic:0x24, file:0x24); + data(align:4, logic:stack_end, file:code_end); + +file: + /* ????????????????????????+ .ojb?????.lib??????? */ + /* ??????????????????????B */ + /* ?? c:/osask/gg00libc.lib; */ + ../z_tools/haribote/harilibc.lib; + ../z_tools/haribote/golibc.lib; + +label: + /* ???????????????????? */ + /* ???????????????????????? */ + _HariStartup; + + /* ?L3???????????????????? */ Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/ipl20.nas =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/ipl20.nas (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/ipl20.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,153 @@ +; haribote-ipl +; TAB=4 + +CYLS EQU 20 ; ????????? + + ORG 0x7c00 ; ??????????????????? + +; ?????I?FAT12?????????????????????+ + JMP entry + DB 0x90 + DB "HARIBOTE" ; ??????????Ž©???????i8???? + DW 512 ; 1????????512??????????? + DB 1 ; ?????????1?????????????? + DW 1 ; FAT?????????????1?????????? + DB 2 ; FAT????2??????????? + DW 224 ; ???????????????????224???????? + DW 2880 ; ???????????2880?????????????? + DB 0xf0 ; ?????????0xf0??????????? + DW 9 ; FAT??????9?????????????? + DW 18 ; 1?????????????????18??????????? + DW 2 ; ??????2??????????? + DD 0 ; ????????????????????0 + DD 2880 ; ????????????????+ DB 0,0,0x29 ; ??????????????????????? + DD 0xffffffff ; ?????????????? + DB "HARIBOTEOS " ; ????????11???? + DB "FAT12 " ; ??????????8???? + RESB 18 ; ?????18???????? + +; ??????? + +entry: + MOV AX,0 ; ???????+ MOV SS,AX + MOV SP,0x7c00 + MOV DS,AX + +; ??????? + + MOV AX,0x0820 + MOV ES,AX + MOV CH,0 ; ????0 + MOV DH,0 ; ???0 + MOV CL,2 ; ???2 + MOV BX,18*2*CYLS-1 ; ???????????? + CALL readfast ; ?????? + +; ????????aribote.sys?ŽÀ??? + + MOV BYTE [0x0ff0],CYLS ; IPL????????????? + JMP 0xc200 + +error: + MOV AX,0 + MOV ES,AX + MOV SI,msg +putloop: + MOV AL,[SI] + ADD SI,1 ; SI?1??? + CMP AL,0 + JE fin + MOV AH,0x0e ; ????ަ??????? + MOV BX,15 ; ?????? + INT 0x10 ; ???BIOS????+ JMP putloop +fin: + HLT ; ??????CPU?????? + JMP fin ; ????? +msg: + DB 0x0a, 0x0a ; ???2? + DB "load error" + DB 0x0a ; ?? + DB 0 + +readfast: ; AL?????????????????+; ES:??????, CH:????, DH:???, CL:???, BX:???????? + + MOV AX,ES ; < ES??AL??????? > + SHL AX,3 ; AX?32??????????AH????????? ?SHL???????? + AND AH,0x7f ; AH?AH?128???????512*128=64K? + MOV AL,128 ; AL = 128 - AH; ????64KB????????????? + SUB AL,AH + + MOV AH,BL ; < BX??AL?????AH??? > + CMP BH,0 ; if (BH != 0) { AH = 18; } + JE .skip1 + MOV AH,18 +.skip1: + CMP AL,AH ; if (AL > AH) { AL = AH; } + JBE .skip2 + MOV AL,AH +.skip2: + + MOV AH,19 ; < CL??AL?????AH??? > + SUB AH,CL ; AH = 19 - CL; + CMP AL,AH ; if (AL > AH) { AL = AH; } + JBE .skip3 + MOV AL,AH +.skip3: + + PUSH BX + MOV SI,0 ; ޏ??????????? +retry: + MOV AH,0x02 ; AH=0x02 : ???????? + MOV BX,0 + MOV DL,0x00 ; A???? + PUSH ES + PUSH DX + PUSH CX + PUSH AX + INT 0x13 ; ????BIOS????+ JNC next ; ??????????next? + ADD SI,1 ; SI?1??? + CMP SI,5 ; SI?5??? + JAE error ; SI >= 5 ????error? + MOV AH,0x00 + MOV DL,0x00 ; A???? + INT 0x13 ; ????????? + POP AX + POP CX + POP DX + POP ES + JMP retry +next: + POP AX + POP CX + POP DX + POP BX ; ES????BX????? + SHR BX,5 ; BX?16???????512?????? + MOV AH,0 + ADD BX,AX ; BX += AL; + SHL BX,5 ; BX?512???????16?????? + MOV ES,BX ; ??? ES += AL * 0x20; ??? + POP BX + SUB BX,AX + JZ .ret + ADD CL,AL ; CL?AL??? + CMP CL,18 ; CL?18??? + JBE readfast ; CL <= 18 ????readfast? + MOV CL,1 + ADD DH,1 + CMP DH,2 + JB readfast ; DH < 2 ????readfast? + MOV DH,0 + ADD CH,1 + JMP readfast +.ret: + RET + + RESB 0x7dfe-$ ; 0x7dfe???0x00?????? + + DB 0x55, 0xaa Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/make.bat =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/make.bat (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/naskfunc.nas =================================================================== --- PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/naskfunc.nas (rev 0) +++ PhoeniOS/release/test3 ok ver. src_onlyç­???¹è?/naskfunc.nas 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,15 @@ +; naskfunc +; TAB=4 + +[FORMAT "WCOFF"] ; ???????????????? +[INSTRSET "i486p"] ; 486??????????????+[BITS 32] ; 32???????????????? +[FILE "naskfunc.nas"] ; ??????????+ + GLOBAL _io_hlt + +[SECTION .text] + +_io_hlt: ; void io_hlt(void); + HLT + RET Added: PhoeniOS/release/z_new_o/!cons_9x.bat =================================================================== --- PhoeniOS/release/z_new_o/!cons_9x.bat (rev 0) +++ PhoeniOS/release/z_new_o/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/z_new_o/!cons_nt.bat =================================================================== --- PhoeniOS/release/z_new_o/!cons_nt.bat (rev 0) +++ PhoeniOS/release/z_new_o/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/z_new_o/Makefile =================================================================== --- PhoeniOS/release/z_new_o/Makefile (rev 0) +++ PhoeniOS/release/z_new_o/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,22 @@ +TARGET = +MODE = bin +STACKSIZE = 64k +MALLOCSIZE = 256k +MMAREA = 0 +OBJS = $(TARGET).obj + +INCPATH = ../z_tools/guigui00/ +CC1OPT = +BIMOPT0 = -v48a +BIMOPT1 = -tek5 clv:5 eopt: eprm: + +ARCFLIES = +ARCORG = +ARCTEK = +BIMOPT2 = + +include ../z_tools/com_mak.txt + +# OBJS?????????R?????? + +# tolset08??Makefile Added: PhoeniOS/release/z_new_o/TRANS.TBL =================================================================== --- PhoeniOS/release/z_new_o/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_new_o/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,4 @@ +F MAKE.BAT;1 make.bat +F MAKEFILE.;1 Makefile +F _CONS_9X.BAT;1 !cons_9x.bat +F _CONS_NT.BAT;1 !cons_nt.bat Added: PhoeniOS/release/z_new_o/make.bat =================================================================== --- PhoeniOS/release/z_new_o/make.bat (rev 0) +++ PhoeniOS/release/z_new_o/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/z_new_w/!cons_9x.bat =================================================================== --- PhoeniOS/release/z_new_w/!cons_9x.bat (rev 0) +++ PhoeniOS/release/z_new_w/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/z_new_w/!cons_nt.bat =================================================================== --- PhoeniOS/release/z_new_w/!cons_nt.bat (rev 0) +++ PhoeniOS/release/z_new_w/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/z_new_w/Makefile =================================================================== --- PhoeniOS/release/z_new_w/Makefile (rev 0) +++ PhoeniOS/release/z_new_w/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,10 @@ +TARGET = +MODE = exe +OBJS = $(TARGET).obj +STACKSIZE = 0x1000000 # 16MB (default) + +INCPATH = ../z_tools/win32/ +CC1OPT = -Dmain=main0 +include ../z_tools/com_mak.txt + +# tolset08??Makefile Added: PhoeniOS/release/z_new_w/TRANS.TBL =================================================================== --- PhoeniOS/release/z_new_w/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_new_w/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,4 @@ +F MAKE.BAT;1 make.bat +F MAKEFILE.;1 Makefile +F _CONS_9X.BAT;1 !cons_9x.bat +F _CONS_NT.BAT;1 !cons_nt.bat Added: PhoeniOS/release/z_new_w/make.bat =================================================================== --- PhoeniOS/release/z_new_w/make.bat (rev 0) +++ PhoeniOS/release/z_new_w/make.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file Added: PhoeniOS/release/z_osabin/!cons_9x.bat =================================================================== --- PhoeniOS/release/z_osabin/!cons_9x.bat (rev 0) +++ PhoeniOS/release/z_osabin/!cons_9x.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +command \ No newline at end of file Added: PhoeniOS/release/z_osabin/!cons_nt.bat =================================================================== --- PhoeniOS/release/z_osabin/!cons_nt.bat (rev 0) +++ PhoeniOS/release/z_osabin/!cons_nt.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1 @@ +cmd.exe \ No newline at end of file Added: PhoeniOS/release/z_osabin/!run_opt.txt =================================================================== --- PhoeniOS/release/z_osabin/!run_opt.txt (rev 0) +++ PhoeniOS/release/z_osabin/!run_opt.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,8 @@ +opt imgin:../z_tools/osa_qemu/osaimgqe.bin + +/* +copy from:../z_tools/OSASK0.PSF to:@: +copy from:helloc4.bin to:@: +*/ + +opt imgout:../z_tools/qemu/fdimage0.bin Added: PhoeniOS/release/z_osabin/TRANS.TBL =================================================================== --- PhoeniOS/release/z_osabin/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_osabin/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,4 @@ +F RUN.BAT;1 run.bat +F _CONS_9X.BAT;1 !cons_9x.bat +F _CONS_NT.BAT;1 !cons_nt.bat +F _RUN_OPT.TXT;1 !run_opt.txt Added: PhoeniOS/release/z_osabin/run.bat =================================================================== --- PhoeniOS/release/z_osabin/run.bat (rev 0) +++ PhoeniOS/release/z_osabin/run.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,17 @@ + ¡÷ echo off +..\z_tools\make.exe -r -C ../z_tools/osa_qemu +if %1.==. goto def_opt +if %1.==.. goto no_opt +copy %1.bin ..\z_tools\!built.bin +..\z_tools\edimg.exe @../z_tools/edimgopt.txt +if errorlevel 1 goto end +goto qemu +:def_opt +..\z_tools\edimg.exe @!run_opt.txt +if errorlevel 1 goto end +goto qemu +:no_opt +copy ..\z_tools\osa_qemu\osaimgqe.bin ..\z_tools\qemu\fdimage0.bin +:qemu +..\z_tools\make.exe -r -C ../z_tools/qemu +:end Added: PhoeniOS/release/z_tools/OSASK0.PSF =================================================================== --- PhoeniOS/release/z_tools/OSASK0.PSF (rev 0) +++ PhoeniOS/release/z_tools/OSASK0.PSF 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,2 @@ +setvesa 3 0x114 +mouseaccel 1 1 Added: PhoeniOS/release/z_tools/TRANS.TBL =================================================================== --- PhoeniOS/release/z_tools/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_tools/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,38 @@ +F AKSA.EXE;1 aksa.exe +F ASKA.EXE;1 aska.exe +F BIM2BIN.EXE;1 bim2bin.exe +F BIM2HRB.EXE;1 bim2hrb.exe +F BIN2OBJ.EXE;1 bin2obj.exe +F CC1.EXE;1 cc1.exe +F COMCOM.EXE;1 comcom.exe +F COM_MAK.TXT;1 com_mak.txt +F CPP0.EXE;1 cpp0.exe +F DSAR.BAT;1 dsar.bat +F EDIMG.EXE;1 edimg.exe +F EDIMGOPT.TXT;1 edimgopt.txt +F ESART5.BAT;1 esart5.bat +F FDIMG0AT.TEK;1 fdimg0at.tek +F FDIMG0TW.TEK;1 fdimg0tw.tek +F GAS2NASK.EXE;1 gas2nask.exe +F GOLIB00.EXE;1 golib00.exe +D GUIGUI00 guigui00 +D HARIBOTE haribote +F IMGTOL.COM;1 imgtol.com +F LD.EXE;1 ld.exe +F MAKE.EXE;1 make.exe +F MAKEFONT.EXE;1 makefont.exe +F NASK.EXE;1 nask.exe +F NASKCNV0.EXE;1 naskcnv0.exe +F NOTHING.COM;1 nothing.com +F OBJ2BIM.EXE;1 obj2bim.exe +F OSALINK1.EXE;1 osalink1.exe +F OSASK0.PSF;1 OSASK0.PSF +D OSA_QEMU osa_qemu +D QEMU qemu +D QEMU_9X qemu_9x +F SARTOL.EXE;1 sartol.exe +F SJISCONV.EXE;1 sjisconv.exe +F T5LZMA.EXE;1 t5lzma.exe +F UPX.EXE;1 upx.exe +F WCE.EXE;1 wce.exe +D WIN32 win32 Added: PhoeniOS/release/z_tools/aksa.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/aksa.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/as.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/as.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/aska.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/aska.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/bim2bin.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/bim2bin.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/bim2hrb.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/bim2hrb.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/bin2obj.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/bin2obj.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/c++.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/c++.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/cc1.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/cc1.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/cc1plus.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/cc1plus.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/com_mak.txt =================================================================== --- PhoeniOS/release/z_tools/com_mak.txt (rev 0) +++ PhoeniOS/release/z_tools/com_mak.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,89 @@ +TOOLPATH = ../z_tools/ +RULEFILE = ../z_tools/guigui00/guigui00.rul +MAKE = $(TOOLPATH)make.exe -r +SJISCONV = $(TOOLPATH)sjisconv.exe -s +CC1 = $(TOOLPATH)cc1.exe -I$(INCPATH) $(CC1OPT) -Os -Wall -quiet +GAS2NASK = $(TOOLPATH)gas2nask.exe -a +NASK = $(TOOLPATH)nask.exe +OBJ2BIM = $(TOOLPATH)obj2bim.exe +BIM2BIN = $(TOOLPATH)bim2bin.exe +CPP0 = $(TOOLPATH)cpp0.exe -P -I$(INCPATH) +ASKA = $(TOOLPATH)aska.exe +NASKCNV = $(TOOLPATH)naskcnv0.exe -l -s -w +GOLIB = $(TOOLPATH)golib00.exe +LINK = $(TOOLPATH)ld.exe -s -Bdynamic --stack $(STACKSIZE) +EDIMG = $(TOOLPATH)edimg.exe +SARTOL = $(TOOLPATH)sartol.exe +DELE = del +COPY = copy + +LIBPATH = $(INCPATH) +LIBS = $(LIBPATH)w32clibc.lib $(LIBPATH)golibc.lib $(LIBPATH)libmingw.lib + +# ??????????f?????????????????+ +ALL: + $(MAKE) $(TARGET).$(MODE) + +%.ca : %.c Makefile + $(SJISCONV) $*.c $*.ca + +%.gas : %.ca Makefile + $(CC1) -o $*.gas $*.ca + +%.nas : %.gas Makefile + $(GAS2NASK) $*.gas $*.nas + +%.obj : %.nas Makefile + $(NASK) $*.nas $*.obj + +%.ias : %.ask Makefile + $(CPP0) -o $*.ias $*.ask + +%.3as : %.ias Makefile + $(ASKA) $*.ias $*.3as + +%.nas : %.3as Makefile + $(NASKCNV) $*.3as $*.nas + +%.lst : %.nas Makefile + $(NASK) $*.nas $*.obj $*.lst + +$(TARGET).bim : $(OBJS) Makefile + $(OBJ2BIM) @$(RULEFILE) out:$(TARGET).bim stack:$(STACKSIZE) map:$(TARGET).map $(OBJS) + +%.bin : %.bim Makefile + $(BIM2BIN) in:$*.bim out:$*.org malloc:$(MALLOCSIZE) mmarea:$(MMAREA) $(BIMOPT0) + $(BIM2BIN) -osacmp in:$*.org out:$*.bin $(BIMOPT1) + +$(TARGET).lib : $(OBJS) Makefile + $(GOLIB) out:$@ $(OBJS) + +$(TARGET).dll : $(TARGET).bim Makefile + $(OBJ2BIM) @$(RULEFILE) out:$(TARGET).bim map:$(TARGET).map $(OBJS) + $(BIM2BIN) -osacmp -tek1 in:$(TARGET).bim out:$(TARGET).dll + +$(TARGET).exe : $(OBJS) Makefile + $(LINK) -o $(TARGET).exe -Map $(TARGET).map $(OBJS) $(LIBS) + +clean : + -$(DELE) *.obj + -$(DELE) $(TARGET).bim + -$(DELE) $(TARGET).map + -$(DELE) $(TARGET).org + +run : + $(MAKE) $(TARGET).$(MODE) + $(COPY) $(TARGET).$(MODE) ..\z_tools\!built.bin + $(MAKE) -C $(TOOLPATH)osa_qemu + $(EDIMG) @$(TOOLPATH)edimgopt.txt $(EDIMGOPT) imgout:../z_tools/qemu/fdimage0.bin + $(MAKE) -C $(TOOLPATH)qemu + +arc : + $(MAKE) $(TARGET).$(MODE) + $(SARTOL) e $(ARCORG) . @-4k ARCINFO0.TXT $(ARCFLIES) + $(BIM2BIN) -osacmp in:$(ARCORG) out:$(ARCTEK) $(BIMOPT2) + +src_only : + $(MAKE) clean + -$(DELE) $(TARGET).$(MODE) Added: PhoeniOS/release/z_tools/comcom.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/comcom.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/cpp0.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/cpp0.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/dsar.bat =================================================================== --- PhoeniOS/release/z_tools/dsar.bat (rev 0) +++ PhoeniOS/release/z_tools/dsar.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,23 @@ + ¡÷ echo off + +set dsar_sartol=sartol.exe +set dsar_bpath="%USERPROFILE%/??????/" +set dsar_autorun="%SystemRoot%\explorer.exe" + +rem ??? +rem set dsar_bpath="%USERPROFILE%/??????/" +rem set dsar_bpath="%USERPROFILE%/??????" +rem set dsar_bpath=.. ¡÷ arcpath/ +rem set dsar_bpath=.. ¡÷ arcpath + +rem ??? +rem set dsar_autorun="%SystemRoot%\explorer.exe" +rem set dsar_autorun= +rem ???dsar_bpath?????????\????? + +:loop +if %1.==. goto end +%dsar_sartol% d %1 %dsar_bpath% %dsar_autorun% +shift +goto loop +:end \ No newline at end of file Added: PhoeniOS/release/z_tools/edimg.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/edimg.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/edimgopt.txt =================================================================== --- PhoeniOS/release/z_tools/edimgopt.txt (rev 0) +++ PhoeniOS/release/z_tools/edimgopt.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,5 @@ +opt imgin:../z_tools/osa_qemu/osaimgqe.bin +copy from:../z_tools/OSASK0.PSF to:@: +copy from:../z_tools/!built.bin to:@: + +opt imgout:../z_tools/qemu/fdimage0.bin Added: PhoeniOS/release/z_tools/esart5.bat =================================================================== --- PhoeniOS/release/z_tools/esart5.bat (rev 0) +++ PhoeniOS/release/z_tools/esart5.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,19 @@ + ¡÷ echo off + +set esar_sartol=sartol.exe +set esar_bim2bin=bim2bin.exe +set esar_wce=wce.exe + +if exist %1.sar goto end + +if %2.==. goto all +%esar_wce% %esar_sartol% e %1.sar %1 !1 #b=%1 %2 %3 %4 %5 %6 %7 %8 %9 +goto tek5 + +:all +%esar_wce% %esar_sartol% e %1.sar %1 !1 #b=%1 * + +:tek5 +%esar_wce% %esar_bim2bin% -osacmp -tek5 in:%1.sar out:%1.sar + +:end \ No newline at end of file Added: PhoeniOS/release/z_tools/fdimg0at.tek =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/fdimg0at.tek ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/fdimg0tw.tek =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/fdimg0tw.tek ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/gas2nask.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/gas2nask.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/golib00.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/golib00.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/guigui00/TRANS.TBL =================================================================== --- PhoeniOS/release/z_tools/guigui00/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_tools/guigui00/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,15 @@ +F ERRNO.H;1 errno.h +F FLOAT.H;1 float.h +F GG00LIBC.LIB;1 gg00libc.lib +F GG00OLD0.RUL;1 gg00old0.rul +F GOLIBC.LIB;1 golibc.lib +F GUIGUI00.H;1 guigui00.h +F GUIGUI00.RUL;1 guigui00.rul +F LIMITS.H;1 limits.h +F MATH.H;1 math.h +F SETJMP.H;1 setjmp.h +F STDARG.H;1 stdarg.h +F STDDEF.H;1 stddef.h +F STDIO.H;1 stdio.h +F STDLIB.H;1 stdlib.h +F STRING.H;1 string.h Added: PhoeniOS/release/z_tools/guigui00/errno.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/errno.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/errno.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(ERRNO_H)) + +#define ERRNO_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +extern int errno; + +#define ENOENT 2 /* No such file or directory */ +#define ERANGE 34 /* Result too large (or too small) */ + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/guigui00/float.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/float.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/float.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,26 @@ +/* copyright(C) 2002 H.Kawai (under KL-01). */ + +#if (!defined(FLOAT_H)) + +#define FLOAT_H 1 + +#define FLT_RADIX 2 +#define FLT_ROUNDS 1 /* nearest */ +#define FLT_DIG 6 +#define FLT_EPSILON 1.19209290e-07F +#define FLT_MANT_DIG 24 +#define FLT_MAX 3.40282347e+38F +#define FLT_MAX_EXP (+128) +#define FLT_MIN 1.17549435e-38F +#define FLT_MIN_EXP (-125) + +#define DBL_DIG 15 +#define DBL_EPSILON 2.2204460492503131e-16 +#define DBL_MANT_DIG 53 +#define DBL_MAX 1.7976931348623157e+308 +#define DBL_MAX_EXP 1024 +#define DBL_MIN 2.2250738585072014e-308 +#define DBL_MIN_EXP (-1021) + +#endif + Added: PhoeniOS/release/z_tools/guigui00/gg00libc.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/guigui00/gg00libc.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/guigui00/gg00old0.rul =================================================================== --- PhoeniOS/release/z_tools/guigui00/gg00old0.rul (rev 0) +++ PhoeniOS/release/z_tools/guigui00/gg00old0.rul 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +format: + /* ?????????????????*/ + code(align:1, logic:0x48, file:0x48); + data(align:4, logic:stack_end, file:code_end); + +file: + /* ????????????????????????+ .ojb?????.lib??????? */ + /* ??????????????????????B */ + /* ?? c:/osask/gg00libc.lib; */ + ../z_tools/guigui00/gg00libc.lib; + ../z_tools/guigui00/golibc.lib; + +label: + /* ???????????????????? */ + /* ???????????????????????? */ + _main; + + + /* ?L3???????????????????? */ Added: PhoeniOS/release/z_tools/guigui00/golibc.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/guigui00/golibc.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/guigui00/guigui00.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/guigui00.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/guigui00.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,586 @@ +#ifndef __GUIGUI00_H +#define __GUIGUI00_H + +/* gg00lib+ ver.0.8 */ +/* gg00lib9????????? */ + +struct LIB_WORK { + int data[256 / 4]; +}; + +struct LIB_WINDOW { + int data[128 / 4]; +}; + +struct LIB_TEXTBOX { + int data[64 / 4]; +}; + +struct LIB_SIGHNDLREG { + int ES, DS, FS, GS; + int EDI, ESI, EBP, ESP; + int EBX, EDX, ECX, EAX; + int EIP, CS, EFLAGS; +}; + +struct LIB_GRAPHBOX { + int reserve[64 / 4]; +}; + +struct LIB_LINES1 { + int x0, y0, dx, dy, length, color; +}; + +struct LIB_LINES0 { + int x0, y0, x1, y1, dummy, color; +}; + +struct LIB_POINTS { + int x, y, color; +}; + +//void lib_execcmd(void *EBX); + +extern __inline__ void lib_execcmd(void *EBX) +{ + __asm__ (" .byte 154 \n\t" + " .byte 0 \n\t" + " .byte 0 \n\t" + " .byte 0 \n\t" + " .byte 0 \n\t" + " .byte 199 \n\t" + " .byte 0 \n\t" + : : "b" (EBX) ); +} + +void lib_execcmd0(int cmd, ...); +#if 0 +extern __inline__ void lib_execcmd0(int cmd, ...) +{ + __asm__ (" movl %%esp,%%ebx \n\t" + " .byte 154 \n\t" + " .byte 0 \n\t" + " .byte 0 \n\t" + " .byte 0 \n\t" + " .byte 0 \n\t" + " .byte 199 \n\t" + " .byte 0 \n\t" + : : : "%ebx"); +} +#endif + +int lib_execcmd1(int ret, int cmd, ...); +int lib_execcmd2(int ret, int cmd, ...); + +void *malloc(const unsigned int nbytes); + +#if 0 + /* ??????????ŽÀ??????(?????????????) */ + /* ????????????????????????Žß???????? */ + +struct LIB_WORK *lib_init(struct LIB_WORK *work); +void lib_init_nm(struct LIB_WORK *work); +struct LIB_WORK *lib_init_am(struct LIB_WORK *work); +void lib_waitsignal(int opt, int signaldw, int nest); +struct LIB_WINDOW *lib_openwindow(struct LIB_WINDOW *window, int slot, int x_size, int y_size); +void lib_openwindow_nm(struct LIB_WINDOW *window, int slot, int x_size, int y_size); +void lib_openwindow_am(struct LIB_WINDOW *window, int slot, int x_size, int y_size); +struct LIB_TEXTBOX *lib_opentextbox(int opt, struct LIB_TEXTBOX *textbox, int backcolor, + int x_size, int y_size, int x_pos, int y_pos, struct LIB_WINDOW *window, int charset, + int init_char); +void lib_opentextbox_nm(int opt, struct LIB_TEXTBOX *textbox, int backcolor, int x_size, + int y_size, int x_pos, int y_pos, struct LIB_WINDOW *window, int charset, int init_char); +void lib_opentextbox_am(int opt, struct LIB_TEXTBOX *textbox, int backcolor, int x_size, + int y_size, int x_pos, int y_pos, struct LIB_WINDOW *window, int charset, int init_char); +void lib_waitsignaltime(int opt, int signaldw, int nest, unsigned int time0, unsigned int time1, + unsigned int time2); +int *lib_opensignalbox(int bytes, int *signalbox, int eos, int rewind); +void lib_opensignalbox_nm(int bytes, int *signalbox, int eos, int rewind); +int *lib_opensignalbox_am(int bytes, int *signalbox, int eos, int rewind); +void lib_definesignal0p0(int opt, int default_assign0, int default_assign1, int default_assign2); +void lib_definesignal1p0(int opt, int default_assign0, int default_assign1, + struct LIB_WINDOW *default_assign2, int signal); +void lib_opentimer(int slot); +void lib_closetimer(int slot); +void lib_settimertime(int opt, int slot, unsigned int time0, unsigned int time1, + unsigned int time2); +void lib_settimer(int opt, int slot); +void lib_opensoundtrack(int slot); +void lib_controlfreq(int slot, int freq); +struct LIB_WINDOW *lib_openwindow1(struct LIB_WINDOW *window, int slot, int x_size, int y_size, + int flags, int base); +void lib_openwindow1_nm(struct LIB_WINDOW *window, int slot, int x_size, int y_size, int flags, + int base); +void lib_openwindow1_am(struct LIB_WINDOW *window, int slot, int x_size, int y_size, int flags, + int base); +void lib_closewindow(int opt, struct LIB_WINDOW *window); +void lib_controlwindow(int opt, struct LIB_WINDOW *window); +void lib_close(int opt); +void lib_loadfontset(int opt, int slot, int len, void *font); +void lib_loadfontset0(int opt, int slot); +void lib_makecharset(int opt, int charset, int fontset, int len, int from, int base); +void lib_drawline(int opt, struct LIB_WINDOW *window, int color, int x0, int y0, int x1, int y1); +void lib_closetextbox(int opt, struct LIB_TEXTBOX *textbox); +void lib_mapmodule(int opt, int slot, int attr, int size, void *addr, int ofs); +void lib_unmapmodule(int opt, int size, void *addr); +void lib_initmodulehandle(int opt, int slot); +void lib_putblock1(struct LIB_WINDOW *win, int x, int y, int sx, int sy, int skip, void *p); +struct LIB_GRAPHBOX *lib_opengraphbox(int opt, struct LIB_GRAPHBOX *gbox, int mode, int mode_opt, + int x_size, int y_size, int x_pos, int y_pos, struct LIB_WINDOW *window); +void lib_opengraphbox_nm(int opt, struct LIB_GRAPHBOX *gbox, int mode, int mode_opt, + int x_size, int y_size, int x_pos, int y_pos, struct LIB_WINDOW *window); +struct LIB_GRAPHBOX *lib_opengraphbox_am(int opt, struct LIB_GRAPHBOX *gbox, int mode, int mode_opt, + int x_size, int y_size, int x_pos, int y_pos, struct LIB_WINDOW *window); +void lib_flushgraphbox(int opt, struct LIB_WINDOW *win, int x, int y, int sx, int sy, int skip, + void *p); +void lib_drawline0(int opt, struct LIB_GRAPHBOX *gbox, int color, int x0, int y0, int x1, int y1); +void lib_drawlines0(int opt, struct LIB_GRAPHBOX *gbox, int x0, int y0, int xsize, int ysize, + int lines, const struct LIB_LINES1 *ofs); +void lib_convlines(int opt, int lines, struct LIB_LINES0 *src, struct LIB_LINES1 *dest); +void lib_initmodulehandle0(int opt, int slot); +void lib_putblock02001(struct LIB_GRAPHBOX *gbox, void *buf, int vx0, int vy0); +struct LIB_GRAPHBOX *lib_opengraphbox2(int opt, struct LIB_GRAPHBOX *gbox, int mode, int mode_opt, + int x_bsize, int y_bsize, int x_vsize, int y_vsize, int x_pos, int y_pos, + struct LIB_WINDOW *window); +void lib_opengraphbox2_nm(int opt, struct LIB_GRAPHBOX *gbox, int mode, int mode_opt, + int x_bsize, int y_bsize, int x_vsize, int y_vsize, int x_pos, int y_pos, + struct LIB_WINDOW *window); +struct LIB_GRAPHBOX *lib_opengraphbox2_am(int opt, struct LIB_GRAPHBOX *gbox, int mode, int mode_opt, + int x_bsize, int y_bsize, int x_vsize, int y_vsize, int x_pos, int y_pos, + struct LIB_WINDOW *window); +void lib_putblock03001(struct LIB_GRAPHBOX *gbox, void *buf, int vx0, int vy0, void *tbuf, + int tbuf_skip, int tcol0); +void lib_drawpoints0(int opt, struct LIB_GRAPHBOX *gbox, int x0, int y0, int xsize, int ysize, + int points, const struct LIB_POINTS *ofs); +void lib_wsjis2gg00jpn0(int len, const char *sjis, int *gg00jpn, int ankbase, int jpnbase); +void lib_loadfontset1(int opt, int slot, int sig); +void lib_drawlines1(int opt, struct LIB_WINDOW *win, int x0, int y0, int xsize, int ysize, + int lines, const struct LIB_LINES1 *ofs); +void lib_drawpoints1(int opt, struct LIB_WINDOW *win, int x0, int y0, int xsize, int ysize, + int points, const struct LIB_POINTS *ofs); +void lib_seuc2gg00(int len, const char *seuc, int *gg00, int ankbase, int rightbase); +void lib_resizemodule(int opt, int slot, int newsize, int sig); +void lib_drawpoint0(int opt, struct LIB_GRAPHBOX *gbox, int color, int x, int y); +const int lib_getrandseed(); +void lib_putstring0(int opt, int x_pos, int y_pos, struct LIB_TEXTBOX *textbox, + int color, int bcolor, int len, const int *str); +void lib_putstring1(int opt, int x_pos, int y_pos, struct LIB_TEXTBOX *tbox, + int col, int bcol, int base, int len, const int *str); + +#endif + +void lib_putstring_ASCII(int opt, int x_pos, int y_pos, struct LIB_TEXTBOX *textbox, int color, + int backcolor, const char *str); +void lib_definesignalhandler(void (*lib_signalhandler)(struct LIB_SIGHNDLREG *)); +int lib_readCSb(int offset); +int lib_readCSd(int offset); +int lib_readmodulesize(int slot); +void lib_initmodulehandle1(int slot, int num, int sig); +void lib_steppath0(int opt, int slot, const char *name, int sig); +int lib_decodel2d3(int size, int src_ofs, int src_sel, int dest_ofs, int dest_sel); +void lib_putstring_SJIS0(int opt, int x_pos, int y_pos, struct LIB_TEXTBOX *textbox, + int color, int backcolor, const char *str); +int lib_decodetek0(int size, int src_ofs, int src_sel, int dest_ofs, int dest_sel); +void lib_settimertime2(int opt, int slot0, int slot1, unsigned int *time); + +#define lib_init(work) \ + (struct LIB_WORK *) lib_execcmd2(1 * 4 + 4, 0x0004, \ + (work) ? (void *) (work) : malloc(sizeof (struct LIB_WORK)), 0x0000) + +#define lib_init_nm(work) \ + lib_execcmd0(0x0004, (void *) (work), 0x0000) + +#define lib_init_am(work) \ + (struct LIB_WORK *) lib_execcmd2(1 * 4 + 4, 0x0004, \ + malloc(sizeof (struct LIB_WORK)), 0x0000) + +#define lib_waitsignal(opt, signaldw, nest) \ + lib_execcmd0(0x0018, (int) (opt), (int) (signaldw), (int) (nest), 0x0000) + +#define lib_openwindow(window, slot, x_size, y_size) \ + (struct LIB_WINDOW *) lib_execcmd2(1 * 4 + 4, 0x0020, \ + (window) ? (void *) (window) : malloc(sizeof (struct LIB_WINDOW)), \ + (int) (slot), (int) (x_size), (int) (y_size), 0x0000) + +#define lib_openwindow_nm(window, slot, x_size, y_size) \ + lib_execcmd0(0x0020, (void *) (window), (int) (slot), (int) (x_size), \ + (int) (y_size), 0x0000) + +#define lib_openwindow_am(window, slot, x_size, y_size) \ + (struct LIB_WINDOW *) lib_execcmd2(1 * 4 + 4, 0x0020, \ + malloc(sizeof (struct LIB_WINDOW)), \ + (int) (slot), (int) (x_size), (int) (y_size), 0x0000) + +#define lib_opentextbox(opt, textbox, backcolor, x_size, y_size, x_pos, y_pos, window, charset, init_char) \ + (struct LIB_TEXTBOX *) lib_execcmd2(2 * 4 + 4, 0x0028, (int) (opt), \ + (textbox) ? (void *) (textbox) : malloc(sizeof (struct LIB_TEXTBOX) + 8 * (x_size) * (y_size)), \ + (int) (backcolor), (int) (x_size), (int) (y_size), (int) (x_pos), \ + (int) (y_pos), (void *) (window), (int) (charset), (int) (init_char), \ + 0x0000) + +#define lib_opentextbox_nm(opt, textbox, backcolor, x_size, y_size, x_pos, y_pos, window, charset, init_char) \ + lib_execcmd0(0x0028, (int) (opt), (void *) (textbox), (int) (backcolor), \ + (int) (x_size), (int) (y_size), (int) (x_pos), (int) (y_pos), \ + (void *) (window), (int) (charset), (int) (init_char), 0x0000) + +#define lib_opentextbox_am(opt, textbox, backcolor, x_size, y_size, x_pos, y_pos, window, charset, init_char) \ + (struct LIB_TEXTBOX *) lib_execcmd2(2 * 4 + 4, 0x0028, (int) (opt), \ + malloc(sizeof (struct LIB_TEXTBOX) + 8 * (x_size) * (y_size)), \ + (int) (backcolor), (int) (x_size), (int) (y_size), (int) (x_pos), \ + (int) (y_pos), (void *) (window), (int) (charset), (int) (init_char), \ + 0x0000) + +#define lib_waitsignaltime(opt, signaldw, nest, time0, time1, time2) \ + lib_execcmd0(0x0018, (int) (opt), (int) (signaldw), (int) (nest), \ + (int) (time0), (int) (time1), (int) (time2), 0x0000) + +#define lib_opensignalbox(bytes, signalbox, eos, rewind) \ + (int *) lib_execcmd2(2 * 4 + 4, 0x0060, (int) (bytes), \ + (signalbox) ? (void *) (signalbox) : malloc(bytes), (int) (eos), \ + (int) (rewind), 0x0000) + +#define lib_opensignalbox_nm(bytes, signalbox, eos, rewind) \ + lib_execcmd0(0x0060, (int) (bytes), (void *) (signalbox), (int) (eos), \ + (int) (rewind), 0x0000) + +#define lib_opensignalbox_am(bytes, signalbox, eos, rewind) \ + (int *) lib_execcmd2(2 * 4 + 4, 0x0060, (int) (bytes), \ + malloc(bytes), (int) (eos), (int) (rewind), 0x0000) + +#define lib_definesignal0p0(opt, default_assign0, default_assign1, default_assign2) \ + lib_execcmd0(0x0068, (int) (opt), (int) (default_assign0), \ + (int) (default_assign1), (int) (default_assign2), 0, 0, 0x0000) + +#define lib_definesignal1p0(opt, default_assign0, default_assign1, default_assign2, signal) \ + lib_execcmd0(0x0068, (int) (opt), (int) (default_assign0), \ + (int) (default_assign1), (int) (default_assign2), 1, (int) (signal), \ + 0, 0x0000) + +#define lib_opentimer(slot) \ + lib_execcmd0(0x0070, (int) (slot), 0x0000) + +#define lib_closetimer(slot) \ + lib_execcmd0(0x0074, (int) (slot), 0x0000) + +#define lib_settimertime(opt, slot, time0, time1, time2) \ + lib_execcmd0(0x0078, (int) (opt), (int) (slot), (int) (time0), \ + (int) (time1), (int) (time2), 0x0000) + +#define lib_settimer(opt, slot) \ + lib_execcmd0(0x0078, (int) (opt), (int) (slot), 0x0000) + +#define lib_opensoundtrack(slot) \ + lib_execcmd0(0x0080, (int) (slot), 0, 0x0000) + +#define lib_controlfreq(slot, freq) \ + lib_execcmd0(0x008c, (int) (slot), (int) (freq), 0x0000) + +#define lib_openwindow1(window, slot, x_size, y_size, flags, base) \ + (struct LIB_WINDOW *) lib_execcmd2(1 * 4 + 4, 0x0020, \ + (window) ? (void *) (window) : malloc(sizeof (struct LIB_WINDOW)), \ + (int) (slot) | 0x01, (int) (x_size), (int) (y_size), \ + 0x01 | (int) (flags) << 8, (int) (base), 0x0000) + +#define lib_openwindow1_nm(window, slot, x_size, y_size, flags, base) \ + lib_execcmd0(0x0020, (void *) (window), (int) (slot) | 0x01, \ + (int) (x_size), (int) (y_size), 0x01 | (int) (flags) << 8, (int) (base), \ + 0x0000) + +#define lib_openwindow1_am(window, slot, x_size, y_size, flags, base) \ + (struct LIB_WINDOW *) lib_execcmd2(1 * 4 + 4, 0x0020, \ + malloc(sizeof (struct LIB_WINDOW)), \ + (int) (slot) | 0x01, (int) (x_size), (int) (y_size), \ + 0x01 | (int) (flags) << 8, (int) (base), 0x0000) + +#define lib_closewindow(opt, window) \ + lib_execcmd0(0x0024, (int) (opt), (void *) (window), 0x0000) + +#define lib_controlwindow(opt, window) \ + lib_execcmd0(0x003c, (int) (opt), (void *) (window), 0x0000) + +#define lib_close(opt) \ + lib_execcmd0(0x0008, (int) (opt), 0x0000) + +#define lib_loadfontset(opt, slot, len, font) \ + lib_execcmd0(0x00e0, (int) (opt), (int) (slot), (int) (len), (int) (font), \ + 0x000c, 0x0000) + +#define lib_loadfontset0(opt, slot) \ + lib_execcmd0(0x00e0, (int) (opt), (int) (slot), 0x0000) + +#define lib_loadfontset1(opt, slot, sig) \ + lib_execcmd0(0x00e0, (int) (opt), (int) (slot), 1, (int) (sig), 0x0000) + +#define lib_makecharset(opt, charset, fontset, len, from, base) \ + lib_execcmd0(0x00e8, (int) (opt), (int) (charset), (int) (fontset), \ + (int) (len), (int) (from), (int) (base), 0x0000) + +#define lib_drawline(opt, window, color, x0, y0, x1, y1) \ + lib_execcmd0(0x0044, (int) (opt), (void *) (window), (int) (color), \ + (int) (x0), (int) (y0), (int) (x1), (int) (y1), 0x0000) + +#define lib_closetextbox(opt, textbox) \ + lib_execcmd0(0x002c, (int) (opt), (int) (textbox), 0x0000) + +#define lib_mapmodule(opt, slot, attr, size, addr, ofs) \ + lib_execcmd0(0x00c0, (int) (opt), (int) (slot), (int) (size), \ + (void *) (addr), 0x000c, (int) ((ofs) | (attr)), 0x0000) + +#define lib_unmapmodule(opt, size, addr) \ + lib_execcmd0(0x00c4, (int) (opt), (int) (size), (void *) (addr), 0x000c, \ + 0x0000) + +#define lib_initmodulehandle(opt, slot) \ + lib_execcmd0(0x00a0, (int) (opt), (int) (slot), 0x0000) + +#define lib_putblock1(win, x, y, sx, sy, skip, p) \ + lib_execcmd0(0x004c, 1, (void *) (win), (int) (x), (int) (y), (int) (sx), \ + (int) (sy), (int) (skip), (void *) (p), 0x000c, 0x0000) + +#define lib_opengraphbox(opt, graphbox, mode, mode_opt, x_size, y_size, x_pos, y_pos, window) \ + (struct LIB_GRAPHBOX *) lib_execcmd2(2 * 4 + 4, 0x0030, (int) (opt), \ + (graphbox) ? (void *) (graphbox) : malloc(sizeof (struct LIB_GRAPHBOX) + (x_size) * (y_size) * ((mode) & 0xf)), \ + (int) (mode), (int) (mode_opt), (int) (x_size), (int) (y_size), \ + (int) (x_pos), (int) (y_pos), (void *) (window), 0x0000) + +#define lib_opengraphbox_nm(opt, graphbox, mode, mode_opt, x_size, y_size, x_pos, y_pos, window) \ + lib_execcmd0(0x0030, (int) (opt), (void *) (graphbox), \ + (int) (mode), (int) (mode_opt), (int) (x_size), (int) (y_size), \ + (int) (x_pos), (int) (y_pos), (void *) (window), 0x0000) + +#define lib_opengraphbox_am(opt, graphbox, mode, mode_opt, x_size, y_size, x_pos, y_pos, window) \ + (struct LIB_GRAPHBOX *) lib_execcmd2(2 * 4 + 4, 0x0030, (int) (opt), \ + malloc(sizeof (struct LIB_GRAPHBOX) + (x_size) * (y_size) * ((mode) & 0xf)), \ + (int) (mode), (int) (mode_opt), (int) (x_size), (int) (y_size), \ + (int) (x_pos), (int) (y_pos), (void *) (window), 0x0000) + +#define lib_flushgraphbox(opt, win, x, y, sx, sy, skip, p) \ + lib_execcmd0(0x004c, opt, (void *) (win), (int) (x), (int) (y), (int) (sx), \ + (int) (sy), (int) (skip), (void *) (p), 0x000c, 0x0000) + +#define lib_drawline0(opt, gbox, color, x0, y0, x1, y1) \ + lib_execcmd0(0x0054, (int) (opt), (void *) (gbox), (int) (color), \ + (int) (x0), (int) (y0), (int) (x1), (int) (y1), 0x0000) + +#define lib_drawlines0(opt, gbox, x0, y0, xsize, ysize, lines, ofs) \ + lib_execcmd0(0x0108, (int) (opt), (void *) (gbox), (int) (x0), \ + (int) (y0), (int) (xsize), (int) (ysize), (int) (lines), (void *) (ofs), \ + 0x000c, 0x0000) + +#define lib_convlines(opt, lines, src, dest) \ + lib_execcmd0(0x010c, (int) (opt), (int) (lines), \ + (struct LIB_LINES0 *) (src), 0x000c, (struct LIB_LINES1 *) (dest), \ + 0x000c, 0x0000) + +#define lib_initmodulehandle0(opt, slot) \ + lib_execcmd0(0x00a0, (int) (opt), (int) (slot), 0x0000) + +#define lib_putblock02001(gbox, buf, vx0, vy0) \ + lib_execcmd0(0x0058, 0x2001, (void *) (gbox), (void *) (buf), \ + (int) (vx0), (int) (vy0), 0x0000) + +#define lib_opengraphbox2(opt, graphbox, mode, mode_opt, x_bsize, y_bsize, \ + x_vsize, y_vsize, x_pos, y_pos, window) \ + (struct LIB_GRAPHBOX *) lib_execcmd2(2 * 4 + 4, 0x0030, (int) (opt), \ + (graphbox) ? (void *) (graphbox) : malloc(sizeof (struct LIB_GRAPHBOX) + (x_bsize) * (y_bsize) * ((mode) & 0xf)), \ + (int) (mode), (int) (mode_opt), (int) (x_bsize), (int) (y_bsize), \ + (int) (x_vsize), (int) (y_vsize), (int) (x_pos), (int) (y_pos), \ + (void *) (window), 0x0000) + +#define lib_opengraphbox2_nm(opt, graphbox, mode, mode_opt, x_bsize, y_bsize, \ + x_vsize, y_vsize, x_pos, y_pos, window) \ + lib_execcmd0(0x0030, (int) (opt), (void *) (graphbox), \ + (int) (mode), (int) (mode_opt), (int) (x_bsize), (int) (y_bsize), \ + (int) (x_vsize), (int) (y_vsize), (int) (x_pos), (int) (y_pos), \ + (void *) (window), 0x0000) + +#define lib_opengraphbox2_am(opt, graphbox, mode, mode_opt, x_bsize, y_bsize, \ + x_vsize, y_vsize, x_pos, y_pos, window) \ + (struct LIB_GRAPHBOX *) lib_execcmd2(2 * 4 + 4, 0x0030, (int) (opt), \ + malloc(sizeof (struct LIB_GRAPHBOX) + (x_bsize) * (y_bsize) * ((mode) & 0xf)), \ + (int) (mode), (int) (mode_opt), (int) (x_bsize), (int) (y_bsize), \ + (int) (x_vsize), (int) (y_vsize), (int) (x_pos), (int) (y_pos), \ + (void *) (window), 0x0000) + +#define lib_putblock03001(gbox, buf, vx0, vy0, tbuf, tbuf_skip, tcol0) \ + lib_execcmd0(0x0058, 0x3001, (void *) (gbox), (void *) (buf), \ + (int) (vx0), (int) (vy0), (void *) (tbuf), (int) (tbuf_skip), \ + (int) (tcol0), 0x0000) + +#define lib_drawpoints0(opt, gbox, x0, y0, xsize, ysize, points, ofs) \ + lib_execcmd0(0x005c, (int) (opt), (void *) (gbox), (int) (x0), \ + (int) (y0), (int) (xsize), (int) (ysize), (int) (points), (void *) (ofs), \ + 0x000c, 0x0000) + +#define lib_wsjis2gg00jpn0(len, sjis, gg00jpn, ankbase, jpnbase) \ + lib_execcmd0(0x00ec, 0x0001, (int) (len), (void *) (sjis), 0x000c, \ + (int *) (gg00jpn), 0x000c, (int) (ankbase), (int) (jpnbase), 0x0000) + +#define lib_drawlines1(opt, win, x0, y0, xsize, ysize, lines, ofs) \ + lib_execcmd0(0x0110, (int) (opt), (void *) (win), (int) (x0), \ + (int) (y0), (int) (xsize), (int) (ysize), (int) (lines), (void *) (ofs), \ + 0x000c, 0x0000) + +#define lib_drawpoints1(opt, win, x0, y0, xsize, ysize, points, ofs) \ + lib_execcmd0(0x0050, (int) (opt), (void *) (win), (int) (x0), \ + (int) (y0), (int) (xsize), (int) (ysize), (int) (points), (void *) (ofs), \ + 0x000c, 0x0000) + +#define lib_seuc2gg00(len, seuc, gg00, ankbase, rightbase) \ + lib_execcmd0(0x00ec, 0x0002, (int) (len), (void *) (seuc), 0x000c, \ + (int *) (gg00), 0x000c, (int) (ankbase), (int) (rightbase), 0x0000) + +#define lib_resizemodule(opt, slot, newsize, sig) \ + lib_execcmd0(0x0120, 0x0000, (int) (slot), (int) (newsize), 1, \ + (int) (sig), 0x0000) + +#define lib_drawpoint0(opt, gbox, color, x, y) \ + lib_execcmd0(0x0054, (int) (opt), (void *) (gbox), (int) (color), \ + (int) (x), (int) (y), (int) (x), (int) (y), 0x0000) + +#define lib_getrandseed() \ + lib_execcmd2(2 * 4 + 4, 0x0118, (int) 0, (int) 0, (int) 0x0000) + +#define lib_putstring0(opt, x_pos, y_pos, textbox, color, bcolor, len, str) \ + lib_execcmd0(0x0040, (int) (opt) | 0x4000, (int) (x_pos), (int) (y_pos), \ + (void *) (textbox), (int) (color), (int) (bcolor), (int) (len), \ + (void *) (str), (int) 0x000c, 0x0000) + +#define lib_putstring1(opt, x_pos, y_pos, tbox, col, bcol, base, len, str) \ + lib_execcmd0(0x0040, (int) (opt) | 0x4000, (int) (x_pos), (int) (y_pos), \ + (void *) (tbox), (int) (col), (int) (bcol), (int) (base), (int) (len), \ + (void *) (str), (int) 0x000c, 0x0000) + +/* ?????????? */ + +//void lib_initsignalbox0_256(int rewind); +//void lib_initsignalbox0_4k(int rewind); +//void lib_initsignalbox0_64k(int rewind); +extern int lib_work256[256 / 4]; +extern int lib_sigrwd_256, *lib_sigptr_256, lib_sigbox_256[256 / 4]; +extern int lib_sigrwd_4k, *lib_sigptr_4k, lib_sigbox_4k[4096 / 4]; +extern int lib_sigrwd_64k, *lib_sigptr_64k, lib_sigbox_64k[65536 / 4]; +int lib_getsig0w(int *sigbox); +int lib_getsig0(int *sigbox); +int lib_getsig1w(int *sigbox); +int lib_getsig1(int *sigbox); + +extern int lib_initsignalbox0_256d[1]; +extern __inline__ void lib_initsignalbox0_256(int rewind) +{ + __asm__ (" movl $_lib_initsignalbox0_256d,%%ebx\n\t" \ + " movl %0,24(%%ebx) \n\t" \ + " .byte 154 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 199 \n\t" \ + " .byte 0 \n\t" \ + : : "r" (rewind) : "%ebx" ); +} + +extern int lib_initsignalbox0_4kd[1]; +extern __inline__ void lib_initsignalbox0_4k(int rewind) +{ + __asm__ (" movl $_lib_initsignalbox0_4kd,%%ebx \n\t" \ + " movl %0,24(%%ebx) \n\t" \ + " .byte 154 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 199 \n\t" \ + " .byte 0 \n\t" \ + : : "r" (rewind) : "%ebx" ); +} + +extern int lib_initsignalbox0_64kd[1]; +extern __inline__ void lib_initsignalbox0_64k(int rewind) +{ + __asm__ (" movl $_lib_initsignalbox0_64kd,%%ebx\n\t" \ + " movl %0,24(%%ebx) \n\t" \ + " .byte 154 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 0 \n\t" \ + " .byte 199 \n\t" \ + " .byte 0 \n\t" \ + : : "r" (rewind) : "%ebx" ); +} + +#if (!defined(LIB_FN_INIT)) +/* function-number */ +#define LIB_FN_INIT 0x0004 /* non-malloc? */ +#define LIB_FN_CLOSE 0x0008 +#define LIB_FN_WAITSIGNAL 0x0018 +#define LIB_FN_WAITSIGNALTIME 0x0018 +#define LIB_FN_OPENWINDOW 0x0020 /* non-malloc? */ +#define LIB_FN_OPENWINDOW1 0x0020 /* non-malloc? */ + /* ?slot?????1????flags?????256??????1??? */ +#define LIB_FN_CLOSEWINDOW 0x0024 +#define LIB_FN_OPENTEXTBOX 0x0028 /* non-malloc? */ +#define LIB_FN_CLOSETEXTBOX 0x002c +#define LIB_FN_OPENGRAPHBOX 0x0030 /* non-malloc? */ +#define LIB_FN_OPENGRAPHBOX2 0x0030 /* non-malloc? */ +#define LIB_FN_CONTROLWINDOW 0x003c +#define LIB_FN_PUTSTRING 0x0040 + /* ????????opt?0x4000??? */ + /* ??????????????0x4000????? */ +#define LIB_FN_DRAWLINE 0x0044 +#define LIB_FN_FLUSHGRAPHBOX 0x004c /* ????0x000c??? */ +#define LIB_FN_PUTBLOCK1 0x004c /* ???opt???1???????????0x000c??? */ +#define LIB_FN_DRAWPOINTS1 0x0050 /* ????0x000c??? */ +#define LIB_FN_DRAWLINE0 0x0054 +#define LIB_FN_DRAWPOINT0 0x0054 + /* ?x?y???????x?y????ŽÀ?DRAWLINE0?????????? */ +#define LIB_FN_PUTBLOCK02001 0x0058 /* ???opt???0x2001??? */ +#define LIB_FN_PUTBLOCK03001 0x0058 /* ???opt???0x3001??? */ +#define LIB_FN_DRAWPOINTS0 0x005c /* ????0x000c??? */ +#define LIB_FN_OPENSIGNALBOX 0x0060 /* non-malloc? */ +#define LIB_FN_DEFINESIGNAL 0x0068 + /* ?0p0????A????0?2??? */ + /* ?1p0????Asignal???1????signal????0??? */ +#define LIB_FN_OPENTIMER 0x0070 +#define LIB_FN_CLOSETIMER 0x0074 +#define LIB_FN_SETTIMER 0x0078 +#define LIB_FN_SETTIMERTIME 0x0078 +#define LIB_FN_OPENSOUNDTRAK 0x0080 +#define LIB_FN_CONTROLFREQ 0x008c +#define LIB_FN_MAPMODULE 0x00c0 /* addr????0x000c????ofs?attr????????? */ +#define LIB_FN_UNMAPMODULE 0x00c4 /* addr????0x000c??? */ +#define LIB_FN_LOADFONTSET 0x00e0 /* ????0x000c??? */ +#define LIB_FN_LOADFONTSET0 0x00e0 +#define LIB_FN_MAKECHARSET 0x00e8 +#define LIB_FN_WSJIS2GG00JPN0 0x00ec + /* ????opt???1????sjis?gg00jpn?????????0x000c??? */ +#define LIB_FN_SEUC2GG00 0x00ec + /* ????opt???2????seuc?gg00?????????0x000c??? */ +#define LIB_FN_DRAWLINES0 0x0108 /* ????0x000c??? */ +#define LIB_FN_CONVLINES 0x010c /* ????0x000c??? */ +#define LIB_FN_DRAWLINES1 0x0110 /* ????0x000c??? */ +#define LIB_FN_RESIZEMODULE 0x0120 /* sig???1??? */ +#endif + +#define lib_openwintitle(size, window) \ + lib_opentextbox(0x1000, 0, 0, size, 1, 0, 0, window, 0x00c0, 0) + +#define lib_settimertime_interval(slot, time0, time1) \ + lib_settimertime(0x12, slot, time0, time1, 0) + +#define lib_settimertime_fromnow(slot, time0, time1) \ + lib_settimertime(0x32, slot, time0, time1, 0) + +#define lib_wait_interval(time0, time1) \ + lib_waitsignaltime(0x0007, 0, 0, time0, time1, 0) + +#define lib_wait_fromnow(time0, time1) \ + lib_waitsignaltime(0x000f, 0, 0, time0, time1, 0) + +int lib_imul(signed int a, signed int b, int *h); +int lib_idiv(signed int a, signed int b, int *r); +int lib_imuldiv(signed int a, signed int b, signed int c, int *r); +int lib_imod(signed int a, signed int b, int *q); + +#endif Added: PhoeniOS/release/z_tools/guigui00/guigui00.rul =================================================================== --- PhoeniOS/release/z_tools/guigui00/guigui00.rul (rev 0) +++ PhoeniOS/release/z_tools/guigui00/guigui00.rul 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +format: + /* ?????????????????*/ + code(align:1, logic:0x48, file:0x48); + data(align:4, logic:stack_end, file:code_end); + +file: + /* ????????????????????????+ .ojb?????.lib??????? */ + /* ??????????????????????B */ + /* ?? c:/osask/gg00libc.lib; */ + ../z_tools/guigui00/gg00libc.lib; + ../z_tools/guigui00/golibc.lib; + +label: + /* ???????????????????? */ + /* ???????????????????????? */ + _OsaskMain; + + + /* ?L3???????????????????? */ Added: PhoeniOS/release/z_tools/guigui00/limits.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/limits.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/limits.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,23 @@ +/* copyright(C) 2002 H.Kawai (under KL-01). */ + +#if (!defined(LIMITS_H)) + +#define LIMITS_H 1 + +#define CHAR_BIT 8 +#define CHAR_MAX (+127) +#define CHAR_MIN 0 +#define INT_MAX (+0x7fffffff) +#define INT_MIN (-0x7fffffff) +#define LONG_MAX INT_MAX +#define LONG_MIN INT_MIN +#define SCHAR_MAX (+127) +#define SCHAR_MIN (-127) +#define SHRT_MAX (+0x7fff) +#define SHRT_MIN (-0x7fff) +#define UCHAR_MAX (+0xff) +#define UINT_MAX (+0xffffffff) +#define ULONG_MAX UINT_MAX +#define USHRT_MAX (+0xffff) + +#endif Added: PhoeniOS/release/z_tools/guigui00/math.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/math.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/math.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,42 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(MATH_H)) + +#define MATH_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +double sin(double); +double cos(double); +double sqrt(double); +double ldexp(double x, int n); +double frexp(double x, int *exp); + +extern __inline__ double sin(double x) +{ + double res; + __asm__ ("fsin" : "=t" (res) : "0" (x)); + return res; +} + +extern __inline__ double cos(double x) +{ + double res; + __asm__ ("fcos" : "=t" (res) : "0" (x)); + return res; +} + +extern __inline__ double sqrt(double x) +{ + double res; + __asm__ ("fsqrt" : "=t" (res) : "0" (x)); + return res; +} + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/guigui00/setjmp.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/setjmp.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/setjmp.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(SETJMP_H)) + +#define SETJMP_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +typedef int jmp_buf[3]; /* EBP, EIP, ESP */ + +#define setjmp(env) __builtin_setjmp(env) +#define longjmp(env, val) __builtin_longjmp(env, val) + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/guigui00/stdarg.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/stdarg.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/stdarg.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,21 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDARG_H)) + +#define STDARG_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#define va_start(v,l) __builtin_stdarg_start((v),l) +#define va_end __builtin_va_end +#define va_arg __builtin_va_arg +#define va_copy(d,s) __builtin_va_copy((d),(s)) +#define va_list __builtin_va_list + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/guigui00/stddef.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/stddef.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/stddef.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,17 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDDEF_H)) + +#define STDDEF_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +typedef unsigned int size_t; + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/guigui00/stdio.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/stdio.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/stdio.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,24 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDIO_H)) + +#define STDIO_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#if (!defined(NULL)) + #define NULL ((void *) 0) +#endif + +#include + +int sprintf(char *s, const char *format, ...); +int vsprintf(char *s, const char *format, va_list arg); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/guigui00/stdlib.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/stdlib.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/stdlib.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,34 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDLIB_H)) + +#define STDLIB_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#include /* size_t */ + +#define RAND_MAX 0x7fff +#define srand(seed) (void) (rand_seed = (seed)) + +int abs(int n); +double atof(const char *s); +int atoi(const char *s); +void qsort(void *base, size_t n, size_t size, + int (*cmp)(const void *, const void *)); +int rand(void); +extern unsigned int rand_seed; +double strtod(const char *s, const char **endp); +long strtol(const char *s, const char **endp, int base); +unsigned long strtoul(const char *s, const char **endp, int base); + +void *malloc(unsigned int nbytes); +void free(void *ap); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/guigui00/string.h =================================================================== --- PhoeniOS/release/z_tools/guigui00/string.h (rev 0) +++ PhoeniOS/release/z_tools/guigui00/string.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,38 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STRING_H)) + +#define STRING_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#include /* size_t */ + +char *strcpy(char *s, const char *ct); +char *strncpy(char *s, const char *ct, size_t n); +char *strcat(char *s, const char *ct); +char *strncat(char *s, const char *ct, size_t n); +int strcmp(const char *cs, const char *ct); +int strncmp(const char *cs, const char *ct, size_t n); +char *strchr(const char *cs, int c); +char *strrchr(const char *cs, int c); +size_t strspn(const char *s, const char *accept); +size_t strcspn(const char *s, const char *reject); +char *strpbrk(const char *s, const char *accept); +char *strstr(const char *cs, const char *ct); +size_t strlen(const char *cs); + +void *memcpy(void *s, const void *ct, size_t n); +void *memmove(void *s, const void *ct, size_t n); +int memcmp(const void *cs, const void *ct, size_t n); +void *memchr(const void *cs, int c, size_t n); +void *memset(void *s, int c, size_t n); +char *strdup(const char *s); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/haribote/errno.h =================================================================== --- PhoeniOS/release/z_tools/haribote/errno.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/errno.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(ERRNO_H)) + +#define ERRNO_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +extern int errno; + +#define ENOENT 2 /* No such file or directory */ +#define ERANGE 34 /* Result too large (or too small) */ + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/haribote/float.h =================================================================== --- PhoeniOS/release/z_tools/haribote/float.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/float.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,26 @@ +/* copyright(C) 2002 H.Kawai (under KL-01). */ + +#if (!defined(FLOAT_H)) + +#define FLOAT_H 1 + +#define FLT_RADIX 2 +#define FLT_ROUNDS 1 /* nearest */ +#define FLT_DIG 6 +#define FLT_EPSILON 1.19209290e-07F +#define FLT_MANT_DIG 24 +#define FLT_MAX 3.40282347e+38F +#define FLT_MAX_EXP (+128) +#define FLT_MIN 1.17549435e-38F +#define FLT_MIN_EXP (-125) + +#define DBL_DIG 15 +#define DBL_EPSILON 2.2204460492503131e-16 +#define DBL_MANT_DIG 53 +#define DBL_MAX 1.7976931348623157e+308 +#define DBL_MAX_EXP 1024 +#define DBL_MIN 2.2250738585072014e-308 +#define DBL_MIN_EXP (-1021) + +#endif + Added: PhoeniOS/release/z_tools/haribote/golibc.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/haribote/golibc.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/haribote/haribote.rul =================================================================== --- PhoeniOS/release/z_tools/haribote/haribote.rul (rev 0) +++ PhoeniOS/release/z_tools/haribote/haribote.rul 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,19 @@ +format: + /* ?????????????????*/ + code(align:1, logic:0x24, file:0x24); + data(align:4, logic:stack_end, file:code_end); + +file: + /* ????????????????????????+ .ojb?????.lib??????? */ + /* ??????????????????????B */ + /* ?? c:/osask/gg00libc.lib; */ + ../z_tools/haribote/harilibc.lib; + ../z_tools/haribote/golibc.lib; + +label: + /* ???????????????????? */ + /* ???????????????????????? */ + _HariStartup; + + /* ?L3???????????????????? */ Added: PhoeniOS/release/z_tools/haribote/harilibc.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/haribote/harilibc.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/haribote/limits.h =================================================================== --- PhoeniOS/release/z_tools/haribote/limits.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/limits.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,23 @@ +/* copyright(C) 2002 H.Kawai (under KL-01). */ + +#if (!defined(LIMITS_H)) + +#define LIMITS_H 1 + +#define CHAR_BIT 8 +#define CHAR_MAX (+127) +#define CHAR_MIN 0 +#define INT_MAX (+0x7fffffff) +#define INT_MIN (-0x7fffffff) +#define LONG_MAX INT_MAX +#define LONG_MIN INT_MIN +#define SCHAR_MAX (+127) +#define SCHAR_MIN (-127) +#define SHRT_MAX (+0x7fff) +#define SHRT_MIN (-0x7fff) +#define UCHAR_MAX (+0xff) +#define UINT_MAX (+0xffffffff) +#define ULONG_MAX UINT_MAX +#define USHRT_MAX (+0xffff) + +#endif Added: PhoeniOS/release/z_tools/haribote/math.h =================================================================== --- PhoeniOS/release/z_tools/haribote/math.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/math.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,42 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(MATH_H)) + +#define MATH_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +double sin(double); +double cos(double); +double sqrt(double); +double ldexp(double x, int n); +double frexp(double x, int *exp); + +extern __inline__ double sin(double x) +{ + double res; + __asm__ ("fsin" : "=t" (res) : "0" (x)); + return res; +} + +extern __inline__ double cos(double x) +{ + double res; + __asm__ ("fcos" : "=t" (res) : "0" (x)); + return res; +} + +extern __inline__ double sqrt(double x) +{ + double res; + __asm__ ("fsqrt" : "=t" (res) : "0" (x)); + return res; +} + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/haribote/setjmp.h =================================================================== --- PhoeniOS/release/z_tools/haribote/setjmp.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/setjmp.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(SETJMP_H)) + +#define SETJMP_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +typedef int jmp_buf[3]; /* EBP, EIP, ESP */ + +#define setjmp(env) __builtin_setjmp(env) +#define longjmp(env, val) __builtin_longjmp(env, val) + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/haribote/stdarg.h =================================================================== --- PhoeniOS/release/z_tools/haribote/stdarg.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/stdarg.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,21 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDARG_H)) + +#define STDARG_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#define va_start(v,l) __builtin_stdarg_start((v),l) +#define va_end __builtin_va_end +#define va_arg __builtin_va_arg +#define va_copy(d,s) __builtin_va_copy((d),(s)) +#define va_list __builtin_va_list + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/haribote/stddef.h =================================================================== --- PhoeniOS/release/z_tools/haribote/stddef.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/stddef.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,17 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDDEF_H)) + +#define STDDEF_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +typedef unsigned int size_t; + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/haribote/stdio.h =================================================================== --- PhoeniOS/release/z_tools/haribote/stdio.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/stdio.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,24 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDIO_H)) + +#define STDIO_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#if (!defined(NULL)) + #define NULL ((void *) 0) +#endif + +#include + +int sprintf(char *s, const char *format, ...); +int vsprintf(char *s, const char *format, va_list arg); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/haribote/string.h =================================================================== --- PhoeniOS/release/z_tools/haribote/string.h (rev 0) +++ PhoeniOS/release/z_tools/haribote/string.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,38 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STRING_H)) + +#define STRING_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#include /* size_t */ + +char *strcpy(char *s, const char *ct); +char *strncpy(char *s, const char *ct, size_t n); +char *strcat(char *s, const char *ct); +char *strncat(char *s, const char *ct, size_t n); +int strcmp(const char *cs, const char *ct); +int strncmp(const char *cs, const char *ct, size_t n); +char *strchr(const char *cs, int c); +char *strrchr(const char *cs, int c); +size_t strspn(const char *s, const char *accept); +size_t strcspn(const char *s, const char *reject); +char *strpbrk(const char *s, const char *accept); +char *strstr(const char *cs, const char *ct); +size_t strlen(const char *cs); + +void *memcpy(void *s, const void *ct, size_t n); +void *memmove(void *s, const void *ct, size_t n); +int memcmp(const void *cs, const void *ct, size_t n); +void *memchr(const void *cs, int c, size_t n); +void *memset(void *s, int c, size_t n); +char *strdup(const char *s); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/imgtol.com =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/imgtol.com ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/ld.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/ld.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/make.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/make.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/makefont.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/makefont.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/nask.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/nask.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/naskcnv0.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/naskcnv0.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/nothing.com =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/nothing.com ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/obj2bim.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/obj2bim.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/osa_qemu/Makefile =================================================================== --- PhoeniOS/release/z_tools/osa_qemu/Makefile (rev 0) +++ PhoeniOS/release/z_tools/osa_qemu/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,21 @@ +MAKE = ..\make.exe -r +OSALINK = ..\osalink1.exe +MV = ren +EDIMG = ..\edimg.exe +RM = del + +ALL : + $(MAKE) osaimgqe.bin + +osask_qe.exe : Makefile OSASK.EXE timerdrv.tek osalink1.opt + -$(RM) osask_qe.exe + $(MV) OSASK.EXE osask_at.exe + $(OSALINK) + $(MV) osask.exe osask_qe.exe + $(MV) osask_at.exe OSASK.EXE + +osask_qe.sys : Makefile osask_qe.exe + $(EDIMG) binin:osask_qe.exe exe2bin seg:2048 binout:osask_qe.sys + +osaimgqe.bin : Makefile OSAIMGAT.BIN osask_qe.sys + $(EDIMG) @edimgopt.txt Added: PhoeniOS/release/z_tools/osa_qemu/OSAIMGAT.BIN =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/osa_qemu/OSAIMGAT.BIN ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/osa_qemu/OSASK.EXE =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/osa_qemu/OSASK.EXE ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/osa_qemu/OSASK0.PSF =================================================================== --- PhoeniOS/release/z_tools/osa_qemu/OSASK0.PSF (rev 0) +++ PhoeniOS/release/z_tools/osa_qemu/OSASK0.PSF 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,2 @@ +setvesa 3 0x114 +mouseaccel 1 1 Added: PhoeniOS/release/z_tools/osa_qemu/TRANS.TBL =================================================================== --- PhoeniOS/release/z_tools/osa_qemu/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_tools/osa_qemu/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,8 @@ +F EDIMGOPT.TXT;1 edimgopt.txt +F MAKEFILE.;1 Makefile +F MANUAL.BAT;1 manual.bat +F OSAIMGAT.BIN;1 OSAIMGAT.BIN +F OSALINK1.OPT;1 osalink1.opt +F OSASK.EXE;1 OSASK.EXE +F OSASK0.PSF;1 OSASK0.PSF +F TIMERDRV.TEK;1 timerdrv.tek Added: PhoeniOS/release/z_tools/osa_qemu/edimgopt.txt =================================================================== --- PhoeniOS/release/z_tools/osa_qemu/edimgopt.txt (rev 0) +++ PhoeniOS/release/z_tools/osa_qemu/edimgopt.txt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,4 @@ +opt imgin:OSAIMGAT.BIN +ovrcopy from:osask_qe.sys to:@:OSASK.SYS +copy from:OSASK0.PSF to:@: +opt imgout:osaimgqe.bin Added: PhoeniOS/release/z_tools/osa_qemu/manual.bat =================================================================== --- PhoeniOS/release/z_tools/osa_qemu/manual.bat (rev 0) +++ PhoeniOS/release/z_tools/osa_qemu/manual.bat 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,9 @@ +..\nothing.com +del osask_at.exe +del osask_qe.exe +ren OSASK.EXE osask_at.exe +..\osalink1.exe +ren osask.exe osask_qe.exe +ren osask_at.exe OSASK.EXE +..\imgtol.com s osask_qe.exe osask_qe.sys 2048 +..\edimg.exe @edimgopt.txt \ No newline at end of file Added: PhoeniOS/release/z_tools/osa_qemu/osaimgqe.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/osa_qemu/osaimgqe.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/osa_qemu/osalink1.opt =================================================================== --- PhoeniOS/release/z_tools/osa_qemu/osalink1.opt (rev 0) +++ PhoeniOS/release/z_tools/osa_qemu/osalink1.opt 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,2 @@ +osask_at.exe +timerdrv.tek Added: PhoeniOS/release/z_tools/osa_qemu/osask_qe.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/osa_qemu/osask_qe.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/osa_qemu/osask_qe.sys =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/osa_qemu/osask_qe.sys ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/osa_qemu/timerdrv.tek =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/osa_qemu/timerdrv.tek ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/osalink1.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/osalink1.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/phoenios/phoenios.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/phoenios/phoenios.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu/Makefile =================================================================== --- PhoeniOS/release/z_tools/qemu/Makefile (rev 0) +++ PhoeniOS/release/z_tools/qemu/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,2 @@ +ALL : + qemu.exe -L . -m 32 -localtime -std-vga -fda fdimage0.bin Added: PhoeniOS/release/z_tools/qemu/SDL.dll =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu/SDL.dll ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu/TRANS.TBL =================================================================== --- PhoeniOS/release/z_tools/qemu/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_tools/qemu/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,5 @@ +F BIOS.BIN;1 bios.bin +F MAKEFILE.;1 Makefile +F QEMU.EXE;1 qemu.exe +F SDL.DLL;1 SDL.dll +F VGABIOS.BIN;1 vgabios.bin Added: PhoeniOS/release/z_tools/qemu/bios.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu/bios.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu/fdimage0.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu/fdimage0.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu/qemu.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu/qemu.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu/vgabios.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu/vgabios.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu_9x/Makefile =================================================================== --- PhoeniOS/release/z_tools/qemu_9x/Makefile (rev 0) +++ PhoeniOS/release/z_tools/qemu_9x/Makefile 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,2 @@ +ALL : + qemu.exe -L . --fda fdimage0.bin Added: PhoeniOS/release/z_tools/qemu_9x/SDL.dll =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu_9x/SDL.dll ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu_9x/TRANS.TBL =================================================================== --- PhoeniOS/release/z_tools/qemu_9x/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_tools/qemu_9x/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,5 @@ +F BIOS.BIN;1 bios.bin +F MAKEFILE.;1 Makefile +F QEMU.EXE;1 qemu.exe +F SDL.DLL;1 SDL.dll +F VGABIOS.BIN;1 vgabios.bin Added: PhoeniOS/release/z_tools/qemu_9x/bios.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu_9x/bios.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu_9x/qemu.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu_9x/qemu.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/qemu_9x/vgabios.bin =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/qemu_9x/vgabios.bin ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/sartol.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/sartol.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/sjisconv.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/sjisconv.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/t5lzma.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/t5lzma.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/upx.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/upx.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/wce.exe =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/wce.exe ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/win32/TRANS.TBL =================================================================== --- PhoeniOS/release/z_tools/win32/TRANS.TBL (rev 0) +++ PhoeniOS/release/z_tools/win32/TRANS.TBL 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,13 @@ +F ERRNO.H;1 errno.h +F FLOAT.H;1 float.h +F GOLIBC.LIB;1 golibc.lib +F LIBMINGW.LIB;1 libmingw.lib +F LIMITS.H;1 limits.h +F MATH.H;1 math.h +F SETJMP.H;1 setjmp.h +F STDARG.H;1 stdarg.h +F STDDEF.H;1 stddef.h +F STDIO.H;1 stdio.h +F STDLIB.H;1 stdlib.h +F STRING.H;1 string.h +F W32CLIBC.LIB;1 w32clibc.lib Added: PhoeniOS/release/z_tools/win32/errno.h =================================================================== --- PhoeniOS/release/z_tools/win32/errno.h (rev 0) +++ PhoeniOS/release/z_tools/win32/errno.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(ERRNO_H)) + +#define ERRNO_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +extern int errno; + +#define ENOENT 2 /* No such file or directory */ +#define ERANGE 34 /* Result too large (or too small) */ + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/float.h =================================================================== --- PhoeniOS/release/z_tools/win32/float.h (rev 0) +++ PhoeniOS/release/z_tools/win32/float.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,26 @@ +/* copyright(C) 2002 H.Kawai (under KL-01). */ + +#if (!defined(FLOAT_H)) + +#define FLOAT_H 1 + +#define FLT_RADIX 2 +#define FLT_ROUNDS 1 /* nearest */ +#define FLT_DIG 6 +#define FLT_EPSILON 1.19209290e-07F +#define FLT_MANT_DIG 24 +#define FLT_MAX 3.40282347e+38F +#define FLT_MAX_EXP (+128) +#define FLT_MIN 1.17549435e-38F +#define FLT_MIN_EXP (-125) + +#define DBL_DIG 15 +#define DBL_EPSILON 2.2204460492503131e-16 +#define DBL_MANT_DIG 53 +#define DBL_MAX 1.7976931348623157e+308 +#define DBL_MAX_EXP 1024 +#define DBL_MIN 2.2250738585072014e-308 +#define DBL_MIN_EXP (-1021) + +#endif + Added: PhoeniOS/release/z_tools/win32/golibc.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/win32/golibc.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/win32/libmingw.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/win32/libmingw.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/z_tools/win32/limits.h =================================================================== --- PhoeniOS/release/z_tools/win32/limits.h (rev 0) +++ PhoeniOS/release/z_tools/win32/limits.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,23 @@ +/* copyright(C) 2002 H.Kawai (under KL-01). */ + +#if (!defined(LIMITS_H)) + +#define LIMITS_H 1 + +#define CHAR_BIT 8 +#define CHAR_MAX (+127) +#define CHAR_MIN 0 +#define INT_MAX (+0x7fffffff) +#define INT_MIN (-0x7fffffff) +#define LONG_MAX INT_MAX +#define LONG_MIN INT_MIN +#define SCHAR_MAX (+127) +#define SCHAR_MIN (-127) +#define SHRT_MAX (+0x7fff) +#define SHRT_MIN (-0x7fff) +#define UCHAR_MAX (+0xff) +#define UINT_MAX (+0xffffffff) +#define ULONG_MAX UINT_MAX +#define USHRT_MAX (+0xffff) + +#endif Added: PhoeniOS/release/z_tools/win32/math.h =================================================================== --- PhoeniOS/release/z_tools/win32/math.h (rev 0) +++ PhoeniOS/release/z_tools/win32/math.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,42 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(MATH_H)) + +#define MATH_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +double sin(double); +double cos(double); +double sqrt(double); +double ldexp(double x, int n); +double frexp(double x, int *exp); + +extern __inline__ double sin(double x) +{ + double res; + __asm__ ("fsin" : "=t" (res) : "0" (x)); + return res; +} + +extern __inline__ double cos(double x) +{ + double res; + __asm__ ("fcos" : "=t" (res) : "0" (x)); + return res; +} + +extern __inline__ double sqrt(double x) +{ + double res; + __asm__ ("fsqrt" : "=t" (res) : "0" (x)); + return res; +} + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/setjmp.h =================================================================== --- PhoeniOS/release/z_tools/win32/setjmp.h (rev 0) +++ PhoeniOS/release/z_tools/win32/setjmp.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,20 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(SETJMP_H)) + +#define SETJMP_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +typedef int jmp_buf[3]; /* EBP, EIP, ESP */ + +#define setjmp(env) __builtin_setjmp(env) +#define longjmp(env, val) __builtin_longjmp(env, val) + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/stdarg.h =================================================================== --- PhoeniOS/release/z_tools/win32/stdarg.h (rev 0) +++ PhoeniOS/release/z_tools/win32/stdarg.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,21 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDARG_H)) + +#define STDARG_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#define va_start(v,l) __builtin_stdarg_start((v),l) +#define va_end __builtin_va_end +#define va_arg __builtin_va_arg +#define va_copy(d,s) __builtin_va_copy((d),(s)) +#define va_list __builtin_va_list + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/stddef.h =================================================================== --- PhoeniOS/release/z_tools/win32/stddef.h (rev 0) +++ PhoeniOS/release/z_tools/win32/stddef.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,17 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDDEF_H)) + +#define STDDEF_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +typedef unsigned int size_t; + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/stdio.h =================================================================== --- PhoeniOS/release/z_tools/win32/stdio.h (rev 0) +++ PhoeniOS/release/z_tools/win32/stdio.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,67 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDIO_H)) + +#define STDIO_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#if (!defined(NULL)) + #define NULL ((void *) 0) +#endif + +#include + +/* golibc */ +int sprintf(char *s, const char *format, ...); +int vsprintf(char *s, const char *format, va_list arg); + +/* w32clibc */ +typedef struct { + unsigned int handle; + int flags; /* bit0:text/bin, bit1:input-enabe, bit2:output-enable */ + /* bit3:EOF, bit4:ungetc-enable */ + int ungetc; +} FILE; +extern FILE __stdin, __stdout, __stderr; +#define stdin (&__stdin) +#define stdout (&__stdout) +#define stderr (&__stderr) +#define EOF -1 +#define SEEK_SET 0 +#define SEEK_CUR 1 +#define SEEK_END 2 + +unsigned int fwrite(const void *ptr, unsigned int size, unsigned int nmemb, FILE *stream); +int fputs(const char *s, FILE *stream); +int fprintf(FILE *stream, const char *format, ...); +int vfprintf(FILE *stream, const char *format, va_list arg); +int puts(const char *s); +int printf(const char *format, ...); +int vprintf(const char *format, va_list arg); +int fclose(FILE *stream); +int fflush(FILE *stream); +FILE *fopen(const char *filename, const char *mode); +unsigned int fread(void *ptr, unsigned int size, unsigned int nobj, FILE *stream); +int fseek(FILE *stream, int offset, int origin); +int ftell(FILE *stream); +int remove(const char *filename); +int fputc(int c, FILE *stream); +void clearerr(FILE *stream); +void rewind(FILE *stream); +int fgetc(FILE *stream); +int feof(FILE *stream); +#define getc fgetc +#define getchar() getc(stdin) +#define putchar(c) fputc(c, stdout) +char *fgets(char *s, int n, FILE *stream); +char *gets(char *s); +int ungetc(int c, FILE *stream); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/stdlib.h =================================================================== --- PhoeniOS/release/z_tools/win32/stdlib.h (rev 0) +++ PhoeniOS/release/z_tools/win32/stdlib.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,40 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STDLIB_H)) + +#define STDLIB_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#include /* size_t */ + +#define RAND_MAX 0x7fff +#define srand(seed) (void) (rand_seed = (seed)) + +#define EXIT_SUCCESS 0 +#define EXIT_FAILURE 1 + +int abs(int n); +double atof(const char *s); +int atoi(const char *s); +void qsort(void *base, size_t n, size_t size, + int (*cmp)(const void *, const void *)); +int rand(void); +extern unsigned int rand_seed; +double strtod(const char *s, const char **endp); +long strtol(const char *s, const char **endp, int base); +unsigned long strtoul(const char *s, const char **endp, int base); + +void *malloc(unsigned int nbytes); +void free(void *ap); +void exit(int status); +#define abort() exit(EXIT_FAILURE) +int system(const char *s); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/string.h =================================================================== --- PhoeniOS/release/z_tools/win32/string.h (rev 0) +++ PhoeniOS/release/z_tools/win32/string.h 2008-12-04 09:53:22 UTC (rev 27) @@ -0,0 +1,38 @@ +/* copyright(C) 2003 H.Kawai (under KL-01). */ + +#if (!defined(STRING_H)) + +#define STRING_H 1 + +#if (defined(__cplusplus)) + extern "C" { +#endif + +#include /* size_t */ + +char *strcpy(char *s, const char *ct); +char *strncpy(char *s, const char *ct, size_t n); +char *strcat(char *s, const char *ct); +char *strncat(char *s, const char *ct, size_t n); +int strcmp(const char *cs, const char *ct); +int strncmp(const char *cs, const char *ct, size_t n); +char *strchr(const char *cs, int c); +char *strrchr(const char *cs, int c); +size_t strspn(const char *s, const char *accept); +size_t strcspn(const char *s, const char *reject); +char *strpbrk(const char *s, const char *accept); +char *strstr(const char *cs, const char *ct); +size_t strlen(const char *cs); + +void *memcpy(void *s, const void *ct, size_t n); +void *memmove(void *s, const void *ct, size_t n); +int memcmp(const void *cs, const void *ct, size_t n); +void *memchr(const void *cs, int c, size_t n); +void *memset(void *s, int c, size_t n); +char *strdup(const char *s); + +#if (defined(__cplusplus)) + } +#endif + +#endif Added: PhoeniOS/release/z_tools/win32/w32clibc.lib =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/z_tools/win32/w32clibc.lib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:28:26 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:28:26 +0900 Subject: [PhoeniOS-SVN] [Commit] [47] release 0.1.1 Message-ID: <1229416106.285156.31121.nullmailer@users.sourceforge.jp> Revision: 47 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=47 Author: litesystems Date: 2008-12-16 17:28:26 +0900 (Tue, 16 Dec 2008) Log Message: ----------- release 0.1.1 Modified Paths: -------------- PhoeniOS/trunk/readme.txt PhoeniOS/trunk/release.txt PhoeniOS/trunk/system/Makefile PhoeniOS/trunk/system/asmhead.nas PhoeniOS/trunk/system/bootpack.cpp PhoeniOS/trunk/system/ipl.bin PhoeniOS/trunk/system/ipl.nas PhoeniOS/trunk/system/phoenios.sys Added Paths: ----------- PhoeniOS/trunk/system/bootinfo.h PhoeniOS/trunk/system/graphic.cpp PhoeniOS/trunk/system/graphic.h PhoeniOS/trunk/system/nask_io.nas PhoeniOS/trunk/system/naskfunc.h PhoeniOS/trunk/system/phoenios.h Modified: PhoeniOS/trunk/readme.txt =================================================================== --- PhoeniOS/trunk/readme.txt 2008-12-04 10:09:56 UTC (rev 46) +++ PhoeniOS/trunk/readme.txt 2008-12-16 08:28:26 UTC (rev 47) @@ -1,6 +1,6 @@ ------------------------------------------- Name: PhoeniOS - Version: 0.1.0 + Version: 0.1.1 Publisher: Lite Systems License: GNU General Public License v3 ------------------------------------------- Modified: PhoeniOS/trunk/release.txt =================================================================== --- PhoeniOS/trunk/release.txt 2008-12-04 10:09:56 UTC (rev 46) +++ PhoeniOS/trunk/release.txt 2008-12-16 08:28:26 UTC (rev 47) @@ -1,6 +1,9 @@ -------------------------- PhoeniOS Release Notes -------------------------- +2008/12/16 Version:0.1.1 +- 16?????????????6??216??????ŽÀ????? + 2008/11/29 Version:0.1.0 - 32bit??????????????? - ????????????? Modified: PhoeniOS/trunk/system/Makefile =================================================================== --- PhoeniOS/trunk/system/Makefile 2008-12-04 10:09:56 UTC (rev 46) +++ PhoeniOS/trunk/system/Makefile 2008-12-16 08:28:26 UTC (rev 47) @@ -1,4 +1,5 @@ -OBJS_BOOTPACK = bootpack.obj +OBJS_BOOTPACK = bootpack.obj graphic.obj \ + nask_io.obj TOOLPATH = ../../z_tools/ @@ -38,6 +39,9 @@ %.obj : %.cpp Makefile $(CPP) -o $*.obj $*.cpp +%.obj : %.nas Makefile + $(NASK) $*.nas $*.obj $*.lst + # ???? clean : Modified: PhoeniOS/trunk/system/asmhead.nas =================================================================== --- PhoeniOS/trunk/system/asmhead.nas 2008-12-04 10:09:56 UTC (rev 46) +++ PhoeniOS/trunk/system/asmhead.nas 2008-12-16 08:28:26 UTC (rev 47) @@ -1,7 +1,6 @@ ; --------------------------------------------------------- ; File: asmhead.nas -; Version: 1.0.0 -; Update: 2008/11/28 +; Update: 2008/12/12 ; License: GNU General Public License v3 ; Description: PhoeniOS??????????????? ; --------------------------------------------------------- Added: PhoeniOS/trunk/system/bootinfo.h =================================================================== --- PhoeniOS/trunk/system/bootinfo.h (rev 0) +++ PhoeniOS/trunk/system/bootinfo.h 2008-12-16 08:28:26 UTC (rev 47) @@ -0,0 +1,13 @@ +/* --------------------------------------------------------- */ +/* File: bootinfo.h */ +/* Update: 2008/12/09 */ +/* License: GNU General Public License v3 */ +/* Description: PhoeniOS?BOOTINFO????? */ +/* --------------------------------------------------------- */ + +#define ADR_BOOTINFO 0x00001000 +struct BOOTINFO { + char cyls, leds, vmode, reserve; + short scrnx, scrny; + char *vram; +}; Modified: PhoeniOS/trunk/system/bootpack.cpp =================================================================== --- PhoeniOS/trunk/system/bootpack.cpp 2008-12-04 10:09:56 UTC (rev 46) +++ PhoeniOS/trunk/system/bootpack.cpp 2008-12-16 08:28:26 UTC (rev 47) @@ -1,29 +1,27 @@ /* --------------------------------------------------------- */ /* File: bootpack.cpp */ -/* Version: 0.0.0 */ -/* Update: 2008/11/29 */ +/* Update: 2008/12/12 */ /* License: GNU General Public License v3 */ /* Description: PhoeniOS???? */ /* --------------------------------------------------------- */ -extern "C" -{ +#include "phoenios.h" + +using namespace Graphic; + +extern "C" { void Main(void); }; -void Main(void) -{ -/* - char *p; - int i; +void Main(void) { + struct BOOTINFO *binfo = (struct BOOTINFO *) ADR_BOOTINFO; - for (i = 0xa0000; i < 0xaffff; i++) - { - p = (char *) i; - *p = i & 0x0f; - } -*/ + Palette::Initialize(); + + Drawing::Rectangle_Fill_8(binfo->vram, binfo->scrnx, Color::RGB24To8(255, 255, 255), 0, 0, binfo->scrnx, binfo->scrny); + for (;;) { + io_hlt(); } } Added: PhoeniOS/trunk/system/graphic.cpp =================================================================== --- PhoeniOS/trunk/system/graphic.cpp (rev 0) +++ PhoeniOS/trunk/system/graphic.cpp 2008-12-16 08:28:26 UTC (rev 47) @@ -0,0 +1,89 @@ +/* --------------------------------------------------------- */ +/* File: graphic.cpp */ +/* Update: 2008/12/12 */ +/* License: GNU General Public License v3 */ +/* Description: PhoeniOS?????????? */ +/* ????????? */ +/* --------------------------------------------------------- */ + +#include "phoenios.h" + +namespace Graphic { + void Palette::Initialize(void) { + static unsigned char table_rgb[16 * 3] = { /* ??????? */ + 0x00, 0x00, 0x00, /* 0:? */ + 0xff, 0x00, 0x00, /* 1:???? */ + 0x00, 0xff, 0x00, /* 2:???? */ + 0xff, 0xff, 0x00, /* 3:????? */ + 0x00, 0x00, 0xff, /* 4:???? */ + 0xff, 0x00, 0xff, /* 5:???? */ + 0x00, 0xff, 0xff, /* 6:????? */ + 0xff, 0xff, 0xff, /* 7:? */ + 0xc6, 0xc6, 0xc6, /* 8:????? */ + 0x84, 0x00, 0x00, /* 9:??? */ + 0x00, 0x84, 0x00, /* 10:??? */ + 0x84, 0x84, 0x00, /* 11:???? */ + 0x00, 0x00, 0x84, /* 12:??? */ + 0x84, 0x00, 0x84, /* 13:??? */ + 0x00, 0x84, 0x84, /* 14:???? */ + 0x84, 0x84, 0x84 /* 15:???? */ + }; + unsigned char table_rgb_216[216 * 3]; + int r, g, b; + + Set_Palette(0, 15, table_rgb); /* ??????????????? */ + + for (r = 0; r < 6; r++) { /* 216????????*/ + for (g = 0; g < 6; g++) { + for (b = 0; b < 6; b++) { + table_rgb_216[(r * 36 + g * 6 + b) * 3 + 0] = r * 51; + table_rgb_216[(r * 36 + g * 6 + b) * 3 + 1] = g * 51; + table_rgb_216[(r * 36 + g * 6 + b) * 3 + 2] = b * 51; + } + } + } + + Set_Palette(16, 231, table_rgb_216); /* 216???????????? */ + + return; + } + + void Palette::Set_Palette(int start, int end, unsigned char *rgb) { + int eflags; + + eflags = io_load_eflags(); /* ?????????????? */ + io_cli(); /* ??????? */ + + io_out8(0x03c8, start); /* ?????????????? */ + + for (int i = start; i <= end; i++) { + io_out8(0x03c9, rgb[0] / 4); /* ?????R??? */ + io_out8(0x03c9, rgb[1] / 4); /* ?????G??? */ + io_out8(0x03c9, rgb[2] / 4); /* ?????B??? */ + rgb += 3; + } + + io_store_eflags(eflags); /* ???????????? */ + + return; + } + + void Drawing::Rectangle_Fill_8(char *vram, int xsize, unsigned char c, int x0, int y0, int x1, int y1) + { + int x, y; + + for (y = y0; y <= y1; y++) + { + for (x = x0; x <= x1; x++) + { + vram[y * xsize + x] = c; + } + } + + return; + } + + unsigned char Color::RGB24To8(unsigned char r,unsigned char g,unsigned char b) { + return ((r / 43) * 36) + ((g / 43) * 6) + (b / 43) + 16; + } +}; Added: PhoeniOS/trunk/system/graphic.h =================================================================== --- PhoeniOS/trunk/system/graphic.h (rev 0) +++ PhoeniOS/trunk/system/graphic.h 2008-12-16 08:28:26 UTC (rev 47) @@ -0,0 +1,44 @@ +/* --------------------------------------------------------- */ +/* File: graphic.h */ +/* Update: 2008/12/12 */ +/* License: GNU General Public License v3 */ +/* Description: PhoeniOS?????????? */ +/* ???????????? */ +/* --------------------------------------------------------- */ + +/* ????????? */ +#define COL8_000000 0 +#define COL8_FF0000 1 +#define COL8_00FF00 2 +#define COL8_FFFF00 3 +#define COL8_0000FF 4 +#define COL8_FF00FF 5 +#define COL8_00FFFF 6 +#define COL8_FFFFFF 7 +#define COL8_C6C6C6 8 +#define COL8_840000 9 +#define COL8_008400 10 +#define COL8_848400 11 +#define COL8_000084 12 +#define COL8_840084 13 +#define COL8_008484 14 +#define COL8_848484 15 + +/* ??? */ +namespace Graphic { + class Palette { + public: + static void Initialize(void); + static void Set_Palette(int start, int end, unsigned char *rgb); + }; + + class Drawing { + public: + static void Rectangle_Fill_8(char *vram, int xsize, unsigned char c, int x0, int y0, int x1, int y1); + }; + + class Color { + public: + static unsigned char RGB24To8(unsigned char r,unsigned char g,unsigned char b); + }; +}; Modified: PhoeniOS/trunk/system/ipl.bin =================================================================== (Binary files differ) Modified: PhoeniOS/trunk/system/ipl.nas =================================================================== --- PhoeniOS/trunk/system/ipl.nas 2008-12-04 10:09:56 UTC (rev 46) +++ PhoeniOS/trunk/system/ipl.nas 2008-12-16 08:28:26 UTC (rev 47) @@ -147,7 +147,7 @@ msg_title: DB 0x0d, 0x0a - DB " PhoeniOS IPL Version:1.0.3", 0x0d, 0x0a + DB " PhoeniOS IPL Version:1.1.0", 0x0d, 0x0a DB " Copyright (C) 2008 Lite Systems.", 0x0d, 0x0a DB " Licensed under the GNU General Public License v3.", 0x0d, 0x0a DB 0 Added: PhoeniOS/trunk/system/nask_io.nas =================================================================== --- PhoeniOS/trunk/system/nask_io.nas (rev 0) +++ PhoeniOS/trunk/system/nask_io.nas 2008-12-16 08:28:26 UTC (rev 47) @@ -0,0 +1,81 @@ +; --------------------------------------------------------- +; File: nask_io.nas +; Update: 2008/12/08 +; License: GNU General Public License v3 +; Description: PhoeniOS?IO???NASK????? +; --------------------------------------------------------- + +[FORMAT "WCOFF"] +[INSTRSET "i486p"] +[BITS 32] +[FILE "nask_io.nas"] + + GLOBAL _io_hlt, _io_cli, _io_sti, _io_stihlt + GLOBAL _io_in8, _io_in16, io_in32 + GLOBAL _io_out8, _io_out16, _io_out32 + GLOBAL _io_load_eflags, _io_store_eflags + +[SECTION .text] + +_io_hlt: ; void io_hlt(void); + HLT + RET + +_io_cli: ; void io_cli(void); + CLI + RET + +_io_sti: ; void io_sti(void); + STI + RET + +_io_stihlt: ; void io_stihlt(void); + STI + HLT + RET + +_io_in8: ; void io_in8(int port); + MOV EDX,[ESP+4] ; port + MOV EAX,0 + IN AL,DX + RET + +_io_in16: ; void io_in16(int port); + MOV EDX,[ESP+4] ; port + MOV EAX,0 + IN AX,DX + RET + +_io_in32: ; void io_in32(int port); + MOV EDX,[ESP+4] ; port + IN EAX,DX + RET + +_io_out8: ; void io_out8(int port, int data); + MOV EDX,[ESP+4] ; port + MOV AL,[ESP+8] ; data + OUT DX,AL + RET + +_io_out16: ; void io_out16(int port, int data); + MOV EDX,[ESP+4] ; port + MOV AX,[ESP+8] ; data + OUT DX,AX + RET + +_io_out32: ; void io_out32(int port, int data); + MOV EDX,[ESP+4] ; port + MOV EAX,[ESP+8] ; data + OUT DX,EAX + RET + +_io_load_eflags: ; void io_load_eflags(void); + PUSHFD + POP EAX + RET + +_io_store_eflags: ; void io_store_eflags(int eflags); + MOV EAX,[ESP+4] + PUSH EAX + POPFD + RET Added: PhoeniOS/trunk/system/naskfunc.h =================================================================== --- PhoeniOS/trunk/system/naskfunc.h (rev 0) +++ PhoeniOS/trunk/system/naskfunc.h 2008-12-16 08:28:26 UTC (rev 47) @@ -0,0 +1,22 @@ +/* --------------------------------------------------------- */ +/* File: naskfunc.h */ +/* Update: 2008/12/09 */ +/* License: GNU General Public License v3 */ +/* Description: nask???????? */ +/* --------------------------------------------------------- */ + +/* nask_io.nas */ +extern "C" { + void io_hlt(void); + void io_cli(void); + void io_sti(void); + void io_stihlt(void); + int io_in8(int port); + int io_in16(int port); + int io_in32(int port); + void io_out8(int port, int data); + void io_out16(int port, int data); + void io_out32(int port, int data); + int io_load_eflags(void); + void io_store_eflags(int eflags); +}; Added: PhoeniOS/trunk/system/phoenios.h =================================================================== --- PhoeniOS/trunk/system/phoenios.h (rev 0) +++ PhoeniOS/trunk/system/phoenios.h 2008-12-16 08:28:26 UTC (rev 47) @@ -0,0 +1,13 @@ +/* --------------------------------------------------------- */ +/* File: phoenios.h */ +/* Update: 2008/12/09 */ +/* License: GNU General Public License v3 */ +/* Description: PhoeniOS???????????? */ +/* --------------------------------------------------------- */ + +/* C,C++ */ +#include "bootinfo.h" +#include "graphic.h" + +/* NASK */ +#include "naskfunc.h" Modified: PhoeniOS/trunk/system/phoenios.sys =================================================================== (Binary files differ) From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:35:31 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:35:31 +0900 Subject: [PhoeniOS-SVN] [Commit] [48] Message-ID: <1229416531.423260.7419.nullmailer@users.sourceforge.jp> Revision: 48 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=48 Author: litesystems Date: 2008-12-16 17:35:31 +0900 (Tue, 16 Dec 2008) Log Message: ----------- Added Paths: ----------- PhoeniOS/release/0.1.1/ From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:35:57 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:35:57 +0900 Subject: [PhoeniOS-SVN] =?utf-8?q?=5BCommit=5D_=5B49=5D__Import_release_of?= =?utf-8?b?IO+9nu+9nu+9ng==?= Message-ID: <1229416557.273862.7602.nullmailer@users.sourceforge.jp> Revision: 49 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=49 Author: litesystems Date: 2008-12-16 17:35:57 +0900 (Tue, 16 Dec 2008) Log Message: ----------- Import release of ??? Added Paths: ----------- PhoeniOS/release/???/ PhoeniOS/release/???/PhoeniOS_0_1_1.lzh PhoeniOS/release/???/PhoeniOS_0_1_1.tar.gz PhoeniOS/release/???/PhoeniOS_0_1_1.zip Added: PhoeniOS/release/???/PhoeniOS_0_1_1.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/???/PhoeniOS_0_1_1.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/???/PhoeniOS_0_1_1.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/???/PhoeniOS_0_1_1.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/???/PhoeniOS_0_1_1.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/???/PhoeniOS_0_1_1.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:37:48 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:37:48 +0900 Subject: [PhoeniOS-SVN] [Commit] [50] Message-ID: <1229416668.935586.9126.nullmailer@users.sourceforge.jp> Revision: 50 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=50 Author: litesystems Date: 2008-12-16 17:37:48 +0900 (Tue, 16 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/release/???/ From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:38:13 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:38:13 +0900 Subject: [PhoeniOS-SVN] [Commit] [51] Import release of 0.1.1 Message-ID: <1229416693.801934.10119.nullmailer@users.sourceforge.jp> Revision: 51 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=51 Author: litesystems Date: 2008-12-16 17:38:13 +0900 (Tue, 16 Dec 2008) Log Message: ----------- Import release of 0.1.1 Added Paths: ----------- PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.lzh PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.tar.gz PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.zip Added: PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.1/PhoeniOS_0_1_1.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:43:33 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:43:33 +0900 Subject: [PhoeniOS-SVN] [Commit] [52] Tagging the 0.1.1 release. Message-ID: <1229417013.269786.14335.nullmailer@users.sourceforge.jp> Revision: 52 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=52 Author: litesystems Date: 2008-12-16 17:43:33 +0900 (Tue, 16 Dec 2008) Log Message: ----------- Tagging the 0.1.1 release. Added Paths: ----------- PhoeniOS/tags/00.1.1/ Copied: PhoeniOS/tags/00.1.1 (from rev 51, PhoeniOS/trunk) From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:46:25 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:46:25 +0900 Subject: [PhoeniOS-SVN] [Commit] [53] Message-ID: <1229417185.140114.17918.nullmailer@users.sourceforge.jp> Revision: 53 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=53 Author: litesystems Date: 2008-12-16 17:46:25 +0900 (Tue, 16 Dec 2008) Log Message: ----------- Removed Paths: ------------- PhoeniOS/tags/00.1.1/ From svnnotify ¡÷ sourceforge.jp Tue Dec 16 17:46:37 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Tue, 16 Dec 2008 17:46:37 +0900 Subject: [PhoeniOS-SVN] [Commit] [54] Tagging the 0.1.1 release. Message-ID: <1229417197.210026.17993.nullmailer@users.sourceforge.jp> Revision: 54 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=54 Author: litesystems Date: 2008-12-16 17:46:37 +0900 (Tue, 16 Dec 2008) Log Message: ----------- Tagging the 0.1.1 release. Added Paths: ----------- PhoeniOS/tags/0.1.1/ Copied: PhoeniOS/tags/0.1.1 (from rev 53, PhoeniOS/trunk) From svnnotify ¡÷ sourceforge.jp Fri Dec 19 18:55:37 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Fri, 19 Dec 2008 18:55:37 +0900 Subject: [PhoeniOS-SVN] [Commit] [56] Make dir of release 0.1.2 Message-ID: <1229680537.196496.17398.nullmailer@users.sourceforge.jp> Revision: 56 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=56 Author: litesystems Date: 2008-12-19 18:55:37 +0900 (Fri, 19 Dec 2008) Log Message: ----------- Make dir of release 0.1.2 Added Paths: ----------- PhoeniOS/release/0.1.2/ -------------- next part -------------- From svnnotify ¡÷ sourceforge.jp Fri Dec 19 18:56:13 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Fri, 19 Dec 2008 18:56:13 +0900 Subject: [PhoeniOS-SVN] [Commit] [57] Import release of 0.1.2 Message-ID: <1229680573.953590.18408.nullmailer@users.sourceforge.jp> Revision: 57 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=57 Author: litesystems Date: 2008-12-19 18:56:13 +0900 (Fri, 19 Dec 2008) Log Message: ----------- Import release of 0.1.2 Added Paths: ----------- PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.lzh PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.tar.gz PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.zip -------------- next part -------------- Added: PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.lzh =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.lzh ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.tar.gz =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.tar.gz ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.zip =================================================================== (Binary files differ) Property changes on: PhoeniOS/release/0.1.2/PhoeniOS_0_1_2.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream From svnnotify ¡÷ sourceforge.jp Fri Dec 19 18:57:53 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Fri, 19 Dec 2008 18:57:53 +0900 Subject: [PhoeniOS-SVN] [Commit] [58] Tagging the 0.1.2 release. Message-ID: <1229680673.595310.19096.nullmailer@users.sourceforge.jp> Revision: 58 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=58 Author: litesystems Date: 2008-12-19 18:57:53 +0900 (Fri, 19 Dec 2008) Log Message: ----------- Tagging the 0.1.2 release. Added Paths: ----------- PhoeniOS/tags/0.1.2/ -------------- next part -------------- Copied: PhoeniOS/tags/0.1.2 (from rev 57, PhoeniOS/trunk) From svnnotify ¡÷ sourceforge.jp Fri Dec 19 18:48:02 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Fri, 19 Dec 2008 18:48:02 +0900 Subject: [PhoeniOS-SVN] [Commit] [55] Release 0.1.2 Message-ID: <1229680082.468146.10697.nullmailer@users.sourceforge.jp> Revision: 55 http://svn.sourceforge.jp/view?root=phoenios&view=rev&rev=55 Author: litesystems Date: 2008-12-19 18:48:02 +0900 (Fri, 19 Dec 2008) Log Message: ----------- Release 0.1.2 Modified Paths: -------------- PhoeniOS/trunk/readme.txt PhoeniOS/trunk/release.txt PhoeniOS/trunk/system/Makefile PhoeniOS/trunk/system/bootinfo.h PhoeniOS/trunk/system/bootpack.cpp PhoeniOS/trunk/system/graphic.cpp PhoeniOS/trunk/system/graphic.h PhoeniOS/trunk/system/ipl.nas PhoeniOS/trunk/system/phoenios.sys Added Paths: ----------- PhoeniOS/trunk/system/bootinfo.cpp PhoeniOS/trunk/system/hankaku.txt -------------- next part -------------- Modified: PhoeniOS/trunk/readme.txt =================================================================== --- PhoeniOS/trunk/readme.txt 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/readme.txt 2008-12-19 09:48:02 UTC (rev 55) @@ -1,6 +1,6 @@ ------------------------------------------- Name: PhoeniOS - Version: 0.1.1 + Version: 0.1.2 Publisher: Lite Systems License: GNU General Public License v3 ------------------------------------------- @@ -8,4 +8,4 @@ 1,????? PhoeniOS??????? GNU General Public License v3 ??? -?????????GPL.txt???GPL.html???????? \ No newline at end of file +?????????GPL.txt???GPL.html???????? Modified: PhoeniOS/trunk/release.txt =================================================================== --- PhoeniOS/trunk/release.txt 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/release.txt 2008-12-19 09:48:02 UTC (rev 55) @@ -1,6 +1,9 @@ -------------------------- PhoeniOS Release Notes -------------------------- +2008/12/19 Version:0.1.2 +- ????????????ŽÀ????? + 2008/12/16 Version:0.1.1 - 16?????????????6??216??????ŽÀ????? Modified: PhoeniOS/trunk/system/Makefile =================================================================== --- PhoeniOS/trunk/system/Makefile 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/system/Makefile 2008-12-19 09:48:02 UTC (rev 55) @@ -1,4 +1,5 @@ -OBJS_BOOTPACK = bootpack.obj graphic.obj \ +OBJS_BOOTPACK = bootpack.obj bootinfo.obj graphic.obj \ + hankaku.obj \ nask_io.obj TOOLPATH = ../../z_tools/ @@ -7,6 +8,8 @@ NASK = $(TOOLPATH)nask.exe CPP = $(TOOLPATH)c++.exe -I../../z_tools/haribote -Os -Wall -nostdlib -fno-builtin -fno-exceptions -fno-rtti -B$(TOOLPATH) -c OBJ2BIM = $(TOOLPATH)obj2bim.exe +MAKEFONT = $(TOOLPATH)makefont.exe +BIN2OBJ = $(TOOLPATH)bin2obj.exe BIM2HRB = $(TOOLPATH)bim2hrb.exe RULEFILE = ../phoenios.rul DEL = del @@ -25,6 +28,12 @@ asmhead.bin : asmhead.nas Makefile $(NASK) asmhead.nas asmhead.bin asmhead.lst +hankaku.bin : hankaku.txt Makefile + $(MAKEFONT) hankaku.txt hankaku.bin + +hankaku.obj : hankaku.bin Makefile + $(BIN2OBJ) hankaku.bin hankaku.obj _hankaku + bootpack.bim : $(OBJS_BOOTPACK) Makefile $(OBJ2BIM) @$(RULEFILE) out:bootpack.bim stack:3136k map:bootpack.map $(OBJS_BOOTPACK) @@ -46,6 +55,7 @@ clean : -$(DEL) asmhead.bin + -$(DEL) hankaku.bin -$(DEL) *.lst -$(DEL) *.obj -$(DEL) *.map Added: PhoeniOS/trunk/system/bootinfo.cpp =================================================================== --- PhoeniOS/trunk/system/bootinfo.cpp (rev 0) +++ PhoeniOS/trunk/system/bootinfo.cpp 2008-12-19 09:48:02 UTC (rev 55) @@ -0,0 +1,41 @@ +/* --------------------------------------------------------- */ +/* File: bootinfo.cpp */ +/* Update: 2008/12/19 */ +/* License: GNU General Public License v3 */ +/* Description: BootInfo?????? */ +/* --------------------------------------------------------- */ + +#include "phoenios.h" + +#define ADR_BOOTINFO 0x00001000 + +char System::Information::BootInfo::cyls = 0; +char System::Information::BootInfo::leds = 0; +char System::Information::BootInfo::vmode = 0; +char System::Information::BootInfo::reserve = 0; +short System::Information::BootInfo::scrnx = 0; +short System::Information::BootInfo::scrny = 0; +char *System::Information::BootInfo::vram = 0; + +namespace System { +namespace Information { + void BootInfo::Initialize(void) { + cyls = *((char *) (ADR_BOOTINFO + 0x00000000)); + leds = *((char *) (ADR_BOOTINFO + 0x00000001)); + vmode = *((char *) (ADR_BOOTINFO + 0x00000002)); + reserve = *((char *) (ADR_BOOTINFO + 0x00000003)); + scrnx = *((short *)(ADR_BOOTINFO + 0x00000004)); + scrny = *((short *)(ADR_BOOTINFO + 0x00000006)); + vram = (char *) *((int *)(ADR_BOOTINFO + 0x00000008)); + + return; + } + +// char BootInfo::Get_Cyls(void) { return cyls; } +// char BootInfo::Get_Leds(void) { return leds; } +// char BootInfo::Get_VMode(void) { return vmode; } +// short BootInfo::Get_ScrnX(void) { return scrnx; } +// short BootInfo::Get_ScrnY(void) { return scrny; } +// char *BootInfo::Get_VRAM(void) { return vram; } +}; +}; Modified: PhoeniOS/trunk/system/bootinfo.h =================================================================== --- PhoeniOS/trunk/system/bootinfo.h 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/system/bootinfo.h 2008-12-19 09:48:02 UTC (rev 55) @@ -1,13 +1,30 @@ /* --------------------------------------------------------- */ /* File: bootinfo.h */ -/* Update: 2008/12/09 */ +/* Update: 2008/12/19 */ /* License: GNU General Public License v3 */ -/* Description: PhoeniOS?BOOTINFO????? */ +/* Description: BootInfo????? */ /* --------------------------------------------------------- */ #define ADR_BOOTINFO 0x00001000 -struct BOOTINFO { - char cyls, leds, vmode, reserve; - short scrnx, scrny; - char *vram; + +namespace System { +namespace Information { + class BootInfo { + public: + static void Initialize(void); +// static char Get_Cyls(void); +// static char Get_Leds(void); +// static char Get_VMode(void); +// static short Get_ScrnX(void); +// static short Get_ScrnY(void); +// static char *Get_VRAM(void); + static char cyls; + static char leds; + static char vmode; + static char reserve; + static short scrnx; + static short scrny; + static char *vram; + }; }; +}; Modified: PhoeniOS/trunk/system/bootpack.cpp =================================================================== --- PhoeniOS/trunk/system/bootpack.cpp 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/system/bootpack.cpp 2008-12-19 09:48:02 UTC (rev 55) @@ -1,25 +1,24 @@ /* --------------------------------------------------------- */ /* File: bootpack.cpp */ -/* Update: 2008/12/12 */ +/* Update: 2008/12/18 */ /* License: GNU General Public License v3 */ /* Description: PhoeniOS???? */ /* --------------------------------------------------------- */ #include "phoenios.h" -using namespace Graphic; +using namespace System::Graphic; +using namespace System::Information; extern "C" { void Main(void); }; void Main(void) { - struct BOOTINFO *binfo = (struct BOOTINFO *) ADR_BOOTINFO; + BootInfo::Initialize(); /* BootInfo???*/ + Palette::Initialize(); /* ???????*/ + Background::Draw(); /* ???? */ - Palette::Initialize(); - - Drawing::Rectangle_Fill_8(binfo->vram, binfo->scrnx, Color::RGB24To8(255, 255, 255), 0, 0, binfo->scrnx, binfo->scrny); - for (;;) { io_hlt(); Modified: PhoeniOS/trunk/system/graphic.cpp =================================================================== --- PhoeniOS/trunk/system/graphic.cpp 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/system/graphic.cpp 2008-12-19 09:48:02 UTC (rev 55) @@ -1,13 +1,17 @@ /* --------------------------------------------------------- */ /* File: graphic.cpp */ -/* Update: 2008/12/12 */ +/* Update: 2008/12/18 */ /* License: GNU General Public License v3 */ /* Description: PhoeniOS?????????? */ /* ????????? */ /* --------------------------------------------------------- */ +#include #include "phoenios.h" +using namespace System::Information; + +namespace System { namespace Graphic { void Palette::Initialize(void) { static unsigned char table_rgb[16 * 3] = { /* ??????? */ @@ -86,4 +90,43 @@ unsigned char Color::RGB24To8(unsigned char r,unsigned char g,unsigned char b) { return ((r / 43) * 36) + ((g / 43) * 6) + (b / 43) + 16; } + + void Drawing::Put_Font(char *vram, int xsize, int x, int y, char c, char *font) { + int i; + char *p, d; + + for (i = 0; i < 16; i++) { + p = vram + (y + i) * xsize + x; + d = font[i]; + + if ((d & 0x80) != 0) { p[0] = c; } + if ((d & 0x40) != 0) { p[1] = c; } + if ((d & 0x20) != 0) { p[2] = c; } + if ((d & 0x10) != 0) { p[3] = c; } + if ((d & 0x08) != 0) { p[4] = c; } + if ((d & 0x04) != 0) { p[5] = c; } + if ((d & 0x02) != 0) { p[6] = c; } + if ((d & 0x01) != 0) { p[7] = c; } + } + + return; + } + + void Drawing::Put_Fonts(char *vram, int xsize, int x, int y, char c, unsigned char *s) { + for (; *s != 0x00; s++) { + Put_Font(vram, xsize, x, y, c, hankaku + *s * 16); + x += 8; + } + } + + void Background::Draw(void) { + char *s = ""; + + Drawing::Rectangle_Fill_8(BootInfo::vram, BootInfo::scrnx, Color::RGB24To8(0, 64, 128), 0, 0, BootInfo::scrnx, BootInfo::scrny); + Drawing::Put_Fonts(BootInfo::vram, BootInfo::scrnx, 8, 8, Color::RGB24To8(255, 255, 255), (unsigned char *) "PhoeniOS"); + + sprintf(s, "BootInfo : scrnx=%d, scrny=%d", BootInfo::scrnx, BootInfo::scrny); + Drawing::Put_Fonts(BootInfo::vram, BootInfo::scrnx, 8, 32, Color::RGB24To8(255, 255, 255), (unsigned char *) s); + } }; +}; Modified: PhoeniOS/trunk/system/graphic.h =================================================================== --- PhoeniOS/trunk/system/graphic.h 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/system/graphic.h 2008-12-19 09:48:02 UTC (rev 55) @@ -1,6 +1,6 @@ /* --------------------------------------------------------- */ /* File: graphic.h */ -/* Update: 2008/12/12 */ +/* Update: 2008/12/17 */ /* License: GNU General Public License v3 */ /* Description: PhoeniOS?????????? */ /* ???????????? */ @@ -24,21 +24,34 @@ #define COL8_008484 14 #define COL8_848484 15 +extern "C" { + extern char hankaku[4096]; +} + /* ??? */ +namespace System { namespace Graphic { - class Palette { + class Background { public: - static void Initialize(void); - static void Set_Palette(int start, int end, unsigned char *rgb); + static void Draw(void); }; + class Color { + public: + static unsigned char RGB24To8(unsigned char r,unsigned char g,unsigned char b); + }; + class Drawing { public: static void Rectangle_Fill_8(char *vram, int xsize, unsigned char c, int x0, int y0, int x1, int y1); + static void Put_Font(char *vram, int xsize, int x, int y, char c, char *font); + static void Put_Fonts(char *vram, int xsize, int x, int y, char c, unsigned char *s); }; - class Color { + class Palette { public: - static unsigned char RGB24To8(unsigned char r,unsigned char g,unsigned char b); + static void Initialize(void); + static void Set_Palette(int start, int end, unsigned char *rgb); }; }; +}; Added: PhoeniOS/trunk/system/hankaku.txt =================================================================== --- PhoeniOS/trunk/system/hankaku.txt (rev 0) +++ PhoeniOS/trunk/system/hankaku.txt 2008-12-19 09:48:02 UTC (rev 55) @@ -0,0 +1,4607 @@ +char 0x00 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0x01 +........ +........ +..***... +.*...*.. +*.....*. +*.*.*.*. +*.*.*.*. +*.....*. +*.....*. +*.*.*.*. +*..*..*. +.*...*.. +..***... +........ +........ +........ + +char 0x02 +........ +........ +..***... +.*****.. +*******. +**.*.**. +**.*.**. +*******. +*******. +**.*.**. +***.***. +.*****.. +..***... +........ +........ +........ + +char 0x03 +........ +........ +........ +........ +.**.**.. +*******. +*******. +*******. +.*****.. +..***... +...*.... +........ +........ +........ +........ +........ + +char 0x04 +........ +........ +........ +........ +...*.... +..***... +.*****.. +*******. +.*****.. +..***... +...*.... +........ +........ +........ +........ +........ + +char 0x05 +........ +........ +........ +........ +...*.... +..***... +.*.*.*.. +*******. +.*.*.*.. +...*.... +..***... +........ +........ +........ +........ +........ + +char 0x06 +........ +........ +........ +........ +...*.... +..***... +.*****.. +*******. +**.*.**. +...*.... +..***... +........ +........ +........ +........ +........ + +char 0x07 +........ +........ +........ +........ +........ +........ +...**... +..****.. +..****.. +...**... +........ +........ +........ +........ +........ +........ + +char 0x08 +******** +******** +******** +******** +******** +******** +***..*** +**....** +**....** +***..*** +******** +******** +******** +******** +******** +******** + +char 0x09 +........ +........ +........ +........ +........ +..****.. +.**..**. +.*....*. +.*....*. +.**..**. +..****.. +........ +........ +........ +........ +........ + +char 0x0a +******** +******** +******** +******** +******** +**....** +*..**..* +*.****.* +*.****.* +*..**..* +**....** +******** +******** +******** +******** +******** + +char 0x0b +........ +...*.... +..***... +.*.*.*.. +*..*..*. +...*.... +...*.... +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x0c +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +...*.... +...*.... +*******. +...*.... +...*.... +...*.... +........ +........ + +char 0x0d +........ +........ +....**.. +....***. +....*.** +....*.** +....*.*. +....*... +....*... +...**... +.****... +*****... +.***.... +........ +........ +........ + +char 0x0e +........ +........ +...***** +...***** +...*...* +...*...* +...*...* +...*...* +...*...* +...*...* +.***.*** +******** +.**..**. +........ +........ +........ + +char 0x0f +........ +........ +........ +........ +...*.... +.*.*.*.. +..***... +..*.*... +..***... +.*.*.*.. +...*.... +........ +........ +........ +........ +........ + +char 0x10 +........ +*....... +**...... +***..... +****.... +*****... +******.. +*******. +******.. +*****... +****.... +***..... +**...... +*....... +........ +........ + +char 0x11 +........ +......*. +.....**. +....***. +...****. +..*****. +.******. +*******. +.******. +..*****. +...****. +....***. +.....**. +......*. +........ +........ + +char 0x12 +........ +........ +...*.... +..***... +.*.*.*.. +*..*..*. +...*.... +...*.... +...*.... +*..*..*. +.*.*.*.. +..***... +...*.... +........ +........ +........ + +char 0x13 +........ +........ +.*...*.. +.*...*.. +.*...*.. +.*...*.. +.*...*.. +.*...*.. +.*...*.. +.*...*.. +........ +........ +.*...*.. +.*...*.. +........ +........ + +char 0x14 +........ +..*****. +.*..*.*. +*...*.*. +*...*.*. +*...*.*. +*...*.*. +.*..*.*. +..***.*. +....*.*. +....*.*. +....*.*. +....*.*. +....*.*. +........ +........ + +char 0x15 +.*****.. +*.....*. +.*...... +..*..... +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +....*... +.....*.. +*.....*. +.*****.. +........ + +char 0x16 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +*******. +*******. +*******. +........ +........ + +char 0x17 +........ +........ +...*.... +..***... +.*.*.*.. +*..*..*. +...*.... +...*.... +...*.... +*..*..*. +.*.*.*.. +..***... +...*.... +.*****.. +........ +........ + +char 0x18 +........ +...*.... +..***... +.*.*.*.. +*..*..*. +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +........ +........ + +char 0x19 +........ +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +*..*..*. +.*.*.*.. +..***... +...*.... +........ +........ + +char 0x1a +........ +........ +........ +........ +...*.... +....*... +.....*.. +*******. +.....*.. +....*... +...*.... +........ +........ +........ +........ +........ + +char 0x1b +........ +........ +........ +........ +...*.... +..*..... +.*...... +*******. +.*...... +..*..... +...*.... +........ +........ +........ +........ +........ + +char 0x1c +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +*....... +*....... +*******. +........ +........ + +char 0x1d +........ +........ +........ +........ +........ +..*.*... +.*...*.. +*******. +.*...*.. +..*.*... +........ +........ +........ +........ +........ +........ + +char 0x1e +........ +........ +........ +........ +...*.... +...*.... +..***... +..***... +.*****.. +.*****.. +*******. +*******. +........ +........ +........ +........ + +char 0x1f +........ +........ +........ +........ +*******. +*******. +.*****.. +.*****.. +..***... +..***... +...*.... +...*.... +........ +........ +........ +........ + +char 0x20 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0x21 +........ +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +........ +........ +...*.... +...*.... +........ +........ + +char 0x22 +..*.*... +..*.*... +..*.*... +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0x23 +........ +.*...*.. +.*...*.. +.*...*.. +*******. +.*...*.. +.*...*.. +.*...*.. +.*...*.. +.*...*.. +*******. +.*...*.. +.*...*.. +.*...*.. +........ +........ + +char 0x24 +...*.... +..***.*. +.*.*.**. +*..*..*. +*..*..*. +*..*.... +.*.*.... +..***... +...*.*.. +...*..*. +*..*..*. +*..*..*. +**.*.*.. +*.***... +...*.... +...*.... + +char 0x25 +.**...*. +*..*..*. +*..*.*.. +*..*.*.. +.**.*... +....*... +...*.... +...*.... +..*..... +..*.**.. +.*.*..*. +.*.*..*. +*..*..*. +*...**.. +........ +........ + +char 0x26 +........ +.***.... +*...*... +*...*... +*...*... +*..*.... +.**..... +.*...*** +*.*...*. +*..*..*. +*...*.*. +*....*.. +.*...**. +..***..* +........ +........ + +char 0x27 +.....*.. +....*... +...*.... +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0x28 +......*. +.....*.. +....*... +....*... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +....*... +....*... +.....*.. +......*. +........ + +char 0x29 +*....... +.*...... +..*..... +..*..... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +..*..... +..*..... +.*...... +*....... +........ + +char 0x2a +........ +........ +........ +........ +........ +...*.... +*..*..*. +.*.*.*.. +..***... +.*.*.*.. +*..*..*. +...*.... +........ +........ +........ +........ + +char 0x2b +........ +........ +........ +........ +........ +...*.... +...*.... +...*.... +*******. +...*.... +...*.... +...*.... +........ +........ +........ +........ + +char 0x2c +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +...**... +...**... +....*... +....*... +...*.... + +char 0x2d +........ +........ +........ +........ +........ +........ +........ +........ +*******. +........ +........ +........ +........ +........ +........ +........ + +char 0x2e +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +...**... +...**... +........ +........ + +char 0x2f +......*. +......*. +.....*.. +.....*.. +....*... +....*... +....*... +...*.... +...*.... +..*..... +..*..... +.*...... +.*...... +.*...... +*....... +*....... + +char 0x30 +........ +...**... +..*..*.. +..*..*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +..*..*.. +..*..*.. +...**... +........ +........ + +char 0x31 +........ +....*... +...**... +..*.*... +....*... +....*... +....*... +....*... +....*... +....*... +....*... +....*... +....*... +..*****. +........ +........ + +char 0x32 +........ +...**... +..*..*.. +.*....*. +.*....*. +......*. +.....*.. +....*... +...*.... +..*..... +..*..... +.*...... +.*...... +.******. +........ +........ + +char 0x33 +........ +...**... +..*..*.. +.*....*. +......*. +......*. +.....*.. +...**... +.....*.. +......*. +......*. +.*....*. +..*..*.. +...**... +........ +........ + +char 0x34 +........ +....**.. +....**.. +....**.. +...*.*.. +...*.*.. +...*.*.. +..*..*.. +..*..*.. +.*...*.. +.******. +.....*.. +.....*.. +...****. +........ +........ + +char 0x35 +........ +.*****.. +.*...... +.*...... +.*...... +.*.**... +.**..*.. +......*. +......*. +......*. +......*. +.*....*. +..*..*.. +...**... +........ +........ + +char 0x36 +........ +...**... +..*..*.. +.*....*. +.*...... +.*.**... +.**..*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +..*..*.. +...**... +........ +........ + +char 0x37 +........ +.******. +.*....*. +.*....*. +.....*.. +.....*.. +....*... +....*... +....*... +...*.... +...*.... +...*.... +...*.... +..***... +........ +........ + +char 0x38 +........ +...**... +..*..*.. +.*....*. +.*....*. +.*....*. +..*..*.. +...**... +..*..*.. +.*....*. +.*....*. +.*....*. +..*..*.. +...**... +........ +........ + +char 0x39 +........ +...**... +..*..*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +..*..**. +...**.*. +......*. +.*....*. +..*..*.. +...**... +........ +........ + +char 0x3a +........ +........ +........ +........ +........ +...**... +...**... +........ +........ +........ +........ +........ +...**... +...**... +........ +........ + +char 0x3b +........ +........ +........ +........ +........ +...**... +...**... +........ +........ +........ +........ +...**... +...**... +....*... +....*... +...*.... + +char 0x3c +........ +......*. +.....*.. +....*... +...*.... +..*..... +.*...... +*....... +*....... +.*...... +..*..... +...*.... +....*... +.....*.. +......*. +........ + +char 0x3d +........ +........ +........ +........ +........ +........ +*******. +........ +........ +*******. +........ +........ +........ +........ +........ +........ + +char 0x3e +........ +*....... +.*...... +..*..... +...*.... +....*... +.....*.. +......*. +......*. +.....*.. +....*... +...*.... +..*..... +.*...... +*....... +........ + +char 0x3f +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +.....*.. +....*... +...*.... +...*.... +........ +........ +...**... +...**... +........ +........ + +char 0x40 +........ +..***... +.*...*.. +*.....*. +*..**.*. +*.*.*.*. +*.*.*.*. +*.*.*.*. +*.*.*.*. +*.*.*.*. +*..***.. +*....... +.*...**. +..***... +........ +........ + +char 0x41 +........ +...**... +...**... +...**... +...**... +..*..*.. +..*..*.. +..*..*.. +..*..*.. +.******. +.*....*. +.*....*. +.*....*. +***..*** +........ +........ + +char 0x42 +........ +****.... +.*..*... +.*...*.. +.*...*.. +.*...*.. +.*..*... +.****... +.*...*.. +.*....*. +.*....*. +.*....*. +.*...*.. +*****... +........ +........ + +char 0x43 +........ +..***.*. +.*...**. +.*....*. +*.....*. +*....... +*....... +*....... +*....... +*....... +*.....*. +.*....*. +.*...*.. +..***... +........ +........ + +char 0x44 +........ +*****... +.*...*.. +.*...*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*...*.. +.*...*.. +*****... +........ +........ + +char 0x45 +........ +*******. +.*....*. +.*....*. +.*...... +.*...... +.*...*.. +.*****.. +.*...*.. +.*...... +.*...... +.*....*. +.*....*. +*******. +........ +........ + +char 0x46 +........ +*******. +.*....*. +.*....*. +.*...... +.*...... +.*...*.. +.*****.. +.*...*.. +.*...*.. +.*...... +.*...... +.*...... +****.... +........ +........ + +char 0x47 +........ +..***.*. +.*...**. +.*....*. +*.....*. +*....... +*....... +*..****. +*.....*. +*.....*. +*.....*. +.*....*. +.*...**. +..***... +........ +........ + +char 0x48 +........ +***..*** +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.******. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +***..*** +........ +........ + +char 0x49 +........ +.*****.. +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +.*****.. +........ +........ + +char 0x4a +........ +...***** +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +*....*.. +.*..*... +..**.... +........ + +char 0x4b +........ +***..*** +.*....*. +.*...*.. +.*..*... +.*.*.... +.*.*.... +.**..... +.*.*.... +.*.*.... +.*..*... +.*...*.. +.*....*. +***..*** +........ +........ + +char 0x4c +........ +****.... +.*...... +.*...... +.*...... +.*...... +.*...... +.*...... +.*...... +.*...... +.*...... +.*....*. +.*....*. +*******. +........ +........ + +char 0x4d +........ +**....** +.*....*. +.**..**. +.**..**. +.**..**. +.*.**.*. +.*.**.*. +.*.**.*. +.*....*. +.*....*. +.*....*. +.*....*. +***..*** +........ +........ + +char 0x4e +........ +**...*** +.*....*. +.**...*. +.**...*. +.*.*..*. +.*.*..*. +.*.*..*. +.*..*.*. +.*..*.*. +.*..*.*. +.*...**. +.*...**. +***...*. +........ +........ + +char 0x4f +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x50 +........ +*****... +.*...*.. +.*....*. +.*....*. +.*....*. +.*...*.. +.****... +.*...... +.*...... +.*...... +.*...... +.*...... +****.... +........ +........ + +char 0x51 +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*..*..*. +*...*.*. +.*...*.. +..***.*. +........ +........ + +char 0x52 +........ +******.. +.*....*. +.*....*. +.*....*. +.*....*. +.*****.. +.*...*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +***..*** +........ +........ + +char 0x53 +........ +..***.*. +.*...**. +*.....*. +*.....*. +*....... +.*...... +..***... +.....*.. +......*. +*.....*. +*.....*. +**...*.. +*.***... +........ +........ + +char 0x54 +........ +*******. +*..*..*. +*..*..*. +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +.*****.. +........ +........ + +char 0x55 +........ +***..*** +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +..*..*.. +..****.. +........ +........ + +char 0x56 +........ +***..*** +.*....*. +.*....*. +.*....*. +.*....*. +..*..*.. +..*..*.. +..*..*.. +..*..*.. +...**... +...**... +...**... +...**... +........ +........ + +char 0x57 +........ +***..*** +.*....*. +.*....*. +.*....*. +.*.**.*. +.*.**.*. +.*.**.*. +.*.**.*. +..*..*.. +..*..*.. +..*..*.. +..*..*.. +..*..*.. +........ +........ + +char 0x58 +........ +***..*** +.*....*. +.*....*. +..*..*.. +..*..*.. +..*..*.. +...**... +..*..*.. +..*..*.. +..*..*.. +.*....*. +.*....*. +***..*** +........ +........ + +char 0x59 +........ +***.***. +.*...*.. +.*...*.. +.*...*.. +..*.*... +..*.*... +..*.*... +...*.... +...*.... +...*.... +...*.... +...*.... +.*****.. +........ +........ + +char 0x5a +........ +*******. +*....*.. +*....*.. +....*... +....*... +...*.... +...*.... +..*..... +..*..... +.*...... +.*....*. +*.....*. +*******. +........ +........ + +char 0x5b +........ +..*****. +..*..... +..*..... +..*..... +..*..... +..*..... +..*..... +..*..... +..*..... +..*..... +..*..... +..*..... +..*..... +..*****. +........ + +char 0x5c +*....... +*....... +.*...... +.*...... +..*..... +..*..... +..*..... +...*.... +...*.... +....*... +....*... +.....*.. +.....*.. +.....*.. +......*. +......*. + +char 0x5d +........ +.*****.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.*****.. +........ + +char 0x5e +........ +...*.... +..*.*... +.*...*.. +*.....*. +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0x5f +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +*******. +........ + +char 0x60 +...*.... +....*... +.....*.. +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0x61 +........ +........ +........ +........ +........ +.***.... +....*... +.....*.. +..****.. +.*...*.. +*....*.. +*....*.. +*...**.. +.***.**. +........ +........ + +char 0x62 +**...... +.*...... +.*...... +.*...... +.*...... +.*.**... +.**..*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.**..*.. +.*.**... +........ +........ + +char 0x63 +........ +........ +........ +........ +........ +..**.... +.*..**.. +*....*.. +*....*.. +*....... +*....... +*.....*. +.*...*.. +..***... +........ +........ + +char 0x64 +....**.. +.....*.. +.....*.. +.....*.. +.....*.. +..**.*.. +.*..**.. +*....*.. +*....*.. +*....*.. +*....*.. +*....*.. +.*..**.. +..**.**. +........ +........ + +char 0x65 +........ +........ +........ +........ +........ +..***... +.*...*.. +*.....*. +*.....*. +******.. +*....... +*.....*. +.*....*. +..****.. +........ +........ + +char 0x66 +....***. +...*.... +...*.... +...*.... +...*.... +.*****.. +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +.*****.. +........ +........ + +char 0x67 +........ +........ +........ +........ +........ +..**.**. +.*..**.. +*....*.. +*....*.. +*....*.. +*....*.. +.*..**.. +..**.*.. +.....*.. +.....*.. +.****... + +char 0x68 +**...... +.*...... +.*...... +.*...... +.*...... +.*.**... +.**..*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +***...** +........ +........ + +char 0x69 +........ +...*.... +...*.... +........ +........ +..**.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +..***... +........ +........ + +char 0x6a +........ +.....*.. +.....*.. +........ +........ +....**.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +.....*.. +....*... +....*... +..**.... + +char 0x6b +**...... +.*...... +.*...... +.*...... +.*...... +.*..***. +.*...*.. +.*..*... +.*.*.... +.**..... +.*.*.... +.*..*... +.*...*.. +***..**. +........ +........ + +char 0x6c +..**.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +..***... +........ +........ + +char 0x6d +........ +........ +........ +........ +........ +****.**. +.*..*..* +.*..*..* +.*..*..* +.*..*..* +.*..*..* +.*..*..* +.*..*..* +**.**.** +........ +........ + +char 0x6e +........ +........ +........ +........ +........ +**.**... +.**..*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +***...** +........ +........ + +char 0x6f +........ +........ +........ +........ +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x70 +........ +........ +........ +........ +........ +**.**... +.**..*.. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.**..*.. +.*.**... +.*...... +***..... + +char 0x71 +........ +........ +........ +........ +........ +..**.*.. +.*..**.. +*....*.. +*....*.. +*....*.. +*....*.. +*....*.. +.*..**.. +..**.*.. +.....*.. +....***. + +char 0x72 +........ +........ +........ +........ +........ +**.***.. +.**...*. +.*....*. +.*...... +.*...... +.*...... +.*...... +.*...... +***..... +........ +........ + +char 0x73 +........ +........ +........ +........ +........ +.****.*. +*....**. +*.....*. +**...... +..***... +.....**. +*.....*. +**....*. +*.****.. +........ +........ + +char 0x74 +........ +........ +...*.... +...*.... +...*.... +.*****.. +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +....***. +........ +........ + +char 0x75 +........ +........ +........ +........ +........ +**...**. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*....*. +.*...**. +..***.** +........ +........ + +char 0x76 +........ +........ +........ +........ +........ +***..*** +.*....*. +.*....*. +.*....*. +..*..*.. +..*..*.. +..*..*.. +...**... +...**... +........ +........ + +char 0x77 +........ +........ +........ +........ +........ +***..*** +.*....*. +.*....*. +.*.**.*. +.*.**.*. +.*.**.*. +..*..*.. +..*..*.. +..*..*.. +........ +........ + +char 0x78 +........ +........ +........ +........ +........ +**...**. +.*...*.. +..*.*... +..*.*... +...*.... +..*.*... +..*.*... +.*...*.. +**...**. +........ +........ + +char 0x79 +........ +........ +........ +........ +........ +***..*** +.*....*. +.*....*. +..*..*.. +..*..*.. +..*..*.. +...**... +...**... +...*.... +...*.... +.**..... + +char 0x7a +........ +........ +........ +........ +........ +*******. +*.....*. +*....*.. +....*... +...*.... +..*..... +.*....*. +*.....*. +*******. +........ +........ + +char 0x7b +........ +.....**. +....*... +...*.... +...*.... +...*.... +...*.... +.**..... +...*.... +...*.... +...*.... +...*.... +....*... +.....**. +........ +........ + +char 0x7c +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0x7d +........ +.**..... +...*.... +....*... +....*... +....*... +....*... +.....**. +....*... +....*... +....*... +....*... +...*.... +.**..... +........ +........ + +char 0x7e +........ +.***..*. +*...**.. +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0x7f +........ +........ +........ +........ +...*.... +..*.*... +.*...*.. +*.....*. +*******. +*.....*. +*******. +........ +........ +........ +........ +........ + +char 0x80 +........ +..***... +.*...*.. +*.....*. +*....... +*....... +*....... +*....... +*....... +*....... +*....... +*.....*. +.*...*.. +..***... +...*.... +..*..... + +char 0x81 +........ +........ +..*..*.. +..*..*.. +........ +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*....*. +..*****. +........ +........ + +char 0x82 +....**.. +....*... +...*.... +........ +........ +..***... +.*...*.. +*.....*. +*.....*. +*******. +*....... +*.....*. +.*...*.. +..***... +........ +........ + +char 0x83 +........ +...*.... +..*.*... +.*...*.. +........ +.****... +.....*.. +.....*.. +..****.. +.*...*.. +*....*.. +*....*.. +.*...*.. +..*****. +........ +........ + +char 0x84 +........ +........ +..*..*.. +..*..*.. +........ +.****... +.....*.. +.....*.. +..****.. +.*...*.. +*....*.. +*....*.. +.*...*.. +..*****. +........ +........ + +char 0x85 +...*.... +....*... +.....*.. +........ +........ +.****... +.....*.. +.....*.. +..****.. +.*...*.. +*....*.. +*....*.. +.*...*.. +..*****. +........ +........ + +char 0x86 +........ +...**... +..*..*.. +...**... +........ +.****... +.....*.. +.....*.. +..****.. +.*...*.. +*....*.. +*....*.. +.*...*.. +..*****. +........ +........ + +char 0x87 +........ +........ +........ +........ +........ +..****.. +.*....*. +*....... +*....... +*....... +*....... +*....... +.*....*. +..****.. +....*... +...*.... + +char 0x88 +........ +...*.... +..*.*... +.*...*.. +........ +..***... +.*...*.. +*.....*. +*.....*. +*******. +*....... +*.....*. +.*...*.. +..***... +........ +........ + +char 0x89 +........ +........ +..*..*.. +..*..*.. +........ +..***... +.*...*.. +*.....*. +*.....*. +*******. +*....... +*.....*. +.*...*.. +..***... +........ +........ + +char 0x8a +...*.... +....*... +.....*.. +........ +........ +..***... +.*...*.. +*.....*. +*.....*. +*******. +*....... +*.....*. +.*...*.. +..***... +........ +........ + +char 0x8b +........ +........ +..*..*.. +..*..*.. +........ +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +........ +........ + +char 0x8c +........ +...*.... +..*.*... +.*...*.. +........ +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +........ +........ + +char 0x8d +...*.... +....*... +.....*.. +........ +........ +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +........ +........ + +char 0x8e +..*..*.. +..*..*.. +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*******. +*.....*. +*.....*. +*.....*. +*.....*. +........ +........ + +char 0x8f +........ +..***... +.*...*.. +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*******. +*.....*. +*.....*. +*.....*. +*.....*. +........ +........ + +char 0x90 +....**.. +....*... +...*.... +*******. +*....... +*....... +*....... +*....... +*****... +*....... +*....... +*....... +*....... +*******. +........ +........ + +char 0x91 +........ +........ +........ +........ +........ +.**..... +...***.. +...*..*. +.***..*. +*..****. +*..*.... +*..*.... +*..*..*. +.**.**.. +........ +........ + +char 0x92 +....**.. +...*.... +..*..... +..*.*... +..*.*... +..*.*... +*******. +..*.*... +..*.*... +..*.*... +..*.*... +..*.*... +..*.*... +..*.*... +........ +........ + +char 0x93 +........ +...*.... +..*.*... +.*...*.. +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x94 +........ +........ +..*..*.. +..*..*.. +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x95 +...*.... +....*... +.....*.. +........ +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x96 +........ +...*.... +..*.*... +.*...*.. +........ +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*....*. +..*****. +........ +........ + +char 0x97 +...*.... +....*... +.....*.. +........ +........ +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*....*. +..*****. +........ +........ + +char 0x98 +........ +........ +..*..*.. +..*..*.. +........ +*.....*. +*.....*. +.*...*.. +.*...*.. +..*.*... +..*.*... +...*.... +...*.... +..*..... +..*..... +.*...... + +char 0x99 +..*..*.. +..*..*.. +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x9a +..*..*.. +..*..*.. +........ +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0x9b +........ +..*.*... +..*.*... +..*.*... +..****.. +.**.*.*. +*.*.*... +*.*.*... +*.*.*... +*.*.*... +*.*.*... +.**.*.*. +..****.. +..*.*... +..*.*... +..*.*... + +char 0x9c +........ +....**.. +...*..*. +..*..... +..*..... +..*..... +******.. +..*..... +..*..... +..*..... +.**..... +*.*..... +*.**..*. +.*..**.. +........ +........ + +char 0x9d +........ +*.....*. +*.....*. +.*...*.. +..*.*... +...*.... +*******. +...*.... +...*.... +*******. +...*.... +...*.... +...*.... +...*.... +........ +........ + +char 0x9e +........ +***..... +*..*.... +*...*... +*...*... +*...*... +*..*.*.. +***..*.. +*..***** +*....*.. +*....*.. +*....*.. +*....*.. +*....*.. +........ +........ + +char 0x9f +........ +....**.. +...*..*. +...*.... +...*.... +...*.... +*******. +...*.... +...*.... +...*.... +...*.... +...*.... +*..*.... +.**..... +........ +........ + +char 0xa0 +....**.. +....*... +...*.... +........ +........ +.****... +.....*.. +.....*.. +..****.. +.*...*.. +*....*.. +*....*.. +.*...*.. +..*****. +........ +........ + +char 0xa1 +....**.. +....*... +...*.... +........ +........ +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +........ +........ + +char 0xa2 +....**.. +....*... +...*.... +........ +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0xa3 +....**.. +....*... +...*.... +........ +........ +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*....*. +..*****. +........ +........ + +char 0xa4 +........ +...*..*. +..*.*.*. +..*..*.. +........ +*****... +*....*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +........ +........ + +char 0xa5 +...*..*. +..*.*.*. +..*..*.. +........ +*.....*. +**....*. +**....*. +*.*...*. +*..*..*. +*..*..*. +*...*.*. +*....**. +*....**. +*.....*. +........ +........ + +char 0xa6 +........ +........ +........ +.****... +.....*.. +.....*.. +..****.. +.*...*.. +*....*.. +*....*.. +.*...*.. +..*****. +........ +*******. +........ +........ + +char 0xa7 +........ +........ +........ +..***... +.*...*.. +*.....*. +*.....*. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +*******. +........ +........ + +char 0xa8 +........ +...*.... +...*.... +........ +........ +...*.... +...*.... +..*..... +.*...*.. +*.....*. +*.....*. +*.....*. +.*...*.. +..***... +........ +........ + +char 0xa9 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +*******. +*....... +*....... +*....... +........ +........ + +char 0xaa +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +*******. +......*. +......*. +......*. +........ +........ + +char 0xab +........ +...*.... +..**.... +...*.... +...*.... +...*.... +........ +*******. +........ +.****... +.....*.. +..***... +.*...... +.*****.. +........ +........ + +char 0xac +........ +...*.... +..**.... +...*.... +...*.... +...*.... +........ +*******. +........ +...**... +..*.*... +.*..*... +.*****.. +....*... +........ +........ + +char 0xad +........ +...*.... +...*.... +........ +........ +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +........ +........ + +char 0xae +........ +........ +........ +........ +...*..*. +..*..*.. +.*..*... +*..*.... +*..*.... +.*..*... +..*..*.. +...*..*. +........ +........ +........ +........ + +char 0xaf +........ +........ +........ +........ +*..*.... +.*..*... +..*..*.. +...*..*. +...*..*. +..*..*.. +.*..*... +*..*.... +........ +........ +........ +........ + +char 0xb0 +...*...* +.*...*.. +...*...* +.*...*.. +...*...* +.*...*.. +...*...* +.*...*.. +...*...* +.*...*.. +...*...* +.*...*.. +...*...* +.*...*.. +...*...* +.*...*.. + +char 0xb1 +.*.*.*.* +*.*.*.*. +.*.*.*.* +*.*.*.*. +.*.*.*.* +*.*.*.*. +.*.*.*.* +*.*.*.*. +.*.*.*.* +*.*.*.*. +.*.*.*.* +*.*.*.*. +.*.*.*.* +*.*.*.*. +.*.*.*.* +*.*.*.*. + +char 0xb2 +.***.*** +**.***.* +.***.*** +**.***.* +.***.*** +**.***.* +.***.*** +**.***.* +.***.*** +**.***.* +.***.*** +**.***.* +.***.*** +**.***.* +.***.*** +**.***.* + +char 0xb3 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xb4 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +****.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xb5 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +****.... +...*.... +****.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xb6 +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +****.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xb7 +........ +........ +........ +........ +........ +........ +........ +******.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xb8 +........ +........ +........ +........ +........ +........ +........ +****.... +...*.... +****.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xb9 +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +****.*.. +.....*.. +****.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xba +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xbb +........ +........ +........ +........ +........ +........ +........ +******.. +.....*.. +****.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xbc +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +****.*.. +.....*.. +******.. +........ +........ +........ +........ +........ +........ + +char 0xbd +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +******.. +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xbe +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +****.... +...*.... +****.... +........ +........ +........ +........ +........ +........ + +char 0xbf +........ +........ +........ +........ +........ +........ +........ +****.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xc0 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...***** +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xc1 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +******** +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xc2 +........ +........ +........ +........ +........ +........ +........ +******** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xc3 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...***** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xc4 +........ +........ +........ +........ +........ +........ +........ +******** +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xc5 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +******** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xc6 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...***** +...*.... +...***** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xc7 +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xc8 +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*** +...*.... +...***** +........ +........ +........ +........ +........ +........ + +char 0xc9 +........ +........ +........ +........ +........ +........ +........ +...***** +...*.... +...*.*** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xca +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +****.*** +........ +******** +........ +........ +........ +........ +........ +........ + +char 0xcb +........ +........ +........ +........ +........ +........ +........ +******** +........ +****.*** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xcc +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*** +...*.... +...*.*** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xcd +........ +........ +........ +........ +........ +........ +........ +******** +........ +******** +........ +........ +........ +........ +........ +........ + +char 0xce +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +****.*** +........ +****.*** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xcf +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +******** +........ +******** +........ +........ +........ +........ +........ +........ + +char 0xd0 +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +******** +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xd1 +........ +........ +........ +........ +........ +........ +........ +******** +........ +******** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xd2 +........ +........ +........ +........ +........ +........ +........ +******** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xd3 +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...***** +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xd4 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...***** +...*.... +...***** +........ +........ +........ +........ +........ +........ + +char 0xd5 +........ +........ +........ +........ +........ +........ +........ +...***** +...*.... +...***** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xd6 +........ +........ +........ +........ +........ +........ +........ +...***** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xd7 +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +****.*** +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. +...*.*.. + +char 0xd8 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +******** +...*.... +******** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xd9 +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +****.... +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xda +........ +........ +........ +........ +........ +........ +........ +...***** +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... +...*.... + +char 0xdb +******** +******** +******** +******** +******** +******** +******** +******** +******** +******** +******** +******** +******** +******** +******** +******** + +char 0xdc +........ +........ +........ +........ +........ +........ +........ +........ +******** +******** +******** +******** +******** +******** +******** +******** + +char 0xdd +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... +****.... + +char 0xde +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** +....**** + +char 0xdf +******** +******** +******** +******** +******** +******** +******** +******** +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe0 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe1 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe2 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe3 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe4 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe5 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe6 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe7 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe8 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xe9 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xea +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xeb +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xec +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xed +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xee +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xef +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf0 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf1 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf2 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf3 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf4 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf5 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf6 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf7 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf8 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xf9 +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xfa +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xfb +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xfc +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xfd +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xfe +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ + +char 0xff +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ +........ Modified: PhoeniOS/trunk/system/ipl.nas =================================================================== --- PhoeniOS/trunk/system/ipl.nas 2008-12-16 08:46:37 UTC (rev 54) +++ PhoeniOS/trunk/system/ipl.nas 2008-12-19 09:48:02 UTC (rev 55) @@ -8,7 +8,7 @@ ; ???????OS???????? ; --------------------------------------------------------- -CYLS EQU 10 ; ????????? +CYLS EQU 10 ; ????????? (30??????) ORG 0x7c00 ; IPL????????????? Modified: PhoeniOS/trunk/system/phoenios.sys =================================================================== (Binary files differ)