From 0538184699358b9f2f3427277cfe1c30d7c64fef Mon Sep 17 00:00:00 2001 From: Sven Oliver Moll Date: Mon, 29 Aug 2016 10:45:18 +0200 Subject: [PATCH] Add 4510 support for C65/C64DX --- doc/ca65.sgml | 39 +++-- src/ca65/ea65.c | 19 ++- src/ca65/instr.c | 234 +++++++++++++++++++++++++-- src/ca65/instr.h | 6 +- src/ca65/main.c | 4 + src/ca65/scanner.c | 104 ++++++------ src/ca65/token.h | 1 + src/common/cpu.c | 2 + src/common/cpu.h | 2 + src/common/target.c | 2 + src/common/target.h | 1 + testcode/assembler/.gitignore | 9 +- testcode/assembler/4510all.ref | Bin 0 -> 564 bytes testcode/assembler/4510all.s | 278 +++++++++++++++++++++++++++++++++ testcode/assembler/Makefile | 11 +- 15 files changed, 630 insertions(+), 82 deletions(-) create mode 100644 testcode/assembler/4510all.ref create mode 100644 testcode/assembler/4510all.s diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 050e75628..f59ce44cb 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -152,7 +152,7 @@ Here is a description of all the command line options: Set the default for the CPU type. The option takes a parameter, which may be one of - 6502, 65SC02, 65C02, 65816, sweet16, HuC6280 + 6502, 6502X, 65SC02, 65C02, 65816, sweet16, HuC6280, 4510