Home
last modified time | relevance | path

Searched refs:statReg (Results 1 – 6 of 6) sorted by relevance

/dports/emulators/pcsxr/pcsxr-codeplex-final/pcsxr/plugins/bladesio1/
H A Dsio1.c217 statReg |= SR_IRQ; in Exchange()
232 statReg |= SR_DSR; in Exchange()
234 statReg &= ~SR_DSR; in Exchange()
237 statReg |= SR_CTS; in Exchange()
239 statReg &= ~SR_CTS; in Exchange()
256 statReg |= SR_IRQ; in Exchange()
265 statReg |= SR_OE; in Exchange()
358 statReg &= ~SR_IRQ; in SIO1writeCtrl16()
380 statReg |= SR_IRQ; in SIO1writeCtrl16()
460 return statReg; in SIO1readStat16()
[all …]
/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/video/
H A Dm0_irq.h17 void lcdReset(unsigned statReg, unsigned lycReg) { in lcdReset() argument
18 statReg_ = statReg; in lcdReset()
22 void statRegChange(unsigned statReg, in statRegChange() argument
25 statReg_ = statReg; in statRegChange()
35 void doEvent(unsigned char *ifreg, unsigned ly, unsigned statReg, unsigned lycReg) { in doEvent() argument
36 if (((statReg_ | statReg) & lcdstat_m0irqen) in doEvent()
41 statReg_ = statReg; in doEvent()
54 unsigned statReg() const { return statReg_; } in statReg() function
H A Dlyc_irq.cpp38 static unsigned long schedule(unsigned statReg, in schedule() argument
40 return (statReg & lcdstat_lycirqen) && lycReg < 154 in schedule()
45 void LycIrq::regChange(unsigned const statReg, in regChange() argument
47 unsigned long const timeSrc = schedule(statReg, lycReg, lyCounter, cc); in regChange()
48 statRegSrc_ = statReg; in regChange()
57 statReg_ = statReg; in regChange()
63 statReg_ = statReg; in regChange()
65 statReg_ = (statReg_ & lcdstat_lycirqen) | (statReg & ~lcdstat_lycirqen); in regChange()
H A Dlyc_irq.h39 void statRegChange(unsigned statReg, LyCounter const &lyCounter, unsigned long cc) { in statRegChange() argument
40 regChange(statReg, lycRegSrc_, lyCounter, cc); in statRegChange()
55 void regChange(unsigned statReg, unsigned lycReg,
/dports/emulators/pcsxr/pcsxr-codeplex-final/pcsxr/plugins/nullsio1/
H A Dsio1.c96 static u16 statReg; // 0x1f801054: 0x185 SR_TXRDY | SR_TXU | SR_DSR | SR_CTS variable
114 statReg = SR_TXRDY | SR_TXU | SR_DSR | SR_CTS; in SIO1open()
175 statReg &= ~(SR_PERROR | SR_OE | SR_FE | SR_IRQ); in SIO1writeCtrl16()
179 statReg &= ~SR_IRQ; in SIO1writeCtrl16()
180 statReg |= SR_TXRDY | SR_TXU; in SIO1writeCtrl16()
187 if(!(statReg & SR_IRQ)) { in SIO1writeCtrl16()
189 statReg |= SR_IRQ; in SIO1writeCtrl16()
225 return statReg; in SIO1readStat16()
229 return statReg; in SIO1readStat32()
/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/
H A Dvideo.cpp35 static unsigned long mode2IrqSchedule(const unsigned statReg, const LyCounter &lyCounter, const uns… in mode2IrqSchedule() argument
37 if (!(statReg & 0x20)) in mode2IrqSchedule()
42 if (lyCounter.ly() >= 143 || (lyCounter.ly() == 142 && next <= 4) || (statReg & 0x08)) in mode2IrqSchedule()