From 6ebf888255ac24273ea698c181af3a3cd68d8f53 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 27 Nov 2014 01:09:53 +0000 Subject: [PATCH] Makefile: split video/videodata on 6809 as we are ROMming video Also add the new tools With this lot done the Dragon builds and gets to the bootdev prompt pending writing some actual drivers. Still lots of other stuff busted - time_t is 32bit and needs fixing up really, syscall and irq are not really done at all. Endianisms - who knows 8) --- Kernel/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Kernel/Makefile b/Kernel/Makefile index 3fab9dee..8e536577 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -1,9 +1,9 @@ TARGET_LIST = platform-nc100 platform-micropack platform-pcw8256 platform-socz80 platform-zx128 platform-trs80 platform-z80pack platform-z80pack-lite platform-z80pack32 platform-dragon -export TARGET= z80pack32 -export CPU = z80 -#export TARGET = dragon -#export CPU = 6809 +#export TARGET= z80pack32 +#export CPU = z80 +export TARGET = dragon +export CPU = 6809 #export TARGET = 6502test #export CPU = 6502 export VERSION = "0.1" @@ -49,7 +49,7 @@ export CROSS_CCOPTS=-c -Wall -O2 -msoft-reg-count=4 -mfar-stack-param -I$(ROOT_D export CROSS_CC_SEG1=-mcode-section=.text -mfar-code-page=1 export CROSS_CC_SEG2=-mcode-section=.text2 -mfar-code-page=2 export CROSS_CC_SEGDISC=-mcode-section=.discard -mfar-code-page=3 -export CROSS_CC_VIDEO=-mcode-section=.video -mdata-section=.video -mfar-code-page=4 +export CROSS_CC_VIDEO=-mcode-section=.video -mdata-section=.videodata -mfar-code-page=4 export ASOPTS= export BINEXT = .o endif @@ -150,10 +150,13 @@ tools/make4x6: tools/make4x6.c font4x6.c: tools/make4x6 tools/make4x6 >font4x6.c +tools/decbdragon: tools/decbdragon.c + + ifeq ($(CPU), z80) uzi.ihx: target $(OBJS) platform-$(TARGET)/uzi.lnk $(CROSS_LD) -n -k $(LIBZ80) -f platform-$(TARGET)/uzi.lnk - + fuzix.bin: uzi.ihx tools/analysemap tools/memhogs tools/binman tools/analysemap