EightBitNet/LR35902/Interrupts.cs
Adrian Conlon 3eb3975e37 Add an initial stab at LR35902 (aka GameBoy) support. Untested and no disassembler though...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-14 17:46:57 +01:00

21 lines
640 B
C#

// <copyright file="Interrupts.cs" company="Adrian Conlon">
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
namespace EightBit
{
namespace GameBoy
{
// IF and IE flags
[System.Flags]
public enum Interrupts
{
None = 0,
VerticalBlank = Bits.Bit0, // VBLANK
DisplayControlStatus = Bits.Bit1, // LCDC Status
TimerOverflow = Bits.Bit2, // Timer Overflow
SerialTransfer = Bits.Bit3, // Serial Transfer
KeypadPressed = Bits.Bit4 // Hi-Lo transition of P10-P13
}
}
}