Previous 199869 Revisions Next

r36259 Thursday 5th March, 2015 at 16:09:40 UTC by hap
widdle endian
[src/emu/cpu/hmcs40]hmcs40.h hmcs40d.c
[src/tools]unidasm.c

trunk/src/emu/cpu/hmcs40/hmcs40.h
r244770r244771
2626   // construction/destruction
2727   hmcs40_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int stack_levels, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data, const char *shortname, const char *source)
2828      : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
29      , m_program_config("program", ENDIANNESS_BIG, 16, prgwidth, 0, program)
30      , m_data_config("data", ENDIANNESS_BIG, 8, datawidth, 0, data)
29      , m_program_config("program", ENDIANNESS_LITTLE, 16, prgwidth, 0, program)
30      , m_data_config("data", ENDIANNESS_LITTLE, 8, datawidth, 0, data)
3131      , m_prgwidth(prgwidth-1)
3232      , m_datawidth(datawidth)
3333      , m_stack_levels(stack_levels)
trunk/src/emu/cpu/hmcs40/hmcs40d.c
r244770r244771
1414CPU_DISASSEMBLE(hmcs40)
1515{
1616   int pos = 2;//0;
17//   UINT16 op = ((oprom[pos] << 8) | oprom[pos + 1]) & 0x3ff;
17//   UINT16 op = (oprom[pos] | oprom[pos + 1] << 8) & 0x3ff;
1818//   pos += 2;
1919//   UINT8 instr = hmcs40_mnemonic[op];
2020
trunk/src/tools/unidasm.c
r244770r244771
244244   { "hd6301",     _8bit,  0, CPU_DISASSEMBLE_NAME(hd6301) },
245245   { "hd6309",     _8bit,  0, CPU_DISASSEMBLE_NAME(hd6309) },
246246   { "hd63701",    _8bit,  0, CPU_DISASSEMBLE_NAME(hd63701) },
247   { "hmcs40",     _16be,  0, CPU_DISASSEMBLE_NAME(hmcs40) },
247   { "hmcs40",     _16le,  0, CPU_DISASSEMBLE_NAME(hmcs40) },
248248   { "hyperstone", _16be,  0, CPU_DISASSEMBLE_NAME(hyperstone_generic) },
249249   { "i4004",      _8bit,  0, CPU_DISASSEMBLE_NAME(i4004) },
250250   { "i8008",      _8bit,  0, CPU_DISASSEMBLE_NAME(i8008) },


Previous 199869 Revisions Next


© 1997-2024 The MAME Team