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
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
-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