TARGET = chelo
#include <guigui00.h>
#define AUTO_MALLOC 0
void OsaskMain()
{
struct LIB_WINDOW *window;
struct LIB_TEXTBOX *wintitle, *textbox;
lib_init(AUTO_MALLOC);
window = lib_openwindow(AUTO_MALLOC, 0x0200, 136, 48);
wintitle = lib_opentextbox(0x1000, AUTO_MALLOC, 0, 5, 1, 0, 0, window, 0x00c0, 0);
textbox = lib_opentextbox(0x0000, AUTO_MALLOC, 0, 12, 1, 16, 16, window, 0x00c0, 0);
lib_putstring_ASCII(0x0000, 0, 0, wintitle, 0, 0, "chelo");
lib_putstring_ASCII(0x0000, 0, 0, textbox, 0, 0, "hello, world");
lib_waitsignal(0x0001, 0, 0);
}
C:¥osask¥tolset08¥chelo>make C:¥osask¥tolset08¥chelo>..¥z_tools¥make.exe ../z_tools/make.exe -r chelo.bin make.exe[1]: Entering directory `C:/osask/tolset08/chelo' ../z_tools/sjisconv.exe -s chelo.c chelo.ca ../z_tools/cc1.exe -I../z_tools/guigui00/ -Os -Wall -quiet -o chelo.gas chelo.ca ../z_tools/gas2nask.exe -a chelo.gas chelo.nas ../z_tools/nask.exe chelo.nas chelo.obj ../z_tools/obj2bim.exe @../z_tools/guigui00/guigui00.rul out:chelo.bim stack:64k map: chelo.map chelo.obj ../z_tools/bim2bin.exe in:chelo.bim out:chelo.org malloc:256k mmarea:0 -v48a ../z_tools/bim2bin.exe -osacmp in:chelo.org out:chelo.bin -tek5 clv:5 eopt: eprm: rm chelo.gas chelo.nas chelo.ca make.exe[1]: Leaving directory `C:/osask/tolset08/chelo'
C:¥osask¥tolset08¥chelo>ls !cons_9x.bat Makefile chelo.bin chelo.c.1~ chelo.obj make.bat !cons_nt.bat chelo.bim chelo.c chelo.map chelo.org
C:¥osask¥tolset08¥chelo>make run C:¥osask¥tolset08¥chelo>..¥z_tools¥make.exe run ../z_tools/make.exe -r chelo.bin make.exe[1]: Entering directory `C:/osask/tolset08/chelo' make.exe[1]: `chelo.bin' is up to date. make.exe[1]: Leaving directory `C:/osask/tolset08/chelo' copy chelo.bin ..¥z_tools¥!built.bin process_begin: CreateProcess((null), copy chelo.bin ..¥z_tools¥!built.bin, ...) failed. make (e=2): 指定されたファイルが見つかりません。 ..¥z_tools¥make.exe: *** [run] Error 2
qemu.exe -L . -m 32 -localtime -std-vga -fda fdimage0.bin process_begin: CreateProcess(C:/osa/tolset08/z_tools/qemu/qemu.exe, eqmu.exe -L . -m 32 -localtime -std-vga -fda fdimage0.bin, ...) failed. make (e=1157): このアプリケーションの実行に必要なライブラリファイルのうちの1つが見つかりません。 make.exe[1] *** [ALL] Error 1157 make.exe[1]: Leaving directory 'C:/osa/tolset08/z_tools/qemu' C:¥OSA¥TOLSET08¥Z_TOOLS¥make.EXE: *** [run] Error 2
C:¥osa¥tolset08¥z_tools¥qemu>qemu.exe -L . -m 32 -localtime -std-vga -fda fdimage0.bin ファイル 'C:¥OSA¥TOLSET08¥Z_TOOLS¥QEMU¥QEMU.EXE' またはその構成ファイルが見つかりません。 パスとファイル名が正しいか、すべての必要なライブラリが利用可能であるか、確認してください。
C:¥osa¥tolset08¥z_tools¥qemu>dir
. <DIR> 05-08-07 10:17 .
.. <DIR> 05-08-07 10:17 ..
BIOS BIN 65,536 04-11-16 7:10 bios.bin
MAKEFILE 68 05-01-12 11:51 Makefile
VGABIOS BIN 9,651 04-04-24 1:29 vgabios.bin
QEMU EXE 249,344 04-11-16 7:10 qemu.exe
FDIMAGE0 BIN 1,474,560 05-08-07 10:18 fdimage0.bin
SDL DLL 125,952 04-11-16 7:11 SDL.dll
7 個 1,925,111 バイトのファイルがあります.
2 ディレクトリ 440,139,776 バイトの空きがあります.