From ca4023f03f9f64e75739245a7e4cffce74071846 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 19 Nov 2016 12:02:23 +0000 Subject: [PATCH] 6502: switch to current cc65 not mine with hacks --- Kernel/cpu-6502/rules.mk | 2 +- Kernel/platform-tgl6502/README | 3 +-- Kernel/platform-v65/README | 5 ++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Kernel/cpu-6502/rules.mk b/Kernel/cpu-6502/rules.mk index 48d06b5c..818483a9 100644 --- a/Kernel/cpu-6502/rules.mk +++ b/Kernel/cpu-6502/rules.mk @@ -1,7 +1,7 @@ export CROSS_AS=ca65 export CROSS_LD=cl65 export CROSS_CC=cl65 -export CROSS_CCOPTS=--all-fastcall -c -O -t none -I$(ROOT_DIR)/cpu-6502 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include +export CROSS_CCOPTS=-c -O -t none -I$(ROOT_DIR)/cpu-6502 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include # # The 6502 compiler produces what is mostly threadcode and is quite determined # that the runtime lives in the code segment. As we want the runtime in common diff --git a/Kernel/platform-tgl6502/README b/Kernel/platform-tgl6502/README index ee7e39aa..2c1d28b0 100644 --- a/Kernel/platform-tgl6502/README +++ b/Kernel/platform-tgl6502/README @@ -4,8 +4,7 @@ to play with 6502isms easily See: http://thegaragelab.com/programming-the-tgl-6502/ -You need a cc65 git tree, released cc65 can't compile Fuzix as it lacks a -compiler bug fix I contributed. +Use a modern cc65 from https://github.com/cc65/cc65 Our memory mapping looks like this diff --git a/Kernel/platform-v65/README b/Kernel/platform-v65/README index 5e0afa3d..c6da10fd 100644 --- a/Kernel/platform-v65/README +++ b/Kernel/platform-v65/README @@ -1,6 +1,5 @@ -You need my cc65 git tree, released cc65 can't compile Fuzix as it lacks a -compiler bug fix I contributed. Actually the latest cc65 might work - I need -to upgrade and see. +Use a modern cc65 from https://github.com/cc65/cc65 + Our memory mapping looks like this -- 2.34.1