1 # Regression test specification for the mos6502 target running with uCsim
3 # simulation timeout in cycles
4 SIM_CYCLES
= 1000000000
7 AS
= $(SDCC_BIN_PATH
)/sdas6500
$(EXEEXT
)
8 UC65
= $(SDCC_BIN_PATH
)/ucsim_mos6502
$(EXEEXT
)
11 UC65
= $(UCSIM_DIR
)/mos6502.src
/ucsim_mos6502
$(EXEEXT
)
13 UC65
= $(top_builddir
)/sim
/ucsim
/src
/sims
/mos6502.src
/ucsim_mos6502
$(EXEEXT
)
15 AS
= $(WINE
) $(top_builddir
)/bin
/sdas6500
$(EXEEXT
)
17 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
18 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/mos6502-stack-auto
25 SDCCFLAGS
+= -I
$(top_srcdir
)
28 SDCCFLAGS
+= -mmos6502
--stack-auto
--less-pedantic
--code-loc
0x8000 --xram-loc
0x0200 -DSTACK_SIZE
=256
29 LINKFLAGS
+= mos6502.lib
34 # otherwise `make` deletes testfwk.rel and `make -j` will fail
35 .PRECIOUS
: $(PORT_CASES_DIR
)/%$(OBJEXT
)
38 EXTRAS
= $(PORT_CASES_DIR
)/testfwk
$(OBJEXT
) $(PORT_CASES_DIR
)/support
$(OBJEXT
)
39 include $(srcdir)/fwk
/lib
/spec.mk