git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2947
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2003-10-15 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+ Some hc08 related updates that I missed earlier
+ * sim/ucsim/stypes.h
+ * support/regression/ports/spec.mk
+
2003-10-15 Erik Petrich <epetrich@ivorytower.norman.ok.us>
New target "hc08" for the Motorola 68hc08 family of micros
#define CPU_XA 0x0001
#define CPU_ALL_XA (CPU_XA)
+#define CPU_HC08 0x0001
+#define CPU_ALL_HC08 (CPU_HC08)
+
#define CPU_CMOS 0x0001
#define CPU_HMOS 0x0002
-# Port specification for the xxxx port running with uCsim
-#
-
# path to uCsim
-UCHC08 = $(SDCC_DIR)/bin/shc08
+UCHC08A = $(SDCC_DIR)/sim/ucsim/hc08.src/shc08
+UCHC08B = $(SDCC_DIR)/bin/shc08
+
+UCHC08 = $(shell if [ -f $(UCHC08A) ]; then echo $(UCHC08A); else echo $(UCHC08B); fi)
SDCCFLAGS +=-mhc08 --less-pedantic --out-fmt-ihx -DREENTRANT=
#SDCCFLAGS +=--less-pedantic -DREENTRANT=reentrant