orbspace
@@ -0,0 +1 @@ | ||
1 | +..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
\ No newline at end of file |
@@ -0,0 +1 @@ | ||
1 | +..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
\ No newline at end of file |
@@ -0,0 +1,6 @@ | ||
1 | +#include <stdio.h> | |
2 | + | |
3 | +int main(int argc, char **argv) | |
4 | +{ | |
5 | + return 0; | |
6 | +} |
@@ -0,0 +1,10 @@ | ||
1 | +TARGET = mkorbfs | |
2 | +MODE = exe | |
3 | +OBJS = $(TARGET).obj | |
4 | +STACKSIZE = 0x1000000 # 16MB (default) | |
5 | + | |
6 | +INCPATH = ../../z_tools/win32/ | |
7 | +CC1OPT = -Dmain=main0 | |
8 | +include ../com_mak.txt | |
9 | + | |
10 | +# tolset08対応Makefile |
@@ -0,0 +1,97 @@ | ||
1 | +TOOLPATH = ../../z_tools/ | |
2 | +RULEFILE = $(TOOLPATH)guigui00/guigui00.rul | |
3 | +MAKE = $(TOOLPATH)make.exe -r | |
4 | +SJISCONV = $(TOOLPATH)sjisconv.exe -s | |
5 | +CC1 = $(TOOLPATH)cc1.exe -I$(INCPATH) $(CC1OPT) -Os -Wall -quiet | |
6 | +CPP = $(TOOLPATH)c++.exe -I$(CPPINCPATH) $(CC1OPT) -Os -Wall -nostdlib -fno-builtin -fno-exceptions \ | |
7 | + -fno-rtti -B$(TOOLPATH) -x c++ -c | |
8 | +GAS2NASK = $(TOOLPATH)gas2nask.exe -a | |
9 | +NASK = $(TOOLPATH)nask.exe | |
10 | +OBJ2BIM = $(TOOLPATH)obj2bim.exe | |
11 | +BIM2BIN = $(TOOLPATH)bim2bin.exe | |
12 | +CPP0 = $(TOOLPATH)cpp0.exe -P -I$(INCPATH) | |
13 | +ASKA = $(TOOLPATH)aska.exe | |
14 | +NASKCNV = $(TOOLPATH)naskcnv0.exe -l -s -w | |
15 | +GOLIB = $(TOOLPATH)golib00.exe | |
16 | +LINK = $(TOOLPATH)ld.exe -s -Bdynamic --stack $(STACKSIZE) | |
17 | +EDIMG = $(TOOLPATH)edimg.exe | |
18 | +SARTOL = $(TOOLPATH)sartol.exe | |
19 | +DELE = del | |
20 | +COPY = copy | |
21 | + | |
22 | +LIBPATH = $(INCPATH) | |
23 | +LIBS = $(LIBPATH)w32clibc.lib $(LIBPATH)golibc.lib $(LIBPATH)libmingw.lib | |
24 | + | |
25 | +# 以上の項目はあなたのディレクトリ構成にあわせて書き換える | |
26 | + | |
27 | +ALL: | |
28 | + $(MAKE) $(TARGET).$(MODE) | |
29 | + | |
30 | +%.ca : %.c Makefile | |
31 | + $(SJISCONV) $*.c $*.ca | |
32 | + | |
33 | +%.cpa : %.cpp Makefile | |
34 | + $(SJISCONV) $*.cpp $*.cpa | |
35 | + | |
36 | +%.gas : %.ca Makefile | |
37 | + $(CC1) -o $*.gas $*.ca | |
38 | + | |
39 | +%.nas : %.gas Makefile | |
40 | + $(GAS2NASK) $*.gas $*.nas | |
41 | + | |
42 | +%.obj : %.nas Makefile | |
43 | + $(NASK) $*.nas $*.obj | |
44 | + | |
45 | +%.obj : %.cpa Makefile | |
46 | + $(CPP) -o $*.obj $*.cpa | |
47 | + | |
48 | +%.ias : %.ask Makefile | |
49 | + $(CPP0) -o $*.ias $*.ask | |
50 | + | |
51 | +%.3as : %.ias Makefile | |
52 | + $(ASKA) $*.ias $*.3as | |
53 | + | |
54 | +%.nas : %.3as Makefile | |
55 | + $(NASKCNV) $*.3as $*.nas | |
56 | + | |
57 | +%.lst : %.nas Makefile | |
58 | + $(NASK) $*.nas $*.obj $*.lst | |
59 | + | |
60 | +$(TARGET).bim : $(OBJS) Makefile | |
61 | + $(OBJ2BIM) @$(RULEFILE) out:$(TARGET).bim stack:$(STACKSIZE) map:$(TARGET).map $(OBJS) | |
62 | + | |
63 | +%.bin : %.bim Makefile | |
64 | + $(BIM2BIN) in:$*.bim out:$*.org malloc:$(MALLOCSIZE) mmarea:$(MMAREA) $(BIMOPT0) | |
65 | + $(BIM2BIN) -osacmp in:$*.org out:$*.bin $(BIMOPT1) | |
66 | + | |
67 | +$(TARGET).lib : $(OBJS) Makefile | |
68 | + $(GOLIB) out:$@ $(OBJS) | |
69 | + | |
70 | +$(TARGET).dll : $(TARGET).bim Makefile | |
71 | + $(OBJ2BIM) @$(RULEFILE) out:$(TARGET).bim map:$(TARGET).map $(OBJS) | |
72 | + $(BIM2BIN) -osacmp -tek1 in:$(TARGET).bim out:$(TARGET).dll | |
73 | + | |
74 | +$(TARGET).exe : $(OBJS) Makefile | |
75 | + $(LINK) -o $(TARGET).exe -Map $(TARGET).map $(OBJS) $(LIBS) | |
76 | + | |
77 | +clean : | |
78 | + -$(DELE) *.obj | |
79 | + -$(DELE) $(TARGET).bim | |
80 | + -$(DELE) $(TARGET).map | |
81 | + -$(DELE) $(TARGET).org | |
82 | + | |
83 | +run : | |
84 | + $(MAKE) $(TARGET).$(MODE) | |
85 | + $(COPY) $(TARGET).$(MODE) ..\z_tools\!built.bin | |
86 | + $(MAKE) -C $(TOOLPATH)osa_qemu | |
87 | + $(EDIMG) @$(TOOLPATH)edimgopt.txt $(EDIMGOPT) imgout:../z_tools/qemu/fdimage0.bin | |
88 | + $(MAKE) -C $(TOOLPATH)qemu | |
89 | + | |
90 | +arc : | |
91 | + $(MAKE) $(TARGET).$(MODE) | |
92 | + $(SARTOL) e $(ARCORG) . @-4k ARCINFO0.TXT $(ARCFLIES) | |
93 | + $(BIM2BIN) -osacmp in:$(ARCORG) out:$(ARCTEK) $(BIMOPT2) | |
94 | + | |
95 | +src_only : | |
96 | + $(MAKE) clean | |
97 | + -$(DELE) $(TARGET).$(MODE) |
@@ -0,0 +1 @@ | ||
1 | +%ComSpec% | |
\ No newline at end of file |
@@ -0,0 +1,54 @@ | ||
1 | +orbspace - カラフルなボールで整理整頓 | |
2 | + | |
3 | + | |
4 | + | |
5 | +・カラフルなボールで”整理”する(一般・機能タグ) | |
6 | + サムネイル表示のファイルを半透明のカラフルなボールの中に入れて整理する! | |
7 | + さらにorbScriptでメタデータを用いた分類や検索ができる! | |
8 | +・カラフルなボールが”GUIアプリ”に(機能タグ) | |
9 | + orbScriptでGUIアプリケーションも!数学学習での視覚化などに便利! | |
10 | +・たまにはカラフルなボールを”楽しむ” | |
11 | + カラフルなボールの周りをぐるぐる回るスクリーンセーバで楽しむ! | |
12 | + | |
13 | + | |
14 | + | |
15 | +1.orbFS | |
16 | + | |
17 | +1-1.全体の構造 | |
18 | +0x00000000-0x000001ff BPB(IPL、パーティションテーブル、0xaa55) | |
19 | +0x00000200-0x00001dff orbSAT | |
20 | +0x00001e00- データ領域 | |
21 | + | |
22 | +1-2.orbSAT:orb Sector Allocation Table | |
23 | + -連続していないセクタを管理するときに使用 | |
24 | + -例:0x00000800 0x00001000 0x0000fff1 0x00000000 | |
25 | + =>0x800番目の次が0x1000番目、0xfff1番目が最後(つまりディスクは128MB) | |
26 | + -このテーブルはデータ領域を対象とする(0x00001e00-0x00001fffまでを1番目とする) | |
27 | + | |
28 | +1-3.データ領域の構造 | |
29 | +0x0000-0x0003 サイズ | |
30 | +0x0004-0x000f 名前 | |
31 | +0x0010-0x01ff メタデータ | |
32 | +0x0200- 512バイトにアラインされたデータ部分(一般タグの場合はファイルアドレスの羅列) | |
33 | + | |
34 | +1-3-1.メタデータの構造 | |
35 | + -この部分は次のようなテキストデータである(先頭の" + "は引用文であることを示す) | |
36 | + + Type=file | |
37 | + + CreateDate=2010/1/1 | |
38 | + + CreateTime=12:29:06 | |
39 | + + UpdateDate=2010/1/1 | |
40 | + + UpdateDate=12:29:06 | |
41 | + + AccessDate=2010/3/3 | |
42 | + + AccessTime=19:41:47 | |
43 | + + Author=tatsu | |
44 | + + Keyword=orbspace | |
45 | + | |
46 | +1-4.mkorbfs:ディスクイメージツール | |
47 | +>mkorbfs orbspace.img 131072 orbspace\ipl.bin \ | |
48 | + file orbspace\orbspace.sys \ | |
49 | + tag orbspace Color=0xff0000 \ | |
50 | + tag orbfs Color=0x00ff00 \ | |
51 | + file [orbspace]orbspace\main.c Author=tatsu Keyword=orbspace \ | |
52 | + file [orbspace][orbfs]orbspace\orbfs.c Author=tatsu Keyword=orbspace \ | |
53 | + ftag search.orb Color=0x0000ff | |
54 | +> |
@@ -0,0 +1,5 @@ | ||
1 | +config: | |
2 | + make -C mkorbfs | |
3 | + | |
4 | +clean: | |
5 | + make -C mkorbfs clean | |
\ No newline at end of file |