mirror of
				https://github.com/MoleskiCoder/EightBitNet.git
				synced 2025-11-04 07:16:02 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			570 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			570 B
		
	
	
	
		
			C#
		
	
	
	
	
	
// <copyright file="Interrupts.cs" company="Adrian Conlon">
 | 
						|
// Copyright (c) Adrian Conlon. All rights reserved.
 | 
						|
// </copyright>
 | 
						|
namespace EightBit.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
 | 
						|
    }
 | 
						|
}
 |