diff --git a/src/Makefile b/src/Makefile index 4ece135..f41091e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -81,9 +81,10 @@ endif export AS = vasmm68k_mot export ASFLAGS = $(VASM_CPU) -quiet -Fvobj -nowarn=62 -DMODEL=$(MODEL_NUMBER) export CC = vc -DEFINES = -DCPU=$(CPU_NUMBER) -DMODEL=$(MODEL_NUMBER) -D__NOINLINE__ # -DKBD_POLLED +DEFINES = -DCPU=$(CPU_NUMBER) -DMODEL=$(MODEL_NUMBER)# -D__NOINLINE__ # -DKBD_POLLED -# Logging level +# Logging level, see log_level.h +DEFAULT_LOG_LEVEL= ifeq ("$(DEFAULT_LOG_LEVEL)","") else DEFINES := $(DEFINES) -DDEFAULT_LOG_LEVEL=$(DEFAULT_LOG_LEVEL) diff --git a/src/cli/cli.c b/src/cli/cli.c index 4457166..c44c77e 100644 --- a/src/cli/cli.c +++ b/src/cli/cli.c @@ -345,6 +345,7 @@ short cli_exec(short channel, char * command, int argc, const char * argv[]) { while ((commands != 0) && (commands->name != 0)) { // Does the command match the name? if (strcmp(commands->name, command) == 0) { + //print(channel,"Executing:");print(channel,commands->name);print(channel,"\r\n"); // Found it, execute the handler return commands->handler(channel, argc, argv); } else { @@ -879,7 +880,7 @@ void cli_setup_screen(short channel, const char * path, short is_active) { print_banner(channel, cli_sys_info.model); - sprintf(message, "\nFoenix/MCP (Vincent's fork) v%02u.%02u.%04u\n\n", (unsigned int)cli_sys_info.mcp_version, (unsigned int)cli_sys_info.mcp_rev, (unsigned int)cli_sys_info.mcp_build); + sprintf(message, "\nFoenix/MCP v%02u.%02u.%04u\n\n", (unsigned int)cli_sys_info.mcp_version, (unsigned int)cli_sys_info.mcp_rev, (unsigned int)cli_sys_info.mcp_build); print(channel, message); print(channel, "Type HELP or ? for help.\n"); }