2
Fork 0

added dome and loader

This commit is contained in:
Willem 2018-12-25 00:50:41 +01:00
parent eaf2415a63
commit 95503dd119
7 changed files with 12105 additions and 0 deletions

20
src/init/0module.mk Normal file
View file

@ -0,0 +1,20 @@
INIT_NAME := init
INIT_SRC := $(PATH_SRC)/$(INIT_NAME)
INIT_BIN := $(PATH_BIN)/$(INIT_NAME)
INIT_HEX := $(INIT_BIN)/$(INIT_NAME).hex
INIT_COM := $(INIT_BIN)/$(INIT_NAME).com
INIT_RELS := $(INIT_BIN)/$(INIT_NAME).rel
INIT_CODE := $(INIT_SRC)/$(INIT_NAME).asm
$(INIT_BIN):
$(call mod_mkdir,$(INIT_BIN))
$(INIT_BIN)/%.rel: $(INIT_SRC)/%.asm | $(INIT_BIN)
$(call mod_compile_asm,$@,$<)
$(INIT_HEX): $(INIT_RELS)
$(call mod_link_asm_dos,$(INIT_HEX),$(INIT_RELS))
$(INIT_COM): $(INIT_HEX)
$(call mod_hex2com,$(INIT_HEX),$(INIT_COM))