Fixed tree folder build structure support.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -12s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -12s
This commit is contained in:
parent
93f57d273d
commit
f0cccf2bb3
3 changed files with 2 additions and 2 deletions
14
src/tools/gluemsx1/0module.mk
Normal file
14
src/tools/gluemsx1/0module.mk
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
MBBOOT80_SRC := $(call mb_make_call,mb_proj_module_path_src,$(PATH_SRC))
|
||||
MBBOOT80_BIN := $(call mb_make_call,mb_proj_module_path_bin,$(PATH_SRC),$(PATH_BIN))
|
||||
|
||||
|
||||
$(call mb_make_call,mb_flow_sdcc_bdos_mono,$(MBBOOT80_BIN),$(MBBOOT80_SRC),mbboot80)
|
||||
$(call mb_make_call,mb_assert_flow_bdos_grep,$(MBBOOT80_BIN),check-boot80,mbboot80,"mb::boot mode 80")
|
||||
|
||||
|
||||
$(MBBOOT80_BIN)/@release-local: | $(MBBOOT80_BIN)/@build
|
||||
_$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_os_file_copy,$(MBBOOT80_BIN)/mbboot80.com,lib/emuctl/mbboot80.com)
|
||||
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_doc_target,$(MBBOOT80_BIN)/@release-local,"Updates binary copy in lib/emuctl folder.")
|
||||
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_make_target_phony,$(MBBOOT80_BIN)/@release-local)
|
||||
|
||||
51
src/tools/gluemsx1/mbboot80.asm
Normal file
51
src/tools/gluemsx1/mbboot80.asm
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
|
||||
.area _CODE
|
||||
JP MAIN
|
||||
.db 0x0D
|
||||
.db 0x0D,0x0A
|
||||
.str "MSXBUILD Boot mode 80 to support msx1 systems."
|
||||
.db 0x0D,0x0A
|
||||
.db 0x1A
|
||||
|
||||
MAIN:
|
||||
LD HL,#0x002D
|
||||
LD A,(0xFCC1)
|
||||
CALL 0x0C
|
||||
LD HL,#TXT_MODE80_MSX1
|
||||
OR A
|
||||
JP Z,PUT_TXT
|
||||
|
||||
LD A,#80
|
||||
LD (0xF3AE),A
|
||||
LD A,#0
|
||||
LD IY,(0xFCC1)
|
||||
LD IX,#0x5F
|
||||
CALL 0x1C
|
||||
|
||||
LD HL,#TXT_MODE80
|
||||
|
||||
PUT_TXT:
|
||||
LD A,(HL)
|
||||
CP #0x1D
|
||||
RET Z
|
||||
LD E,A
|
||||
LD C,#2
|
||||
PUSH HL
|
||||
CALL 0x5
|
||||
POP HL
|
||||
INC HL
|
||||
JR PUT_TXT
|
||||
|
||||
;=========== MSX_TYPE TXT'S
|
||||
|
||||
TXT_MODE80:
|
||||
.str "mb::boot mode 80"
|
||||
.db 0x0D,0x0A
|
||||
.db 0x1D
|
||||
|
||||
TXT_MODE80_MSX1:
|
||||
.str "mb::boot mode MSX1"
|
||||
.db 0x0D,0x0A
|
||||
.db 0x1D
|
||||
|
||||
.area _DATA
|
||||
Loading…
Add table
Add a link
Reference in a new issue