reverted some commits not needed for this pull request

This commit is contained in:
Joakim Larsson Edström 2015-07-21 23:27:52 +02:00
parent 06f46524f9
commit ab64ca8b0c
3 changed files with 0 additions and 60 deletions

View File

@ -13,18 +13,6 @@ guys
<softwarelist name="vectrex" description="GCE Vectrex cartridges">
<software name="bouncer">
<description>Bouncer - things bouncing in a box</description>
<year>2015</year>
<publisher>Joakim Larsson Edstrom</publisher>
<part name="cart" interface="vectrex_cart">
<feature name="slot" value="vec_rom" />
<dataarea name="rom" size="8192">
<rom name="bouncer.bin" size="8192" crc="b2313487" sha1="1731e892da8945fe4945b43847d23960c581682a" offset="0" />
</dataarea>
</part>
</software>
<software name="3dminest">
<description>3D Mine Storm</description>
<year>1983</year>

View File

@ -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
-------------------------------------------------*/

View File

@ -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 <property>\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"
}
};