Merge pull request #1398 from fulivi/hp9845_tools

Imgtool now supports HP9845B tape image
This commit is contained in:
R. Belmont 2016-09-16 14:05:35 -04:00 committed by GitHub
commit 0ecea843d0
5 changed files with 1302 additions and 1 deletions

View File

@ -734,6 +734,7 @@ files {
MAME_DIR .. "src/tools/imgtool/modules/psion.cpp",
MAME_DIR .. "src/tools/imgtool/modules/bml3.cpp",
MAME_DIR .. "src/tools/imgtool/modules/hp48.cpp",
MAME_DIR .. "src/tools/imgtool/modules/hp9845_tape.cpp",
}
configuration { "mingw*" or "vs*" }

View File

@ -743,10 +743,10 @@ static void listoptions(const util::option_guide &opt_guide, const char *opt_spe
fprintf(stdout, "Option Allowed values Description\n");
fprintf(stdout, "---------------- ------------------------------ -----------\n");
std::stringstream description_buffer;
for (auto iter = resolution.entries_begin(); iter != resolution.entries_end(); iter++)
{
const util::option_resolution::entry &entry = *iter;
std::stringstream description_buffer;
std::string opt_name = string_format("--%s", entry.identifier());
const char *opt_desc = entry.display_name();

View File

@ -101,5 +101,6 @@ MODULE(cybikoxt)
MODULE(psion)
MODULE(bml3)
MODULE(hp48)
MODULE(hp9845_tape)
#endif /* MODULES_RECURSIVE */

File diff suppressed because it is too large Load Diff

View File

@ -102,6 +102,8 @@ CPU_DISASSEMBLE( hd6301 );
CPU_DISASSEMBLE( hd6309 );
CPU_DISASSEMBLE( hd63701 );
CPU_DISASSEMBLE( hmcs40 );
CPU_DISASSEMBLE( hp_hybrid );
CPU_DISASSEMBLE( hp_5061_3001 );
CPU_DISASSEMBLE( hyperstone_generic );
CPU_DISASSEMBLE( i4004 );
CPU_DISASSEMBLE( i8008 );
@ -268,6 +270,8 @@ static const dasm_table_entry dasm_table[] =
{ "hd6309", _8bit, 0, CPU_DISASSEMBLE_NAME(hd6309) },
{ "hd63701", _8bit, 0, CPU_DISASSEMBLE_NAME(hd63701) },
{ "hmcs40", _16le, -1, CPU_DISASSEMBLE_NAME(hmcs40) },
{ "hp_hybrid", _16be, -1, CPU_DISASSEMBLE_NAME(hp_hybrid) },
{ "hp_5061_3001",_16be, -1, CPU_DISASSEMBLE_NAME(hp_5061_3001) },
{ "hyperstone", _16be, 0, CPU_DISASSEMBLE_NAME(hyperstone_generic) },
{ "i4004", _8bit, 0, CPU_DISASSEMBLE_NAME(i4004) },
{ "i8008", _8bit, 0, CPU_DISASSEMBLE_NAME(i8008) },