2
0
Fork 0

added menus

This commit is contained in:
Willem 2018-12-25 00:49:40 +01:00
parent e509b4fda4
commit eaf2415a63
4 changed files with 1241 additions and 0 deletions

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

@ -0,0 +1,20 @@
MENU_NAME := menu
MENU_SRC := $(PATH_SRC)/$(MENU_NAME)
MENU_BIN := $(PATH_BIN)/$(MENU_NAME)
MENU_HEX := $(MENU_BIN)/$(MENU_NAME).hex
MENU_DAT := $(MENU_BIN)/$(MENU_NAME).dat
MENU_RELS := $(MENU_BIN)/$(MENU_NAME).rel
MENU_CODE := $(MENU_SRC)/$(MENU_NAME).asm
$(MENU_BIN):
$(call mod_mkdir,$(MENU_BIN))
$(MENU_BIN)/%.rel: $(MENU_SRC)/%.asm | $(MENU_BIN)
$(call mod_compile_asm,$@,$<)
$(MENU_HEX): $(MENU_RELS)
$(call mod_link_asm_8000,$(MENU_HEX),$(MENU_RELS))
$(MENU_DAT): $(MENU_HEX)
$(call mod_hex2dat,$(MENU_HEX),$(MENU_DAT))

18
src/menu/menu.asm Normal file
View file

@ -0,0 +1,18 @@
;=============================
; MENU.DAT
;
; DEZE CODE WORDT AANGEROEPEN ALS JE OP DE MENU BUUTON DRUKT IN DOME
;
;===========================
; org 0x8000
.area _CODE
DOME_MENU_CALL:
RET
.str "wegwerTGQERGetrgergertgE"
.str "weRGerwgerwhwtrhwtrhwtrhtrwhrwthwtrh"
.area _DATA

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

@ -0,0 +1,20 @@
MMENU_NAME := mmenu
MMENU_SRC := $(PATH_SRC)/$(MMENU_NAME)
MMENU_BIN := $(PATH_BIN)/$(MMENU_NAME)
MMENU_HEX := $(MMENU_BIN)/$(MMENU_NAME).hex
MMENU_DAT := $(MMENU_BIN)/$(MMENU_NAME).dat
MMENU_RELS := $(MMENU_BIN)/$(MMENU_NAME).rel
MMENU_CODE := $(MMENU_SRC)/$(MMENU_NAME).asm
$(MMENU_BIN):
$(call mod_mkdir,$(MMENU_BIN))
$(MMENU_BIN)/%.rel: $(MMENU_SRC)/%.asm | $(MMENU_BIN)
$(call mod_compile_asm,$@,$<)
$(MMENU_HEX): $(MMENU_RELS)
$(call mod_link_asm_4000,$(MMENU_HEX),$(MMENU_RELS))
$(MMENU_DAT): $(MMENU_HEX)
$(call mod_hex2dat,$(MMENU_HEX),$(MMENU_DAT))

1183
src/mmenu/mmenu.asm Normal file

File diff suppressed because it is too large Load diff