Home
last modified time | relevance | path

Searched refs:GB_REG_IF (Results 1 – 7 of 7) sorted by relevance

/dports/emulators/mgba/mgba-0.9.2/src/gb/
H A Dio.c22 [GB_REG_IF] = "IF",
77 [GB_REG_IF] = 0xE0,
168 GBIOWrite(gb, GB_REG_IF, 1); in GBIOReset()
439 case GB_REG_IF: in GBIOWrite()
440 gb->memory.io[GB_REG_IF] = value | 0xE0; in GBIOWrite()
567 gb->memory.io[GB_REG_IF] |= (1 << GB_IRQ_KEYPAD); in _readKeys()
646 case GB_REG_IF: in GBIORead()
H A Dvideo.c253 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_VBLANK); in GBVideoSkipBIOS()
283 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in _endMode0()
285 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_VBLANK); in _endMode0()
289 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in _endMode0()
296 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in _endMode0()
334 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in _endMode1()
352 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in _endMode2()
373 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in _endMode3()
456 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in GBVideoWriteLCDC()
488 video->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_LCDSTAT); in GBVideoWriteSTAT()
[all …]
H A Dgb.c696 int irqs = gb->memory.ie & gb->memory.io[GB_REG_IF] & 0x1F; in GBUpdateIRQs()
761 int irqs = gb->memory.ie & gb->memory.io[GB_REG_IF]; in GBIRQVector()
764 gb->memory.io[GB_REG_IF] &= ~(1 << GB_IRQ_VBLANK); in GBIRQVector()
768 gb->memory.io[GB_REG_IF] &= ~(1 << GB_IRQ_LCDSTAT); in GBIRQVector()
772 gb->memory.io[GB_REG_IF] &= ~(1 << GB_IRQ_TIMER); in GBIRQVector()
776 gb->memory.io[GB_REG_IF] &= ~(1 << GB_IRQ_SIO); in GBIRQVector()
780 gb->memory.io[GB_REG_IF] &= ~(1 << GB_IRQ_KEYPAD); in GBIRQVector()
796 if (!(gb->memory.ie & gb->memory.io[GB_REG_IF] & 0x1F)) { in GBHalt()
H A Dsio.c75 sio->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_SIO); in _GBSIOProcessEvents()
H A Dtimer.c18 timer->p->memory.io[GB_REG_IF] |= (1 << GB_IRQ_TIMER); in _GBTimerIRQ()
/dports/emulators/mgba/mgba-0.9.2/src/gb/debugger/
H A Ddebugger.c32 …be->printf(be, "IE: %02X IF: %02X IME: %i\n", gb->memory.ie, gb->memory.io[GB_REG_IF], gb->memor… in _printStatus()
/dports/emulators/mgba/mgba-0.9.2/include/mgba/internal/gb/
H A Dio.h29 GB_REG_IF = 0x0F, enumerator