2024-07-12 15:59:26 +00:00
|
|
|
|
|
2024-07-14 16:36:59 +00:00
|
|
|
|
# TODO: to create bin files use;
|
|
|
|
|
# l80 /P:C000,hello,hello/N/X/Y/E
|
|
|
|
|
# and
|
|
|
|
|
# hextobin hello.hex hello.bin
|
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define __mb-flow-macro80-bdos-mono
|
2024-07-12 15:59:26 +00:00
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPE)
|
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(1)/@@process-deps:: $(1)/$(3).mac
|
|
|
|
|
$(1)/$(3).mac: $(2)/$(3).mac | $(1)/@prepare
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_@RECIPE)$$(call mb-make-call,mb-conv-unix2dos,$(2)/$(3).mac,$(1)/$(3).mac)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).mac)
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(1)/@@compile-deps:: $(1)/$(3).rel
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(1)/$(3).rel: $(1)/$(3).mac
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_@RECIPE)$$(call mb-make-call,mb-msxpipe-safe-cmd,$(1),m80 $$(MB_MAKE_EQUALS)$(3)/Z)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).rel)
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(1)/@@link-deps:: $(1)/$(3).hex
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(1)/$(3).hex: $(1)/$(3).rel
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_@RECIPE)$$(call mb-make-call,mb-msxpipe-safe-cmd,$(1),l80 $(3)$$(MB_MAKE_COMMA)$(3)/N/X/Y/E)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).hex)
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(1)/@@build-deps:: $(1)/$(3).com
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(1)/$(3).com: $(1)/$(3).hex
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_@RECIPE)$$(call mb-make-call,mb-msxpipe-safe-cmd,$(1),hextocom $(3))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).com)
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
|
|
|
|
|
endef
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-flow-macro80-bdos-mono
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-make-check-arg3,$(0),$(1),$(2),$(3))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-flow-proj-setup,$(1),@init,$(1))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-flow-proj-module-run,$(1))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-flow-proj-prepare-packages,$(1),macro80 z80asmuk,utils)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval $(call mb-make-call,__$(0),$(1),$(2),$(3)))
|
2024-07-12 15:59:26 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function-flow,mb-flow-macro80-bdos-mono,Inject flow of m80 toolchain bdos mono file module.,<bin-dir> <src-dir> <objname>)
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|