From 3b9032a7c4ef908ce2cd43467925bb0e45b62092 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 6 Feb 2011 16:04:46 +0000 Subject: [PATCH] Added disassembler support for the NMOS 6502 with illegal opcodes. git-svn-id: svn://svn.cc65.org/cc65/trunk@4966 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/da65.sgml | 10 +- src/da65/handler.c | 14 +- src/da65/handler.h | 18 +-- src/da65/make/gcc.mak | 1 + src/da65/make/watcom.mak | 1 + src/da65/opc6502.c | 32 ++-- src/da65/opc6502x.c | 312 +++++++++++++++++++++++++++++++++++++++ src/da65/opc6502x.h | 61 ++++++++ src/da65/opc65816.c | 38 ++--- src/da65/opc65c02.c | 34 ++--- src/da65/opc65sc02.c | 34 ++--- src/da65/opchuc6280.c | 52 +++---- src/da65/opctable.c | 18 ++- 13 files changed, 502 insertions(+), 123 deletions(-) create mode 100644 src/da65/opc6502x.c create mode 100644 src/da65/opc6502x.h diff --git a/doc/da65.sgml b/doc/da65.sgml index d1a860189..58d031eff 100644 --- a/doc/da65.sgml +++ b/doc/da65.sgml @@ -107,9 +107,10 @@ Here is a description of all the command line options: Set the CPU type. The option takes a parameter, which may be one of - 6502, 65SC02, 65C02 + 6502, 6502x, 65sc02, 65c02, huc6280 - Support for the 65816 is currently not available. + 6502x is the NMOS 6502 with illegal opcodes. huc6280 is the CPU of the PC + engine. Support for the 65816 is currently not available.