2
0
Fork 0

updated dist-run

This commit is contained in:
Willem 2018-12-25 00:51:28 +01:00
parent 95503dd119
commit 9207a604d5
2 changed files with 27 additions and 17 deletions

View file

@ -2,27 +2,23 @@
DIST_RUN_NAME := dist-run
DIST_RUN_BIN := $(PATH_BIN)/$(DIST_RUN_NAME)
DIST_RUN_SRC := $(PATH_SRC)/$(DIST_RUN_NAME)
DIST_RUN_INC := autoexec.bat COMMAND.COM MSXDOS.SYS
DIST_RUN_INC := autoexec.bat init.com dome.000
DIST_RUN_INC_BIN := $(patsubst %,$(DIST_RUN_BIN)/%,$(DIST_RUN_INC))
DIST_RUN_INC_SRC := $(patsubst %,$(DIST_RUN_SRC)/%,$(DIST_RUN_INC))
DIST_RUN_DEP_TAR := $(PATH_BIN)/dist.tar.gz
DIST_RUN_DEP := $(DIST_RUN_BIN)/tara.com
$(DIST_RUN_BIN):
$(call mod_mkdir,$(DIST_RUN_BIN))
$(DIST_RUN_BIN)/autoexec.bat: $(DIST_RUN_SRC)/autoexec.bat | $(DIST_RUN_BIN)
unix2dos -n $< $@;
$(DIST_RUN_BIN)/COMMAND.COM: $(DIST_RUN_SRC)/COMMAND.COM | $(DIST_RUN_BIN)
cp $< $@;
$(DIST_RUN_BIN)/MSXDOS.SYS: $(DIST_RUN_SRC)/MSXDOS.SYS | $(DIST_RUN_BIN)
cp $< $@;
$(DIST_RUN_DEP): $(DIST_RUN_DEP_TAR) | $(DIST_RUN_BIN)
cp $(PATH_BIN)/dist/* $(DIST_RUN_BIN);
$(DIST_RUN_BIN)/init.com: bin/init/init.com | $(DIST_RUN_BIN)
cp $< $@;
$(DIST_RUN_BIN)/dome.000: bin/domelib/dome.000 | $(DIST_RUN_BIN)
cp $< $@;
cp bin/domelib/*.zop $(DIST_RUN_BIN);
cp bin/domelib/*.dat $(DIST_RUN_BIN);
cp bin/domelib/*.00* $(DIST_RUN_BIN);
$(DIST_RUN_NAME): $(DIST_RUN_INC_BIN) $(DIST_RUN_DEP)
openmsx -machine Philips_NMS_8250 -ext video9000 -ext ram4mb -ext ide -diska $(DIST_RUN_BIN);
$(DIST_RUN_NAME): $(DIST_RUN_INC_BIN)
$(call run_openmsx_dos2, $(DIST_RUN_BIN))

View file

@ -1,2 +1,16 @@
udome
mode 80
echo === Boot watchdog timeout
omsxctl set boot_wdt
echo === Disable boot watchdog
omsxctl set boot_wdt 0
echo === Set fail_after
omsxctl fail_after 3000
echo === Plug mouse
omsxctl plug joyporta mouse
echo === Set speed
omsxctl set speed 350
echo === Enable speed throttling
omsxctl set throttle on
echo === Start program
init
omsxctl exit