+++ /dev/null
-\r
-#OBJS_BOOTPACK = naskfunc.obj hankaku.obj gdtidt.obj graphic.obj grap_08.obj grap_16.obj grap_32.obj init.obj intrpt.obj io.obj memory.obj paging.obj sheet.obj fifo.obj mtask.obj timer.obj keyboard.obj mouse.obj window.obj console.obj file.obj uuid.obj api.obj bootpack.obj\r
-OBJS_BOOTPACK = nasfunc0.obj nasfunc1.obj hankaku.obj api.obj console.obj cpuid.obj dsctbl.obj fifo.obj file.obj grap_08.obj grap_16.obj grap_32.obj graphic.obj init.obj inputbox.obj intrpt.obj io.obj keyboard.obj memblock.obj memory.obj mouse.obj mtask.obj paging.obj serial.obj sheet.obj timer.obj window.obj xception.obj bootpack.obj\r
-TOOLPATH = ../../z_tools/\r
-INCPATH = ../../z_tools/CHNOSProject/\r
-\r
-MAKE = $(TOOLPATH)make.exe -r\r
-NASK = $(TOOLPATH)nask.exe\r
-CC1 = $(TOOLPATH)cc1.exe -I$(INCPATH) -Os -Wall -quiet\r
-BIN2OBJ = $(TOOLPATH)bin2obj.exe\r
-GAS2NASK = $(TOOLPATH)gas2nask.exe -a\r
-OBJ2BIM = $(TOOLPATH)obj2bim.exe\r
-BIM2CHN = $(TOOLPATH)bim2chn.exe\r
-RULEFILE = $(INCPATH)CHNOSP.rul\r
-EDIMG = $(TOOLPATH)edimg.exe bias:9\r
-IMGTOL = $(TOOLPATH)RWFD.EXE\r
-MAKEFONT = $(TOOLPATH)makefont.exe\r
-COPY = copy\r
-DEL = del\r
-SJISCONV = $(TOOLPATH)sjisconv.exe -s\r
-\r
-# \83f\83t\83H\83\8b\83g\93®\8dì\r
-\r
-default :\r
- $(MAKE) img\r
-\r
-# \83t\83@\83C\83\8b\90¶\90¬\8bK\91¥\r
-\r
-chnipl.bin : chnipl.nas Makefile\r
- $(NASK) chnipl.nas chnipl.bin chnipl.lst\r
-\r
-hankaku.bin : hankaku.txt Makefile\r
- $(MAKEFONT) hankaku.txt hankaku.bin\r
-\r
-hankaku.obj : hankaku.bin Makefile\r
- $(BIN2OBJ) hankaku.bin hankaku.obj _hankaku\r
-\r
-asmhead.bin : asmhead.nas Makefile\r
- $(NASK) asmhead.nas asmhead.bin asmhead.lst\r
-\r
-bootpack.gas : bootpack.c Makefile\r
- $(CC1) -o bootpack.gas bootpack.c\r
-\r
-bootpack.nas : bootpack.gas Makefile\r
- $(GAS2NASK) bootpack.gas bootpack.nas\r
-\r
-bootpack.obj : bootpack.nas Makefile\r
- $(NASK) bootpack.nas bootpack.obj bootpack.lst\r
-\r
-nasfunc0.obj : nasfunc0.nas Makefile\r
- $(NASK) nasfunc0.nas nasfunc0.obj nasfunc0.lst\r
-\r
-bootpack.bim : $(OBJS_BOOTPACK) Makefile\r
- $(OBJ2BIM) @$(RULEFILE) out:bootpack.bim stack:3136k map:bootpack.map \\r
- $(OBJS_BOOTPACK)\r
-# 3MB+64KB=3136KB\r
-\r
-bootpack.chn : bootpack.bim Makefile\r
- $(BIM2CHN) bootpack.bim bootpack.chn 0\r
-\r
-chnos.sys : asmhead.bin bootpack.chn Makefile\r
- copy /B asmhead.bin+bootpack.chn chnos.sys\r
-\r
-chnos.img : chnipl.bin chnos.sys Makefile\r
- $(EDIMG) imgin:../../z_tools/fdimg0at.tek \\r
- wbinimg src:chnipl.bin len:512 from:0 to:0 \\r
- copy from:chnos.sys to:@: \\r
- copy from:chnipl.nas to:@: \\r
- copy from:test.mid to:@: \\r
- imgout:chnos.img\r
-\r
-#\88ê\94Ê\8bK\91¥\r
-\r
-%.ca : %.c Makefile\r
- $(SJISCONV) $*.c $*.ca\r
-\r
-%.gas : %.ca core.h core_set.h Makefile\r
- $(CC1) -o $*.gas $*.ca\r
-\r
-%.nas : %.gas Makefile\r
- $(GAS2NASK) $*.gas $*.nas\r
-\r
-%.obj : %.nas Makefile\r
- $(NASK) $*.nas $*.obj $*.lst\r
-\r
-\r
-\r
-# \83R\83}\83\93\83h\r
-\r
-img :\r
- $(MAKE) chnos.img\r
-\r
-run :\r
- $(MAKE) img\r
- $(COPY) chnos.img ..\..\z_tools\qemu\fdimage0.bin\r
- $(MAKE) -C ../../z_tools/qemu\r
-run_b :\r
- $(MAKE) img\r
- $(COPY) chnos.img ..\..\z_tools\bochs\fdimage0.bin\r
- $(MAKE) -C ../../z_tools/bochs\r
-\r
-\r
-run_cd :\r
- $(MAKE) iso\r
- $(MAKE) -C ../../z_tools/qemu_iso\r
-\r
-install :\r
- $(MAKE) img\r
- $(IMGTOL) chnos.img a:\r
-\r
-clean :\r
- -$(DEL) *.bin\r
- -$(DEL) *.lst\r
- -$(DEL) *.gas\r
- -$(DEL) *.obj\r
- -$(DEL) bootpack.nas\r
- -$(DEL) bootpack.map\r
- -$(DEL) bootpack.bim\r
- -$(DEL) bootpack.chn\r
- -$(DEL) chnos.sys\r
-\r
-src_only :\r
- $(MAKE) clean\r
- -$(DEL) chnos.img\r
-\r
-iso :\r
- $(MAKE)\r
- ..\..\z_tools\mkisofs.exe -v -iso-level 1 -b chnos.img -o ..\..\z_tools\qemu_iso\chnos.iso .\r
-\r