问题描述
我正在尝试使用fasmg和ez80-lib为ti 83 Premium ce将ez80程序转换为.8xp,但是在尝试编译时出现以下错误:
INCLUDE="include;include/fasmg-ez80" fasmg DragonLairTI.asm DragonLairTI.8xp
/bin/sh: /c/Program Files (x86)/fasmg/fasmg: cannot execute binary file: Exec format error
make: *** [Makefile:28: DragonLairTI.8xp] Error 126
makefile很简单:
INCLUDES = $(addprefix include/,$(addprefix fasmg-ez80/,ez80.inc commands.alm ez80.alm) ti84pceg.inc)
all: DragonLairTI
unprot: FASMG_FLAGS = -i "protected equ"
unprot: all
$(MV) DragonLairTI.8xp
$(MAKE)
$(ZIP) DragonLairTI.zip DragonLairTI.8xp
%.8xp: %.asm $(INCLUDES) Makefile
INCLUDE="include;include/fasmg-ez80" $(FASMG) $(FASMG_FLAGS) $< $@
include/ti84pceg.inc: include/ti84pce.inc Makefile
include/fasmg-ez80/ti84pce.sed $< > $@
$(SED) --expression='3s/^/element anovaf_vars\n/' --in-place $@
include/ti84pce.inc: include/fasmg-ez80/bin/fetch_ti84pce Makefile
$(MKDIR) include
$(CD) include && fasmg-ez80/bin/fetch_ti84pce
任何想法我该如何解决?
如果您想重新创建该错误,我尝试过,可以使用ez80 lib创建者的应用程序:https://github.com/jacobly0/asmhook
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)