Browse Source

enhanced for master-luke

import/raw
doug 13 years ago
parent
commit
da00d8993b
  1. 19
      branches/s100/XSource/Makefile

19
branches/s100/XSource/Makefile

@ -115,12 +115,12 @@
#SYS := CPM #SYS := CPM
#ROMNAME := n8vem #ROMNAME := n8vem
CONFIG := s100
CONFIG := s100_std
ROMSIZE := 512 ROMSIZE := 512
CPU := 80 CPU := 80
SYS := CPM SYS := CPM
ROMNAME := s100 ROMNAME := s100
CPUROM := master-yoda
CPUROM := master-luke
ifndef ROMNAME ifndef ROMNAME
ROMNAME := $(CONFIG) ROMNAME := $(CONFIG)
@ -218,9 +218,12 @@ bootrom.bin : bootrom.asm std.asm build.inc ver.inc memmgr.asm config_$(CONFIG).
bootapp.bin: bootapp.asm std.asm build.inc ver.inc bootapp.bin: bootapp.asm std.asm build.inc ver.inc
$(TASM) $(ASMOPT80) $< $@ $(TASM) $(ASMOPT80) $< $@
$(OUTDIR)/$(CPUROM).rom: $(CPUROM).asm std.asm build.inc config_$(CONFIG).asm
cp config_$(CONFIG).asm config.asm
$(ASMIMG) $(CPUROM).asm $(OUTDIR)/$(CPUROM).rom
#$(OUTDIR)/$(CPUROM).rom: $(CPUROM).asm std.asm build.inc config_$(CONFIG).asm
# cp config_$(CONFIG).asm config.asm
# $(ASMIMG) $(CPUROM).asm $(OUTDIR)/$(CPUROM).rom
$(OUTDIR)/$(CPUROM).rom: $(CPUROM).asm
$(ASMIMG) $< $@
pgzero.bin: pgzero.asm std.asm build.inc ver.inc pgzero.bin: pgzero.asm std.asm build.inc ver.inc
$(TASM) $(ASMOPT80) $< $@ $(TASM) $(ASMOPT80) $< $@
@ -260,7 +263,7 @@ $(OUTDIR)/$(ROMNAME).com: bootapp.bin syscfg.bin loader.bin hbios.bin dbgmon.bin
$(OUTDIR)/$(ROMNAME).sys: prefix.bin os.bin $(OUTDIR)/$(ROMNAME).sys: prefix.bin os.bin
cat prefix.bin os.bin >>$@ cat prefix.bin os.bin >>$@
$(OUTDIR)/$(CPUROM).bin: $(CPUROM).asm std.asm
$(OUTDIR)/$(CPUROM).bin: $(CPUROM).asm std.asm btromwbw.inc
$(ASMIMG) $(CPUROM).asm $@ $(ASMIMG) $(CPUROM).asm $@
std.asm: $(SRC)std.asm std.asm: $(SRC)std.asm
@ -343,6 +346,10 @@ $(CPUROM).asm: $(SRC)/$(CPUROM).asm
cp $< $@ cp $< $@
$(CVT) $@ $(CVT) $@
btromwbw.inc: $(SRC)/btromwbw.inc
cp $< $@
$(CVT) $@
memmgr.asm: $(SRC)memmgr.asm memmgr.asm: $(SRC)memmgr.asm
cp $< $@ cp $< $@
$(CVT) $@ $(CVT) $@

Loading…
Cancel
Save