📄 mkfile
字号:
objtype=386</$objtype/mkfileBIN=/386TARG=\ 9load\ 9pxeload\ 9loadlite\ 9loaddebug\ 9loadlitedebug\ ld.com\ mbr\ pbs\ pbslba\CORE=\ alarm.$O\ cga.$O\ clock.$O\ console.$O\ dosboot.$O\ devfloppy.$O\ dma.$O\ fs.$O\ ilock.$O\ kbd.$O\ kfsboot.$O\ print.$O\ queue.$O\ trap.$O\LOAD=\ 8250.$O\ apm.$O\ boot.$O\ cis.$O\ conf.$O\ devi82365.$O\ devpccard.$O\ devsd.$O\ inflate.$O\ load.$O\ memory.$O\ part.$O\ pci.$O\ sdata.$O\ sdmylex.$O\ sd53c8xx.$O\ sdscsi.$O\ETHER=\ bootp.$O\ ether.$O\ ether2114x.$O\ ether2000.$O\ ether589.$O\ ether79c970.$O\ ether8003.$O\ ether8139.$O\ ether8169.$O\ ether82557.$O\ ether83815.$O\ ether8390.$O\ etherec2t.$O\ etherelnk3.$O\ etherigbe.$O\ ethermii.$O\ etherrhine.$O\BCOM=\ bcom.$O\ bootld.$O\ devsd.$O\ memory.$O\ part.$O\ pci.$O\ sdata.$O\ sdscsi.$O\HFILES=\ lib.h\ mem.h\ dat.h\ fns.h\ io.h\CFLAGS=-FVw -I.all:V: $TARG9load: l.$O $CORE $LOAD $ETHER $LD -o $target -H3 -T0x80010000 -l $prereq -lflate -lc -lip ls -l $target9pxeload: lpxe.$O $CORE $LOAD $ETHER $LD -o $target -H3 -T0x80007C00 -l $prereq -lflate -lc -lip ls -l $target9loaddebug: l.$O $CORE $LOAD $ETHER $LD -o $target -T0x80010000 -l $prereq -lflate -lc -lip ls -l $target # acid $target # map({"text", 0x80010000, 0x80090000, 0x00000020})9loadlite: l.$O $CORE $LOAD noether.$O $LD -o $target -H3 -T0x80010000 -l $prereq -lflate -lc ls -l $target9loadlitedebug: l.$O $CORE $LOAD noether.$O $LD -o $target -T0x80010000 -l $prereq -lflate -lc ls -l $target # acid $target # map({"text", 0x80010000, 0x80090000, 0x00000020})ld.com: ld.$O $CORE $BCOM $LD -o $target -H3 -T0x80080100 -l $prereq -lc ls -l $targetlddebug: ld.$O $CORE $BCOM $LD -o $target -T0x80080100 -l $prereq -lc ls -l $target # acid $target # map({"text", 0x80080100, 0x800B0000, 0x00000020})ld.$O: l.s $AS -DDOTCOM -o $target l.slpxe.$O: l.s $AS -DPXE -o $target l.s%.$O: %.s $AS $stem.s%.$O: %.c $CC $CFLAGS $stem.c%.$O: $HFILESl.$O pbs.$O pbslba.$O mbr.$O: x16.hclock.$O floppy.$O trap.$O: ureg.hbcom.$O conf.$O devfloppy.$O devsd.$O dosboot.$O fs.$O \ kfsboot.$O load.$O part.$O: dosfs.h fs.h kfs.hether.$O etherelnk3.$O: etherif.hdevsd.$O part.$O sdata.$O sdscsi.$O: sd.hbootp.$O: ip.hmbr: mbr.$O $LD -o $target -H3 -T0x0600 -l $prereq ls -l $targetpbs&: pbs%.$O $LD -o $target -H3 -T0x7C00 -l $prereq ls -l $targetpbs&.debug: pbs%.$O $LD -o $target -T0x7C00 -l $prereq ls -l $target # acid $target # map({"text", 0x7C00, 0x7E00, 0x00000020}) clean: rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG 9loaddebug lddebuginstall:V: for (i in $TARG) mk $MKFLAGS $i.install%.install:V: $BIN/% # import lookout / /n/lookout # cp $prereq /n/lookout/$prereq$BIN/%: % cp $stem $BIN/$stemUPDATE=\ mkfile\ ${CORE:%.$O=%.c}\ ${LOAD:%.$O=%.c}\ ${BCOM:%.$O=%.c}\ ${ETHER:%.$O=%.c}\ $HFILES\ l.s\ noether.c\ pbs.s\ pbslba.s\ mbr.s\ x16.h\ ureg.h\ dosfs.h\ fs.h\ kfs.h\ etherif.h\ sd.h\ ip.h\ devfloppy.h\ ${TARG:%=/386/%}\update:V: update $UPDATEFLAGS $UPDATE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -