本文整理汇总了C++中prg16_cdef函数的典型用法代码示例。如果您正苦于以下问题:C++ prg16_cdef函数的具体用法?C++ prg16_cdef怎么用?C++ prg16_cdef使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了prg16_cdef函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: prg16_89ab
void nes_racermate_device::pcb_reset()
{
// m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr4_0(0, CHRRAM);
chr4_4(0, CHRRAM);
m_latch = 0;
}
示例2: prg16_89ab
void nes_konami_vrc2_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_latch = 0;
memset(m_mmc_vrom_bank, 0, sizeof(m_mmc_vrom_bank));
}
示例3: prg16_89ab
void nes_sunsoft_3_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_irq_toggle = 0;
m_irq_count = 0;
m_irq_enable = 0;
}
示例4: prg16_89ab
void nes_namcot3425_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_latch = 0;
memset(m_reg, 0, sizeof(m_reg));
}
示例5: prg16_89ab
void nes_daou306_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(m_prg_chunks - 2);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
set_nt_mirroring(PPU_MIRROR_LOW);
memset(m_reg, 0, sizeof(m_reg));
}
示例6: prg16_89ab
void nes_tc0190fmc_pal16r4_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_irq_enable = 0;
m_irq_count = 0;
m_irq_count_latch = 0;
}
示例7: prg16_89ab
void nes_fxrom_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_reg[0] = m_reg[2] = 0;
m_reg[1] = m_reg[3] = 0;
m_latch1 = m_latch2 = 0xfe;
}
示例8: prg16_89ab
void nes_lz93d50_24c01_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_irq_enable = 0;
m_irq_count = 0;
m_i2c_dir = 0;
}
示例9: prg16_89ab
void nes_futuremedia_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_irq_clear = 0;
m_irq_enable = 0;
m_irq_count = m_irq_count_latch = 0;
}
示例10: prg16_89ab
void nes_namcot340_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
set_nt_mirroring(PPU_MIRROR_VERT);
m_irq_enable = 0;
m_irq_count = 0;
}
示例11: prg16_89ab
void nes_ks7017_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(2);
chr8(0, m_chr_source);
m_latch = 0;
m_irq_enable = 0;
m_irq_count = 0;
m_irq_status = 0;
}
示例12: LOG_MMC
void nes_tam_s1_device::write_h(offs_t offset, uint8_t data)
{
LOG_MMC(("tam s1 write_h, offset: %04x, data: %02x\n", offset, data));
if (offset < 0x4000)
{
// this pcb is subject to bus conflict
data = account_bus_conflict(offset, data);
set_nt_mirroring(BIT(data, 7) ? PPU_MIRROR_VERT : PPU_MIRROR_HORZ);
prg16_cdef(data);
}
}
示例13: prg16_89ab
void nes_nanjing_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(m_prg_chunks - 2);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_count = 0xff;
m_latch1 = 0;
m_latch2 = 0;
m_reg[0] = 0xff;
m_reg[1] = 0;
}
示例14: prg16_89ab
void nes_konami_vrc3_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(m_prg_chunks - 1);
chr8(0, m_chr_source);
m_irq_mode = 0;
m_irq_enable = 0;
m_irq_enable_latch = 0;
m_irq_count = 0;
m_irq_count_latch = 0;
}
示例15: prg16_89ab
void nes_ffe4_device::pcb_reset()
{
m_chr_source = m_vrom_chunks ? CHRROM : CHRRAM;
prg16_89ab(0);
prg16_cdef(7);
chr8(0, m_chr_source);
m_exram_enabled = 0;
m_exram_bank = 0;
m_latch = 0;
m_irq_enable = 0;
m_irq_count = 0;
}