Searched refs:m_exram_control (Results 1 – 4 of 4) sorted by relevance
/dports/emulators/mess/mame-mame0226/src/devices/bus/nes/ |
H A D | mmc5.cpp | 47 …, m_prg_mode(0), m_chr_mode(0), m_wram_protect_1(0), m_wram_protect_2(0), m_exram_control(0), m_wr… in nes_exrom_device() 75 save_item(NAME(m_exram_control)); in device_start() 307 if (!BIT(m_exram_control, 1)) in nt_r() 316 if (m_split_scr && !(m_exram_control & 0x02) && in_split()) in nt_r() 332 if (m_exram_control == 1) in nt_r() 411 if (m_exram_control == 1 && m_ppu->get_draw_phase() == PPU_DRAW_BG && m_ex1_chr) in chr_r() 414 …if (m_split_scr && !(m_exram_control & 0x02) && in_split() && m_ppu->get_draw_phase() == PPU_DRAW_… in chr_r() 442 if (BIT(m_exram_control, 1)) // Modes 2,3 = read in read_l() 487 if (m_exram_control == 0x02) // Mode 2 = write data in write_l() 489 else if (m_exram_control != 0x03) // Modes 0,1 = write data in frame / write 0 otherwise in write_l() [all …]
|
H A D | mmc5.h | 68 int m_exram_control; // $5104 variable
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/nes/ |
H A D | mmc5.cpp | 47 …, m_prg_mode(0), m_chr_mode(0), m_wram_protect_1(0), m_wram_protect_2(0), m_exram_control(0), m_wr… in nes_exrom_device() 75 save_item(NAME(m_exram_control)); in device_start() 307 if (!BIT(m_exram_control, 1)) in nt_r() 316 if (m_split_scr && !(m_exram_control & 0x02) && in_split()) in nt_r() 332 if (m_exram_control == 1) in nt_r() 411 if (m_exram_control == 1 && m_ppu->get_draw_phase() == PPU_DRAW_BG && m_ex1_chr) in chr_r() 414 …if (m_split_scr && !(m_exram_control & 0x02) && in_split() && m_ppu->get_draw_phase() == PPU_DRAW_… in chr_r() 442 if (BIT(m_exram_control, 1)) // Modes 2,3 = read in read_l() 487 if (m_exram_control == 0x02) // Mode 2 = write data in write_l() 489 else if (m_exram_control != 0x03) // Modes 0,1 = write data in frame / write 0 otherwise in write_l() [all …]
|
H A D | mmc5.h | 68 int m_exram_control; // $5104 variable
|