makemon.sh

来自「一个不错的硬盘播放器程序,包含VFD显示程序,红外线遥控程序,硬盘读写程序,及解」· Shell 代码 · 共 81 行

SH
81
字号
# Copyright 1996-1997, ESS Technology, Inc.# SCCSID @(#)makemon.sh	1.5 2/10/98## Shared part for DRAM game makefile/makefile.pc#BOOT_START      = cfffa30	# for making game.datJUMP	= -jump			# for making game.datDATA_START = 8000		# for making game.datDFLAGS = -DEMULATOR -DNEW_EMULATORCLK = -DCPUCLK=675IDLE = -D_IDLECLK_=270					# 27MHz idleSYSOPTIONS	= -DMKROM $(CLK) $(IDLE) -DIR -DIR_NEC -DNGAME -DDSC -DMONITOR## Flags for ESS' C compile (for all targets)#.c.o:	$(BIN)/gcc -B$(BIN)/ $(INCLUDES) -g $(FLAGS) $(DFLAGS) $(SYSOPTIONS) \	-o $*.s $<	$(AX) -R $*.s > err.s.o:	$(AX) $*.s > errSOURCE_C = gamectrl.cSTARTUP_S	= monboot.sWIDTH10		= 0x01MEMDELAYH	= 0x01dMEMWIDTH	= 0xeMEMDELAYL	= 0x001emonitor: tmp.dat monitor.rommonitor.rom: monitor.sun gameboot profile.mon	$(RLD) -r 0xc0000000 -Ttext1 0 -Tdata $(DATA_START) -w monitor.sun	$(ROM)  $(JUMP) profile.mon > mstatmonitor.sun: g_start.o $(SOURCE_C:.c=.o)	$(LD) -r  -X -Tdata 0 -Ttext 0 g_start.o $(SOURCE_C:.c=.o) -o $@g_start.o: g_start.sgameboot: monboot1.s	$(AX) -R monboot1.s	$(LD) -Ttext $(BOOT_START) -e powerup -X -o gameboot monboot1.omonboot1.s: $(STARTUP_S)		$(SED) 's/_MEMWIDTH_/$(MEMWIDTH)/g' $(STARTUP_S) > temp1.sss		$(SED) 's/_MEMDELAYL_/$(MEMDELAYL)/g' temp1.sss > temp2.sss		$(SED) 's/_MEMDELAYH_/$(MEMDELAYH)/g' temp2.sss > temp1.sss		$(SED) 's/_WIDTH10_/$(WIDTH10)/g' temp1.sss > monboot1.s		$(RM) temp1.sss temp2.sss## Clean up#clean:	$(RM) $(SOURCE_C:.c=.o)	$(RM) $(SOURCE_C:.c=.s)	$(RM) monitor.sun monitor.rom	$(RM) g_start.o gameboot	$(RM) monboot1.s monboot1.o	$(RM) err	$(RM) mstat## Object file dependency#gamectrl.o	: mvd.h common.h util.h debug.h ioport.h ir.h constvar.h \		  timedef.h dsc.h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?