Added dos1
This commit is contained in:
parent
cda4fecc32
commit
2583b34f1c
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
MB_CACHE ?=~/.cache
|
||||||
MB_MSXHUB_API ?= https://msxhub.com/api
|
MB_MSXHUB_API ?= https://msxhub.com/api
|
||||||
MB_MSXHUB_CACHE ?= $(MB_CACHE)/msxhub/repro-v0
|
MB_MSXHUB_CACHE ?= $(MB_CACHE)/msxhub/repro-v0
|
||||||
MB_MSXHUB_WGET ?= wget
|
MB_MSXHUB_WGET ?= wget
|
||||||
|
@ -19,6 +20,11 @@ define mb_msxhub_file
|
||||||
$(if $(wildcard $(dir $(1))$(call _mb_lowercase,$(notdir $(1)))),,$(call mb_copy,$(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(2)),$(dir $(1))$(call _mb_lowercase,$(notdir $(1)))))
|
$(if $(wildcard $(dir $(1))$(call _mb_lowercase,$(notdir $(1)))),,$(call mb_copy,$(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(2)),$(dir $(1))$(call _mb_lowercase,$(notdir $(1)))))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define mb_msxhub_get_dos1
|
||||||
|
$(call mb_msxhub_file,$(1)/MSXDOS.SYS,$(MB_MSXHUB_API)/MSXDOS1/1.03-1/get/MSXDOS1/msxdos.sys)
|
||||||
|
$(call mb_msxhub_file,$(1)/COMMAND.COM,$(MB_MSXHUB_API)/MSXDOS1/1.03-1/get/MSXDOS1/command.com)
|
||||||
|
endef
|
||||||
|
|
||||||
define mb_msxhub_get_dos2
|
define mb_msxhub_get_dos2
|
||||||
$(call mb_msxhub_file,$(1)/MSXDOS2.SYS,$(MB_MSXHUB_API)/MSXDOS2/2.20-1/get/MSXDOS2/MSXDOS2.SYS)
|
$(call mb_msxhub_file,$(1)/MSXDOS2.SYS,$(MB_MSXHUB_API)/MSXDOS2/2.20-1/get/MSXDOS2/MSXDOS2.SYS)
|
||||||
$(call mb_msxhub_file,$(1)/COMMAND2.COM,$(MB_MSXHUB_API)/MSXDOS2/2.20-1/get/MSXDOS2/COMMAND2.COM)
|
$(call mb_msxhub_file,$(1)/COMMAND2.COM,$(MB_MSXHUB_API)/MSXDOS2/2.20-1/get/MSXDOS2/COMMAND2.COM)
|
||||||
|
|
Loading…
Reference in a new issue