Home
last modified time | relevance | path

Searched refs:m_irq_count (Results 1 – 25 of 112) sorted by relevance

12345

/dports/emulators/mess/mame-mame0226/src/devices/bus/nes/
H A Dpirate.cpp333 m_irq_count = 0; in pcb_reset()
378 m_irq_count = 0; in pcb_reset()
405 m_irq_count = 0; in pcb_reset()
536 m_irq_count--; in hblank_irq()
861 m_irq_count--; in hblank_irq()
1045 m_irq_count++; in hblank_irq()
1092 m_irq_count = (m_irq_count & 0xf0) | (data & 0x0f); in write_h()
1100 m_irq_count = (m_irq_count & 0x0f) | ((data & 0x0f) << 4); in write_h()
1130 m_irq_count--; in device_timer()
1209 m_irq_count = (m_irq_count & 0x1e0) | ((data & 0x0f) << 1); in write_h()
[all …]
H A Dbootleg.cpp208 m_irq_count = 0; in pcb_reset()
267 m_irq_count = 0; in pcb_reset()
283 m_irq_count = 0; in pcb_reset()
321 m_irq_count = 0; in pcb_reset()
344 m_irq_count = 0; in pcb_reset()
367 m_irq_count = 0; in pcb_reset()
453 m_irq_count = 0; in pcb_reset()
644 m_irq_count--; in hblank_irq()
851 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
854 m_irq_count = (m_irq_count & 0x00ff) | (data << 8); in write_h()
[all …]
H A Dlegacy.cpp46 …: nes_nrom_device(mconfig, type, tag, owner, clock), m_irq_count(0), m_irq_enable(0), irq_timer(nu… in nes_ffe4_device()
86 save_item(NAME(m_irq_count)); in device_start()
102 m_irq_count = 0; in pcb_reset()
119 m_irq_count = 0; in pcb_reset()
165 if (m_irq_count == 0xffff) in device_timer()
168 m_irq_count = 0; in device_timer()
172 m_irq_count++; in device_timer()
196 m_irq_count = (m_irq_count & 0xff00) | data; in write_l()
200 m_irq_count = (m_irq_count & 0x00ff) | (data << 8); in write_l()
278 m_irq_count = (m_irq_count & 0xff00) | data; in write_l()
[all …]
H A Dcony.cpp42 , m_irq_count(0) in nes_cony_device()
71 save_item(NAME(m_irq_count)); in device_start()
89 m_irq_count = 0; in pcb_reset()
126 m_irq_count = 0; in pcb_reset()
165 if (!m_irq_count) in device_timer()
169 m_irq_count = 0xffff; in device_timer()
172 m_irq_count--; in device_timer()
266 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
270 m_irq_count = (data << 8) | (m_irq_count & 0xff); in write_h()
381 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
[all …]
H A Dhosenkan.cpp37 , m_irq_count(0) in nes_hosenkan_device()
52 save_item(NAME(m_irq_count)); in device_start()
66 m_irq_count = m_irq_count_latch = 0; in pcb_reset()
93 int prior_count = m_irq_count; in hblank_irq()
94 if ((m_irq_count == 0) || m_irq_clear) in hblank_irq()
95 m_irq_count = m_irq_count_latch; in hblank_irq()
97 m_irq_count--; in hblank_irq()
99 if (m_irq_enable && !blanked && (m_irq_count == 0) && (prior_count || m_irq_clear)) in hblank_irq()
152 m_irq_count = data; in write_h()
H A Djaleco.cpp217 save_item(NAME(m_irq_count)); in device_start()
234 m_irq_count = 0; in pcb_reset()
438 m_irq_count = (m_irq_count & 0xfff0) | 0x000f; in device_timer()
441 m_irq_count = (m_irq_count & 0xfff0) | ((m_irq_count & 0x000f) - 1); in device_timer()
448 m_irq_count = (m_irq_count & 0xff00) | 0x00ff; in device_timer()
451 m_irq_count = (m_irq_count & 0xff00) | ((m_irq_count & 0x00ff) - 1); in device_timer()
458 m_irq_count = (m_irq_count & 0xf000) | 0x0fff; in device_timer()
461 m_irq_count = (m_irq_count & 0xf000) | ((m_irq_count & 0x0fff) - 1); in device_timer()
465 if (!m_irq_count) in device_timer()
468 m_irq_count = 0xffff; in device_timer()
[all …]
H A Dkaiser.cpp168 m_irq_count = 0; in pcb_reset()
194 m_irq_count = 0; in pcb_reset()
375 m_irq_count = 0; in device_timer()
379 m_irq_count++; in device_timer()
398 m_irq_count = (m_irq_count & 0xfff0) | (data & 0x0f); in ks7032_write()
401 m_irq_count = (m_irq_count & 0xff0f) | ((data & 0x0f) << 4); in ks7032_write()
404 m_irq_count = (m_irq_count & 0xf0ff) | ((data & 0x0f) << 8); in ks7032_write()
407 m_irq_count = (m_irq_count & 0x0fff) | ((data & 0x0f) << 12); in ks7032_write()
497 m_irq_count--; in device_timer()
521 m_irq_count = (m_irq_count & 0xff00) | data; in write_ex()
[all …]
H A Dkonami.cpp133 save_item(NAME(m_irq_count)); in device_start()
147 m_irq_count = 0; in pcb_reset()
162 save_item(NAME(m_irq_count)); in device_start()
180 m_irq_count = 0; in pcb_reset()
203 save_item(NAME(m_irq_count)); in device_start()
220 m_irq_count = 0; in pcb_reset()
372 m_irq_count = (m_irq_count & 0xff00) | ((m_irq_count & 0x00ff) + 1); in device_timer()
376 if (m_irq_count == 0xffff) in device_timer()
382 m_irq_count++; in device_timer()
437 if (m_irq_count == 0xff) in irq_tick()
[all …]
H A Dsunsoft.cpp140 m_irq_count = 0; in pcb_reset()
191 m_irq_count = 0; in pcb_reset()
273 if (!m_irq_count) in device_timer()
276 m_irq_count = 0xffff; in device_timer()
280 m_irq_count--; in device_timer()
307 m_irq_count = (m_irq_count & 0x00ff) | (data << 8); in write_h()
309 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
466 if (!m_irq_count) in device_timer()
473 m_irq_count--; in device_timer()
522 m_irq_count = (m_irq_count & 0xff00) | data; in fme7_write()
[all …]
H A Dbandai.cpp65 …: nes_nrom_device(mconfig, type, tag, owner, clock), m_irq_count(0), m_irq_enable(0), irq_timer(nu… in nes_fcg_device()
130 save_item(NAME(m_irq_count)); in device_start()
141 m_irq_count = 0; in pcb_reset()
151 save_item(NAME(m_irq_count)); in device_start()
163 m_irq_count = 0; in pcb_reset()
297 if (!m_irq_count) in device_timer()
298 m_irq_count = 0xffff; in device_timer()
300 m_irq_count--; in device_timer()
302 if (!m_irq_count) in device_timer()
338 m_irq_count = (m_irq_count & 0xff00) | data; in fcg_write()
[all …]
H A Dnamcot.cpp150 save_item(NAME(m_irq_count)); in device_start()
166 m_irq_count = 0; in pcb_reset()
176 save_item(NAME(m_irq_count)); in device_start()
193 m_irq_count = 0; in pcb_reset()
204 save_item(NAME(m_irq_count)); in device_start()
241 m_irq_count = 0; in pcb_reset()
424 m_irq_count++; in device_timer()
437 m_irq_count = (m_irq_count & 0x7f00) | data; in n340_lowrite()
441 m_irq_count = (m_irq_count & 0xff) | ((data & 0x7f) << 8); in n340_lowrite()
456 return m_irq_count & 0xff; in n340_loread()
[all …]
H A Drcm.cpp69 : nes_nrom_device(mconfig, NES_3DBLOCK, tag, owner, clock), m_irq_count(0) in nes_3dblock_device()
128 save_item(NAME(m_irq_count)); in device_start()
139 m_irq_count = 0; in pcb_reset()
274 if (m_irq_count) in hblank_irq()
276 m_irq_count--; in hblank_irq()
277 if (!m_irq_count) in hblank_irq()
299 m_reg[3] = data; m_irq_count = 0x10; in write_l()
H A Dhenggedianzi.cpp55 …: nes_nrom_device(mconfig, NES_HENGG_SHJY3, tag, owner, clock), m_irq_count(0), m_irq_count_latch(… in nes_hengg_shjy3_device()
89 save_item(NAME(m_irq_count)); in device_start()
106 m_irq_count = m_irq_count_latch = 0; in pcb_reset()
192 if (m_irq_count == 0xff) in hblank_irq()
194 m_irq_count = m_irq_count_latch; in hblank_irq()
199 m_irq_count++; in hblank_irq()
271 m_irq_count = m_irq_count_latch; in write_h()
/dports/emulators/mame/mame-mame0226/src/devices/bus/nes/
H A Dpirate.cpp333 m_irq_count = 0; in pcb_reset()
378 m_irq_count = 0; in pcb_reset()
405 m_irq_count = 0; in pcb_reset()
536 m_irq_count--; in hblank_irq()
861 m_irq_count--; in hblank_irq()
1045 m_irq_count++; in hblank_irq()
1092 m_irq_count = (m_irq_count & 0xf0) | (data & 0x0f); in write_h()
1100 m_irq_count = (m_irq_count & 0x0f) | ((data & 0x0f) << 4); in write_h()
1130 m_irq_count--; in device_timer()
1209 m_irq_count = (m_irq_count & 0x1e0) | ((data & 0x0f) << 1); in write_h()
[all …]
H A Dbootleg.cpp208 m_irq_count = 0; in pcb_reset()
267 m_irq_count = 0; in pcb_reset()
283 m_irq_count = 0; in pcb_reset()
321 m_irq_count = 0; in pcb_reset()
344 m_irq_count = 0; in pcb_reset()
367 m_irq_count = 0; in pcb_reset()
453 m_irq_count = 0; in pcb_reset()
644 m_irq_count--; in hblank_irq()
851 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
854 m_irq_count = (m_irq_count & 0x00ff) | (data << 8); in write_h()
[all …]
H A Dlegacy.cpp46 …: nes_nrom_device(mconfig, type, tag, owner, clock), m_irq_count(0), m_irq_enable(0), irq_timer(nu… in nes_ffe4_device()
86 save_item(NAME(m_irq_count)); in device_start()
102 m_irq_count = 0; in pcb_reset()
119 m_irq_count = 0; in pcb_reset()
165 if (m_irq_count == 0xffff) in device_timer()
168 m_irq_count = 0; in device_timer()
172 m_irq_count++; in device_timer()
196 m_irq_count = (m_irq_count & 0xff00) | data; in write_l()
200 m_irq_count = (m_irq_count & 0x00ff) | (data << 8); in write_l()
278 m_irq_count = (m_irq_count & 0xff00) | data; in write_l()
[all …]
H A Dcony.cpp42 , m_irq_count(0) in nes_cony_device()
71 save_item(NAME(m_irq_count)); in device_start()
89 m_irq_count = 0; in pcb_reset()
126 m_irq_count = 0; in pcb_reset()
165 if (!m_irq_count) in device_timer()
169 m_irq_count = 0xffff; in device_timer()
172 m_irq_count--; in device_timer()
266 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
270 m_irq_count = (data << 8) | (m_irq_count & 0xff); in write_h()
381 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
[all …]
H A Dhosenkan.cpp37 , m_irq_count(0) in nes_hosenkan_device()
52 save_item(NAME(m_irq_count)); in device_start()
66 m_irq_count = m_irq_count_latch = 0; in pcb_reset()
93 int prior_count = m_irq_count; in hblank_irq()
94 if ((m_irq_count == 0) || m_irq_clear) in hblank_irq()
95 m_irq_count = m_irq_count_latch; in hblank_irq()
97 m_irq_count--; in hblank_irq()
99 if (m_irq_enable && !blanked && (m_irq_count == 0) && (prior_count || m_irq_clear)) in hblank_irq()
152 m_irq_count = data; in write_h()
H A Djaleco.cpp217 save_item(NAME(m_irq_count)); in device_start()
234 m_irq_count = 0; in pcb_reset()
438 m_irq_count = (m_irq_count & 0xfff0) | 0x000f; in device_timer()
441 m_irq_count = (m_irq_count & 0xfff0) | ((m_irq_count & 0x000f) - 1); in device_timer()
448 m_irq_count = (m_irq_count & 0xff00) | 0x00ff; in device_timer()
451 m_irq_count = (m_irq_count & 0xff00) | ((m_irq_count & 0x00ff) - 1); in device_timer()
458 m_irq_count = (m_irq_count & 0xf000) | 0x0fff; in device_timer()
461 m_irq_count = (m_irq_count & 0xf000) | ((m_irq_count & 0x0fff) - 1); in device_timer()
465 if (!m_irq_count) in device_timer()
468 m_irq_count = 0xffff; in device_timer()
[all …]
H A Dkaiser.cpp168 m_irq_count = 0; in pcb_reset()
194 m_irq_count = 0; in pcb_reset()
375 m_irq_count = 0; in device_timer()
379 m_irq_count++; in device_timer()
398 m_irq_count = (m_irq_count & 0xfff0) | (data & 0x0f); in ks7032_write()
401 m_irq_count = (m_irq_count & 0xff0f) | ((data & 0x0f) << 4); in ks7032_write()
404 m_irq_count = (m_irq_count & 0xf0ff) | ((data & 0x0f) << 8); in ks7032_write()
407 m_irq_count = (m_irq_count & 0x0fff) | ((data & 0x0f) << 12); in ks7032_write()
497 m_irq_count--; in device_timer()
521 m_irq_count = (m_irq_count & 0xff00) | data; in write_ex()
[all …]
H A Dkonami.cpp133 save_item(NAME(m_irq_count)); in device_start()
147 m_irq_count = 0; in pcb_reset()
162 save_item(NAME(m_irq_count)); in device_start()
180 m_irq_count = 0; in pcb_reset()
203 save_item(NAME(m_irq_count)); in device_start()
220 m_irq_count = 0; in pcb_reset()
372 m_irq_count = (m_irq_count & 0xff00) | ((m_irq_count & 0x00ff) + 1); in device_timer()
376 if (m_irq_count == 0xffff) in device_timer()
382 m_irq_count++; in device_timer()
437 if (m_irq_count == 0xff) in irq_tick()
[all …]
H A Dsunsoft.cpp140 m_irq_count = 0; in pcb_reset()
191 m_irq_count = 0; in pcb_reset()
273 if (!m_irq_count) in device_timer()
276 m_irq_count = 0xffff; in device_timer()
280 m_irq_count--; in device_timer()
307 m_irq_count = (m_irq_count & 0x00ff) | (data << 8); in write_h()
309 m_irq_count = (m_irq_count & 0xff00) | data; in write_h()
466 if (!m_irq_count) in device_timer()
473 m_irq_count--; in device_timer()
522 m_irq_count = (m_irq_count & 0xff00) | data; in fme7_write()
[all …]
H A Dbandai.cpp65 …: nes_nrom_device(mconfig, type, tag, owner, clock), m_irq_count(0), m_irq_enable(0), irq_timer(nu… in nes_fcg_device()
130 save_item(NAME(m_irq_count)); in device_start()
141 m_irq_count = 0; in pcb_reset()
151 save_item(NAME(m_irq_count)); in device_start()
163 m_irq_count = 0; in pcb_reset()
297 if (!m_irq_count) in device_timer()
298 m_irq_count = 0xffff; in device_timer()
300 m_irq_count--; in device_timer()
302 if (!m_irq_count) in device_timer()
338 m_irq_count = (m_irq_count & 0xff00) | data; in fcg_write()
[all …]
H A Dnamcot.cpp150 save_item(NAME(m_irq_count)); in device_start()
166 m_irq_count = 0; in pcb_reset()
176 save_item(NAME(m_irq_count)); in device_start()
193 m_irq_count = 0; in pcb_reset()
204 save_item(NAME(m_irq_count)); in device_start()
241 m_irq_count = 0; in pcb_reset()
424 m_irq_count++; in device_timer()
437 m_irq_count = (m_irq_count & 0x7f00) | data; in n340_lowrite()
441 m_irq_count = (m_irq_count & 0xff) | ((data & 0x7f) << 8); in n340_lowrite()
456 return m_irq_count & 0xff; in n340_loread()
[all …]
H A Drcm.cpp69 : nes_nrom_device(mconfig, NES_3DBLOCK, tag, owner, clock), m_irq_count(0) in nes_3dblock_device()
128 save_item(NAME(m_irq_count)); in device_start()
139 m_irq_count = 0; in pcb_reset()
274 if (m_irq_count) in hblank_irq()
276 m_irq_count--; in hblank_irq()
277 if (!m_irq_count) in hblank_irq()
299 m_reg[3] = data; m_irq_count = 0x10; in write_l()

12345