-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jane
authored and
Jane
committed
Dec 20, 2020
1 parent
17b8c30
commit 5745088
Showing
107 changed files
with
1,713 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
..\tolset\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cmd.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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を書き換えると分割コンパイル対応 | ||
|
||
# tolset08対応Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cmd.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cmd.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
setvesa 3 0x114 | ||
mouseaccel 1 1 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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�B���N�g���\���ɂ��킹�ď��������� | ||
|
||
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) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
format: | ||
/* ���̃Z�N�V�����Ń����N�̕��j���L�q */ | ||
code(align:1, logic:0x48, file:0x48); | ||
data(align:4, logic:stack_end, file:code_end); | ||
|
||
file: | ||
/* ���̃Z�N�V�����ŃR�}���h���C���ɏ�������Ȃ����� | ||
.obj�t�@�C���A.lib�t�@�C�����L�� */ | ||
/* �Ȃ��A���̃Z�N�V�����̓t���p�X�ŏ����Ă��悢�B */ | ||
/* ��F c:/osask/gg00libc.lib; */ | ||
../z_tools/guigui00/gg00libc.lib; | ||
../z_tools/guigui00/golibc.lib; | ||
|
||
label: | ||
/* �K�������N���Ȃ�������Ȃ����x�����w�� */ | ||
/* �G���g���|�C���g���w�肷������Ǝv���Ă������� */ | ||
_main; | ||
|
||
|
||
/* ��L3�Z�N�V�����̏����͓���ւ��Ă͂����܂���! */ |
Binary file not shown.
Oops, something went wrong.