diff --git a/Makefile b/Makefile index 39745dbbe..13e965c9e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + .PHONY: all mostlyclean clean install zip avail unavail bin lib doc html info samples test util checkstyle check .SUFFIXES: diff --git a/asminc/cpu.mac b/asminc/cpu.mac index 084a42119..e3ab49014 100644 --- a/asminc/cpu.mac +++ b/asminc/cpu.mac @@ -8,8 +8,9 @@ CPU_ISET_65C02 = $0020 CPU_ISET_65816 = $0040 CPU_ISET_SWEET16 = $0080 CPU_ISET_HUC6280 = $0100 -;CPU_ISET_M740 = $0200 not actually implemented +CPU_ISET_M740 = $0200 CPU_ISET_4510 = $0400 +CPU_ISET_45GS02 = $0800 ; CPU capabilities CPU_NONE = CPU_ISET_NONE @@ -20,5 +21,9 @@ CPU_65SC02 = CPU_ISET_6502|CPU_ISET_65SC02 CPU_65C02 = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02 CPU_65816 = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65816 CPU_SWEET16 = CPU_ISET_SWEET16 +; NOTE: HUC6280 removes "wai" ($cb) and "stp" ($db) from the 65C02 instruction set CPU_HUC6280 = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02|CPU_ISET_HUC6280 +; NOTE: 45100 replaces "wai" ($cb) and "stp" ($db) of the 65C02 instruction set CPU_4510 = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02|CPU_ISET_4510 +CPU_45GS02 = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02|CPU_ISET_4510|CPU_ISET_45GS02 +CPU_M740 = CPU_ISET_6502|CPU_ISET_M740 diff --git a/doc/Makefile b/doc/Makefile index bfdf0cce3..330f7b31c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + ifneq ($(shell echo),) CMD_EXE = 1 endif diff --git a/doc/ca65.sgml b/doc/ca65.sgml index 8452d9102..68e2f3118 100644 --- a/doc/ca65.sgml +++ b/doc/ca65.sgml @@ -151,8 +151,19 @@ 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, 6502X, 6502DTV, 65SC02, 65C02, 65816, sweet16, HuC6280, 4510 + + 6502 - NMOS 6502 (all legal instructions) + 6502X - NMOS 6502 with all undocumented instructions + 6502DTV - the emulated CPU of the C64DTV device + 65SC02 - first CMOS instruction set (no bit manipulation, no wai/stp) + 65C02 - full CMOS instruction set (has bit manipulation and wai/stp) + 65816 - the CPU of the SNES, and the SCPU + HuC6280 - the CPU of the PC engine + 4510 - the CPU of the Commodore C65 + 45GS02 - the CPU of the Commodore MEGA65 + M740 - a Microcontroller by Mitsubishi + sweet16 - an interpreter for a pseudo 16 bit CPU +