From ab64ca8b0cae04ce48af21f5199b3a70e39997c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Larsson=20Edstr=C3=B6m?= Date: Tue, 21 Jul 2015 23:27:52 +0200 Subject: [PATCH] reverted some commits not needed for this pull request --- hash/vectrex.xml | 12 ------------ src/emu/debug/debugcmd.c | 35 ----------------------------------- src/emu/debug/debughlp.c | 13 ------------- 3 files changed, 60 deletions(-) diff --git a/hash/vectrex.xml b/hash/vectrex.xml index 8b72670b12a..69ff7c689a8 100644 --- a/hash/vectrex.xml +++ b/hash/vectrex.xml @@ -13,18 +13,6 @@ guys - - Bouncer - things bouncing in a box - 2015 - Joakim Larsson Edstrom - - - - - - - - 3D Mine Storm 1983 diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index 85966bf1b5d..d7e5f48f79c 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -93,7 +93,6 @@ static UINT64 execute_if(symbol_table &table, void *ref, int params, const UINT6 static UINT64 global_get(symbol_table &table, void *ref); static void global_set(symbol_table &table, void *ref, UINT64 value); -static void execute_show(running_machine &machine, int ref, int params, const char **param); static void execute_help(running_machine &machine, int ref, int params, const char **param); static void execute_print(running_machine &machine, int ref, int params, const char **param); static void execute_printf(running_machine &machine, int ref, int params, const char **param); @@ -268,7 +267,6 @@ void debug_command_init(running_machine &machine) } /* add all the commands */ - debug_console_register_command(machine, "show", CMDFLAG_NONE, 0, 0, 1, execute_show); debug_console_register_command(machine, "help", CMDFLAG_NONE, 0, 0, 1, execute_help); debug_console_register_command(machine, "print", CMDFLAG_NONE, 0, 1, MAX_COMMAND_PARAMS, execute_print); debug_console_register_command(machine, "printf", CMDFLAG_NONE, 0, 1, MAX_COMMAND_PARAMS, execute_printf); @@ -671,39 +669,6 @@ static int debug_command_parameter_command(running_machine &machine, const char COMMAND HELPERS ***************************************************************************/ -/*------------------------------------------------- - show infos of various kind --------------------------------------------------*/ - -static void execute_show(running_machine &machine, int ref, int params, const char *param[]) -{ - class cpu_device *cpu; - static long long unsigned int last = 0uLL; - - /* CPU is implicit */ - if (!debug_command_parameter_cpu(machine, NULL, (device_t **) &cpu)) - return; - - if (params == 0) - { - debug_console_printf(machine, "Show what?\n"); - } - else if (params == 1) - { - if (!strcmp(param[0], "clock")) - { - debug_console_printf(machine, "The clock is: %lld(0x%llx) and that is %lld(0x%llx) CPU clock cycles since last 'show clock' command\n", - cpu->total_cycles(), cpu->total_cycles(), cpu->total_cycles() - last, cpu->total_cycles() - last); - last = cpu->total_cycles(); - } - else - { - debug_console_printf(machine, "Unknown property %s. ", param[0]); - debug_console_printf(machine, "Valid properties are: 'clock'\n"); - } - } -} - /*------------------------------------------------- execute_help - execute the help command -------------------------------------------------*/ diff --git a/src/emu/debug/debughlp.c b/src/emu/debug/debughlp.c index 14b68f588eb..1dcb7a31477 100644 --- a/src/emu/debug/debughlp.c +++ b/src/emu/debug/debughlp.c @@ -1457,19 +1457,6 @@ static const help_item static_help_list[] = "\n" "unmount cart\n" " Unmounts any file mounted on device named cart.\n" - }, - { - "show", - "\n" - " show \n" - "\n" - "Shows the value(s) of a property.\nValid properties are:\n" - " clock - prints the total number of clockcycles consumed from reset and the diff from last time the command was issued.\n" - "\n" - "Examples:\n" - "\n" - "show clock\n" - " The clock is: 4816918(0x00498016) and that is 3(0x3) CPU clock cycles since last 'show clock' command\n\n" } };