2
0
Fork 0

Updated to lastest msxbuild version.

This commit is contained in:
Willem Cazander 2024-06-29 03:29:29 +02:00
parent 256a50ce80
commit 09666a622e
11 changed files with 30 additions and 36 deletions

View file

@ -12,10 +12,10 @@ $(BIOS_BIN):
$(call mb_mkdir,$(BIOS_BIN))
$(BIOS_BIN)/%.rel: $(BIOS_SRC)/%.asm | $(BIOS_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(BIOS_HEX): $(BIOS_RELS)
$(call mb_link_asm_dos,$(BIOS_HEX),$(BIOS_RELS))
$(call mb_sdcc_link_asm_dos,$(BIOS_HEX),$(BIOS_RELS))
$(BIOS_DAT): $(BIOS_HEX)
$(call mb_hex2bin,$(BIOS_HEX),$(BIOS_DAT))
$(call mb_sdcc_hex2bin,$(BIOS_HEX),$(BIOS_DAT))

View file

@ -8,8 +8,6 @@ BUILD_HELP += \\n\\t* $(DIST_RUN_NAME)
$(DIST_RUN_BIN):
$(call mb_mkdir,$(DIST_RUN_BIN))
$(call mb_package_emuctl,$(DIST_RUN_BIN))
$(call mb_package_nextor,$(DIST_RUN_BIN))
$(DIST_RUN_BIN)/init.com: bin/init/init.com | $(DIST_RUN_BIN)
cp $< $@;
@ -22,5 +20,5 @@ $(DIST_RUN_BIN)/dome.000: bin/domelib/dome.000 | $(DIST_RUN_BIN)
cp src/gfx/org/*.zop $(DIST_RUN_BIN);
$(DIST_RUN_NAME): $(DIST_RUN_INC_BIN)
$(call mb_autoexec_open_gui_cmd,$(DIST_RUN_BIN),init)
$(call mb_autoexec_open_gui80,$(DIST_RUN_BIN),init)
$(call mb_openmsx_dosctl,$(DIST_RUN_BIN))

View file

@ -14,10 +14,10 @@ $(DOME_BIN):
$(call mb_mkdir,$(DOME_BIN))
$(DOME_BIN)/%.rel: $(DOME_SRC)/%.asm | $(DOME_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(DOME_HEX): $(DOME_RELS)
$(call mb_link_asm_8000,$(DOME_HEX),$(DOME_RELS))
$(call mb_sdcc_link_asm_8000,$(DOME_HEX),$(DOME_RELS))
$(DOME_DAT): $(DOME_HEX)
$(call mb_hex2bin,$(DOME_HEX),$(DOME_DAT))
$(call mb_sdcc_hex2bin,$(DOME_HEX),$(DOME_DAT))

View file

@ -14,8 +14,6 @@ $(PATH_BIN)/mmenu/mmenu.dat
$(DOMELIB_BIN):
$(call mb_mkdir,$(DOMELIB_BIN))
$(call mb_package_emuctl,$(DOMELIB_BIN))
$(call mb_package_nextor,$(DOMELIB_BIN))
$(DOMELIB_BIN)/bios.dat: $(PATH_BIN)/bios/bios.dat | $(DOMELIB_BIN)
cp $< $@;
@ -39,7 +37,7 @@ $(DOMELIB_OUT): $(DOMELIB_BIN)/bios.dat $(DOMELIB_BIN)/dome.dat $(DOMELIB_BIN)/l
@echo === Generating autoexec.bat for command
$(call mb_autoexec_write_default,$(DOMELIB_BIN))
$(call mb_autoexec_append_echo,$(DOMELIB_BIN),Setup timeout for makelib)
$(call mb_autoexec_append_cmd,$(DOMELIB_BIN),omsxctl fail_after 120 seconds fail_makelib 126)
$(call mb_autoexec_append_cmd,$(DOMELIB_BIN),omsxctl fail_after 120 seconds failed_makelib 126)
$(call mb_autoexec_append_echo,$(DOMELIB_BIN),Running command makelib)
$(call mb_autoexec_append_cmd,$(DOMELIB_BIN),makelib)
$(call mb_autoexec_append_exit,$(DOMELIB_BIN))

View file

@ -20,9 +20,7 @@ BUILD_HELP += \\n\\t* gfx / test-gfx
$(GFX_BIN):
$(call mb_mkdir,$(GFX_BIN))
$(call mb_package_emuctl,$(GFX_BIN))
$(call mb_package_popcom,$(GFX_BIN))
$(call mb_package_nextor,$(GFX_BIN))
$(call mb_msxhub_get_popcom,$(GFX_BIN))
$(GFX_BIN)/%.zop: $(GFX_SRC)/%.ge5 | $(GFX_BIN)
cp $< $(GFX_BIN)

View file

@ -12,10 +12,10 @@ $(INIT_BIN):
$(call mb_mkdir,$(INIT_BIN))
$(INIT_BIN)/%.rel: $(INIT_SRC)/%.asm | $(INIT_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(INIT_HEX): $(INIT_RELS)
$(call mb_link_asm_dos,$(INIT_HEX),$(INIT_RELS))
$(call mb_sdcc_link_asm_dos,$(INIT_HEX),$(INIT_RELS))
$(INIT_COM): $(INIT_HEX)
$(call mb_hex2bin,$(INIT_HEX),$(INIT_COM))
$(call mb_sdcc_hex2bin,$(INIT_HEX),$(INIT_COM))

View file

@ -10,22 +10,22 @@ $(LEVELS_BIN):
#cp $(LEVELS_SRC)/*.00* $(LEVELS_BIN);
$(LEVELS_BIN)/code001.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(LEVELS_BIN)/code002.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(LEVELS_BIN)/code001.hex: $(LEVELS_BIN)/code001.rel
$(call mb_link_asm_1000,$@,$<)
$(call mb_sdcc_link_asm_1000,$@,$<)
$(LEVELS_BIN)/code002.hex: $(LEVELS_BIN)/code002.rel
$(call mb_link_asm_1000,$@,$<)
$(call mb_sdcc_link_asm_1000,$@,$<)
$(LEVELS_BIN)/code001.dat: $(LEVELS_BIN)/code001.hex
$(call mb_hex2bin,$<,$@)
$(call mb_sdcc_hex2bin,$<,$@)
$(LEVELS_BIN)/code002.dat: $(LEVELS_BIN)/code002.hex
$(call mb_hex2bin,$<,$@)
$(call mb_sdcc_hex2bin,$<,$@)
$(LEVELS_BIN)/code.001: $(LEVELS_BIN)/code001.dat
$(call mb_copy,$<,$@)

View file

@ -12,10 +12,10 @@ $(LOADER_BIN):
$(call mb_mkdir,$(LOADER_BIN))
$(LOADER_BIN)/%.rel: $(LOADER_SRC)/%.asm | $(LOADER_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(LOADER_HEX): $(LOADER_RELS)
$(call mb_link_asm_8000,$(LOADER_HEX),$(LOADER_RELS))
$(call mb_sdcc_link_asm_8000,$(LOADER_HEX),$(LOADER_RELS))
$(LOADER_DAT): $(LOADER_HEX)
$(call mb_hex2bin,$(LOADER_HEX),$(LOADER_DAT))
$(call mb_sdcc_hex2bin,$(LOADER_HEX),$(LOADER_DAT))

View file

@ -12,10 +12,10 @@ $(MAKELIB_BIN):
$(call mb_mkdir,$(MAKELIB_BIN))
$(MAKELIB_BIN)/%.rel: $(MAKELIB_SRC)/%.asm | $(MAKELIB_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(MAKELIB_HEX): $(MAKELIB_RELS)
$(call mb_link_asm_dos,$(MAKELIB_HEX),$(MAKELIB_RELS))
$(call mb_sdcc_link_asm_dos,$(MAKELIB_HEX),$(MAKELIB_RELS))
$(MAKELIB_COM): $(MAKELIB_HEX)
$(call mb_hex2bin,$(MAKELIB_HEX),$(MAKELIB_COM))
$(call mb_sdcc_hex2bin,$(MAKELIB_HEX),$(MAKELIB_COM))

View file

@ -12,10 +12,10 @@ $(MENU_BIN):
$(call mb_mkdir,$(MENU_BIN))
$(MENU_BIN)/%.rel: $(MENU_SRC)/%.asm | $(MENU_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(MENU_HEX): $(MENU_RELS)
$(call mb_link_asm_8000,$(MENU_HEX),$(MENU_RELS))
$(call mb_sdcc_link_asm_8000,$(MENU_HEX),$(MENU_RELS))
$(MENU_DAT): $(MENU_HEX)
$(call mb_hex2bin,$(MENU_HEX),$(MENU_DAT))
$(call mb_sdcc_hex2bin,$(MENU_HEX),$(MENU_DAT))

View file

@ -12,10 +12,10 @@ $(MMENU_BIN):
$(call mb_mkdir,$(MMENU_BIN))
$(MMENU_BIN)/%.rel: $(MMENU_SRC)/%.asm | $(MMENU_BIN)
$(call mb_compile_asm,$@,$<)
$(call mb_sdcc_compile_asm,$@,$<)
$(MMENU_HEX): $(MMENU_RELS)
$(call mb_link_asm_4000,$(MMENU_HEX),$(MMENU_RELS))
$(call mb_sdcc_link_asm_4000,$(MMENU_HEX),$(MMENU_RELS))
$(MMENU_DAT): $(MMENU_HEX)
$(call mb_hex2bin,$(MMENU_HEX),$(MMENU_DAT))
$(call mb_sdcc_hex2bin,$(MMENU_HEX),$(MMENU_DAT))