这篇教程C++ ADDRESS_MAP_NAME函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中ADDRESS_MAP_NAME函数的典型用法代码示例。如果您正苦于以下问题:C++ ADDRESS_MAP_NAME函数的具体用法?C++ ADDRESS_MAP_NAME怎么用?C++ ADDRESS_MAP_NAME使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了ADDRESS_MAP_NAME函数的27个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: z80_deviceADDRESS_MAP_END// note: a lot of bits are left uninitialized by the games, the default values are uncertainst0016_cpu_device::st0016_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : z80_device(mconfig, ST0016_CPU, "ST0016", tag, owner, clock, "st0016_cpu", __FILE__), st0016_game(-1), st0016_spr_bank(0), st0016_spr2_bank(0), st0016_pal_bank(0), st0016_char_bank(0), spr_dx(0), spr_dy(0), st0016_ramgfx(0), m_io_space_config("io", ENDIANNESS_LITTLE, 8, 16, 0, ADDRESS_MAP_NAME(st0016_cpu_internal_io_map)), m_space_config("regs", ENDIANNESS_LITTLE, 8, 16, 0, ADDRESS_MAP_NAME(st0016_cpu_internal_map)), m_screen(*this, ":screen"), m_gfxdecode(*this, "gfxdecode"), m_palette(*this, "palette"){ for (int i = 0; i < 0xc0; i++) st0016_vregs[i] = 0;}
开发者ID:libretro,项目名称:mame2014-libretro,代码行数:27,
示例2: cpu_devicemb86235_device::mb86235_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : cpu_device(mconfig, MB86235, tag, owner, clock) , m_program_config("program", ENDIANNESS_LITTLE, 64, 32, -3) , m_dataa_config("data_a", ENDIANNESS_LITTLE, 32, 24, -2, ADDRESS_MAP_NAME(internal_abus)) , m_datab_config("data_b", ENDIANNESS_LITTLE, 32, 10, -2, ADDRESS_MAP_NAME(internal_bbus)) , m_cache(CACHE_SIZE + sizeof(mb86235_internal_state)) , m_drcuml(nullptr) , m_drcfe(nullptr){}
开发者ID:Tauwasser,项目名称:mame,代码行数:10,
示例3: device_tmb_vcu_device::mb_vcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : device_t(mconfig, MB_VCU, "Mazer Blazer custom VCU", tag, owner, clock, "mb_vcu", __FILE__), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 19, 0, nullptr, *ADDRESS_MAP_NAME(mb_vcu_vram)), m_paletteram_space_config("palram", ENDIANNESS_LITTLE, 8, 16, 0, nullptr, *ADDRESS_MAP_NAME(mb_vcu_pal_ram)), m_cpu(*this), m_palette(*this){}
开发者ID:DragonMinded,项目名称:mame,代码行数:10,
示例4: device_tx2212_device::x2212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, X2212, "X2212 NVRAM", tag, owner, clock, "x2212", __FILE__), device_memory_interface(mconfig, *this), device_nvram_interface(mconfig, *this), m_auto_save(false), m_sram_space_config("SRAM", ENDIANNESS_BIG, 8, 8, 0, *ADDRESS_MAP_NAME(x2212_sram_map)), m_e2prom_space_config("E2PROM", ENDIANNESS_BIG, 8, 8, 0, *ADDRESS_MAP_NAME(x2212_e2prom_map)), m_store(false), m_array_recall(false){}
开发者ID:Ander-son,项目名称:libretro-mame,代码行数:11,
示例5: cpu_deviceADDRESS_MAP_ENDpic16c62x_device::pic16c62x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int program_width, int picmodel) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, __FILE__) , m_program_config("program", ENDIANNESS_LITTLE, 16, program_width, -1 , ( ( program_width == 9 ) ? ADDRESS_MAP_NAME(pic16c62x_rom_9) : ( ( program_width == 10 ) ? ADDRESS_MAP_NAME(pic16c62x_rom_10) : ADDRESS_MAP_NAME(pic16c62x_rom_11) ))) , m_data_config("data", ENDIANNESS_LITTLE, 8, 8, 0 , ( ( picmodel == 0x16C620 || picmodel == 0x16C621 ) ? ADDRESS_MAP_NAME(pic16c620_ram) : ( ( picmodel == 0x16C622 ) ? ADDRESS_MAP_NAME(pic16c622_ram) : ADDRESS_MAP_NAME(pic16c62xa_ram) ) ) ) , m_io_config("io", ENDIANNESS_LITTLE, 8, 5, 0) , m_reset_vector(0x0) , m_picmodel(picmodel) , m_picRAMmask(0xff){}
开发者ID:BrandoCommando,项目名称:mame,代码行数:15,
示例6: linear_flash_pccard_deviceADDRESS_MAP_ENDlinear_flash_pccard_32mb_device::linear_flash_pccard_32mb_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : linear_flash_pccard_device(mconfig, LINEAR_FLASH_PCCARD_32MB, "Linear Flash PCCARD (32MB)", tag, owner, clock, "linearflash32mb", __FILE__){ m_space_config = address_space_config("memory", ENDIANNESS_LITTLE, 16, 26, 0, *ADDRESS_MAP_NAME( linear_flash_pccard_32mb ) );}
开发者ID:Robbbert,项目名称:store1,代码行数:7,
示例7: device_tef9345_device::ef9345_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EF9345, "EF9345", tag, owner, clock, "ef9345", __FILE__), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(ef9345)){}
开发者ID:felipesanches,项目名称:ume,代码行数:7,
示例8: device_thuc6272_device::huc6272_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, huc6272, "huc6272", tag, owner, clock), device_memory_interface(mconfig, *this), m_space_config("videoram", ENDIANNESS_LITTLE, 32, 32, 0, NULL, *ADDRESS_MAP_NAME(huc6272_vram)){}
开发者ID:clobber,项目名称:UME,代码行数:7,
示例9: device_ti8355_device::i8355_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, I8355, "Intel 8355", tag, owner, clock), device_memory_interface(mconfig, *this), m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355)){}
开发者ID:bdidier,项目名称:MAME-OS-X,代码行数:7,
示例10: AM_RANGE AM_RANGE(0x000000, 0xffffff) AM_ROMADDRESS_MAP_END//**************************************************************************// LIVE DEVICE//**************************************************************************//-------------------------------------------------// okim9810_device - constructor//-------------------------------------------------okim9810_device::okim9810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, OKIM9810, "OKI9810", tag, owner, clock, "okim9810", __FILE__), device_sound_interface(mconfig, *this), device_memory_interface(mconfig, *this), m_space_config("samples", ENDIANNESS_BIG, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(okim9810)), m_stream(NULL), m_TMP_register(0x00), m_global_volume(0x00), m_filter_type(OKIM9810_SECONDARY_FILTER), m_output_level(OKIM9810_OUTPUT_TO_DIRECT_DAC){}
开发者ID:Ander-son,项目名称:libretro-mame,代码行数:25,
示例11: device_tmb_vcu_device::mb_vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MB_VCU, "Mazer Blazer custom VCU", tag, owner, clock, "mb_vcu", __FILE__), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 19, 0, NULL, *ADDRESS_MAP_NAME(mb_vcu_vram)){}
开发者ID:fesh0r,项目名称:old-mame,代码行数:7,
示例12: device_tramdac_device::ramdac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, RAMDAC, "ramdac", tag, owner, clock, "ramdac", __FILE__), device_memory_interface(mconfig, *this), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 10, 0, NULL, *ADDRESS_MAP_NAME(ramdac_palram)), m_palette(*this){}
开发者ID:jiangzhonghui,项目名称:mame,代码行数:7,
示例13: device_tmsm6255_device::msm6255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MSM6255, "MSM6255", tag, owner, clock, "msm6255", __FILE__), device_memory_interface(mconfig, *this), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 20, 0, NULL, *ADDRESS_MAP_NAME(msm6255)), m_cursor(0){}
开发者ID:CJBass,项目名称:mame2013-libretro,代码行数:7,
示例14: cpu_deviceADDRESS_MAP_ENDtms32082_pp_device::tms32082_pp_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : cpu_device(mconfig, TMS32082_PP, "TMS32082 PP", tag, owner, clock, "tms32082_pp", __FILE__) , m_program_config("program", ENDIANNESS_BIG, 32, 32, 0, ADDRESS_MAP_NAME(pp_internal_map)){}
开发者ID:Robbbert,项目名称:store1,代码行数:7,
示例15: AM_RANGE AM_RANGE(0x00000, 0x3ffff) AM_ROMADDRESS_MAP_END//**************************************************************************// LIVE DEVICE//**************************************************************************//-------------------------------------------------// okim6295_device - constructor//-------------------------------------------------okim6295_device::okim6295_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, OKIM6295, "OKI6295", tag, owner, clock, "okim6295", __FILE__), device_sound_interface(mconfig, *this), device_memory_interface(mconfig, *this), m_space_config("samples", ENDIANNESS_LITTLE, 8, 18, 0, NULL, *ADDRESS_MAP_NAME(okim6295)), m_command(-1), m_bank_installed(false), m_bank_offs(0), m_stream(NULL), m_pin7_state(0), m_direct(NULL){}
开发者ID:curtiszimmerman,项目名称:mame,代码行数:26,
示例16: device_tROM_END//**************************************************************************// LIVE DEVICE//**************************************************************************//-------------------------------------------------// bsmt2000_device - constructor//-------------------------------------------------bsmt2000_device::bsmt2000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, BSMT2000, "BSMT2000", tag, owner, clock, "bsmt2000", __FILE__), device_sound_interface(mconfig, *this), device_memory_interface(mconfig, *this), m_space_config("samples", ENDIANNESS_LITTLE, 8, 32, 0, NULL), m_ready_callback(NULL), m_stream(NULL), m_direct(NULL), m_cpu(NULL), m_register_select(0), m_write_data(0), m_rom_address(0), m_rom_bank(0), m_left_data(0), m_right_data(0), m_write_pending(false){ m_address_map[0] = *ADDRESS_MAP_NAME(bsmt2000);}
开发者ID:AreaScout,项目名称:mame-libretro,代码行数:32,
示例17: AM_RANGE AM_RANGE(0x0100, 0x01ff) AM_RAMADDRESS_MAP_ENDm37450_device::m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m3745x_device(mconfig, M37450, "Mitsubishi M37450", tag, owner, clock, ADDRESS_MAP_NAME(m37450_map), "m3745x", __FILE__){}
开发者ID:AreaScout,项目名称:mame-libretro,代码行数:7,
示例18: arm7_cpu_deviceADDRESS_MAP_ENDlpc210x_device::lpc210x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : arm7_cpu_device(mconfig, LPC2103, "LPC2103", tag, owner, clock, "lpc2103", __FILE__, 4, eARM_ARCHFLAGS_T, ENDIANNESS_LITTLE), m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0, ADDRESS_MAP_NAME(lpc2103_map)){}
开发者ID:kara1001000,项目名称:mame,代码行数:8,
示例19: device_tsed1330_device::sed1330_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, SED1330, "SED1330", tag, owner, clock, "sed1330", __FILE__), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), m_bf(0), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, nullptr, *ADDRESS_MAP_NAME(sed1330)){}
开发者ID:Robbbert,项目名称:store1,代码行数:8,
示例20: device_ttmp68301_device::tmp68301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TMP68301, "TMP68301", tag, owner, clock, "tmp68301", __FILE__), device_memory_interface(mconfig, *this), m_in_parallel_cb(*this), m_out_parallel_cb(*this), m_space_config("regs", ENDIANNESS_LITTLE, 16, 10, 0, NULL, *ADDRESS_MAP_NAME(tmp68301_regs)){}
开发者ID:crazii,项目名称:mameplus,代码行数:8,
示例21: AM_RANGE AM_RANGE(0x00, 0x7f) AM_RAMADDRESS_MAP_END// device definitionsm58846_device::m58846_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : melps4_cpu_device(mconfig, M58846, tag, owner, clock, 11, ADDRESS_MAP_NAME(program_2kx9), 7, ADDRESS_MAP_NAME(data_128x4), 12 /* number of D pins */, 2 /* subroutine page */, 1 /* interrupt page */), m_timer(nullptr){ }
开发者ID:Tauwasser,项目名称:mame,代码行数:8,
示例22: cpu_devicetms32010_device::tms32010_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int addr_mask) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) , m_program_config("program", ENDIANNESS_BIG, 16, 12, -1) , m_data_config("data", ENDIANNESS_BIG, 16, 8, -1, ADDRESS_MAP_NAME(tms32015_ram)) , m_io_config("io", ENDIANNESS_BIG, 16, 5, -1) , m_addr_mask(addr_mask){}
开发者ID:BrandoCommando,项目名称:mame,代码行数:8,
示例23: AM_RANGE AM_RANGE(0x40, 0x4f) AM_RAMADDRESS_MAP_END// device definitionsamis2000_cpu_device::amis2000_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) : amis2000_base_device(mconfig, AMI_S2000, tag, owner, clock, 2, 10, 3, 13, ADDRESS_MAP_NAME(program_1k), 6, ADDRESS_MAP_NAME(data_64x4)){ }
开发者ID:Tauwasser,项目名称:mame,代码行数:8,
示例24: device_tcrt9007_device::crt9007_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CRT9007, "SMC CRT9007", tag, owner, clock), device_memory_interface(mconfig, *this), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(crt9007)){ for (int i = 0; i < 0x3d; i++) m_reg[i] = 0;}
开发者ID:Ilgrim,项目名称:MAMEHub,代码行数:8,
示例25: device_tADDRESS_MAP_ENDseibu_cop_bootleg_device::seibu_cop_bootleg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEIBU_COP_BOOTLEG, "Seibu COP (Bootleg)", tag, owner, clock, "seibu_cop_boot", __FILE__), device_memory_interface(mconfig, *this), m_space_config("regs", ENDIANNESS_LITTLE, 16, 9, 0, nullptr, *ADDRESS_MAP_NAME(seibucopbl_map)){}
开发者ID:keshbach,项目名称:mame,代码行数:8,
示例26: mc6845_devicemos8563_device::mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : mc6845_device(mconfig, type, name, tag, owner, clock, shortname, source), device_memory_interface(mconfig, *this), m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(mos8563_videoram_map)), m_palette(*this, "palette"){ set_clock_scale(1.0/8);}
开发者ID:vtanakas,项目名称:mame,代码行数:8,
示例27: device_tramdac_device::ramdac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, RAMDAC, "RAMDAC", tag, owner, clock, "ramdac", __FILE__), device_memory_interface(mconfig, *this), m_space_config("videoram", ENDIANNESS_LITTLE, 8, 10, 0, nullptr, *ADDRESS_MAP_NAME(ramdac_palram)), m_palette(*this, finder_base::DUMMY_TAG), m_split_read_reg(0){}
开发者ID:bradhugh,项目名称:mame,代码行数:8,
注:本文中的ADDRESS_MAP_NAME函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ ADDR_1ST_CYCLE函数代码示例 C++ ADDR函数代码示例 |