2
0
Fork 0

added loader

This commit is contained in:
Willem 2018-12-25 00:49:18 +01:00
parent 050379a230
commit e509b4fda4
2 changed files with 2532 additions and 0 deletions

20
src/loader/0module.mk Normal file
View 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

File diff suppressed because it is too large Load diff