added loader
This commit is contained in:
parent
050379a230
commit
e509b4fda4
20
src/loader/0module.mk
Normal file
20
src/loader/0module.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
LOADER_NAME := loader
|
||||
LOADER_SRC := $(PATH_SRC)/$(LOADER_NAME)
|
||||
LOADER_BIN := $(PATH_BIN)/$(LOADER_NAME)
|
||||
LOADER_HEX := $(LOADER_BIN)/$(LOADER_NAME).hex
|
||||
LOADER_DAT := $(LOADER_BIN)/$(LOADER_NAME).dat
|
||||
LOADER_RELS := $(LOADER_BIN)/$(LOADER_NAME).rel
|
||||
LOADER_CODE := $(LOADER_SRC)/$(LOADER_NAME).asm
|
||||
|
||||
$(LOADER_BIN):
|
||||
$(call mod_mkdir,$(LOADER_BIN))
|
||||
|
||||
$(LOADER_BIN)/%.rel: $(LOADER_SRC)/%.asm | $(LOADER_BIN)
|
||||
$(call mod_compile_asm,$@,$<)
|
||||
|
||||
$(LOADER_HEX): $(LOADER_RELS)
|
||||
$(call mod_link_asm_8000,$(LOADER_HEX),$(LOADER_RELS))
|
||||
|
||||
$(LOADER_DAT): $(LOADER_HEX)
|
||||
$(call mod_hex2dat,$(LOADER_HEX),$(LOADER_DAT))
|
2512
src/loader/loader.asm
Normal file
2512
src/loader/loader.asm
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue