mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Subchannel interpretation code (nw)
This commit is contained in:
@@ -100,4 +100,56 @@ namespace RedBookPlayer.Models
|
||||
/// </summary>
|
||||
FirstSessionOnly = 1,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Known set of subchannel instructions
|
||||
/// </summary>
|
||||
/// <see cref="https://jbum.com/cdg_revealed.html"/>
|
||||
public enum SubchannelInstruction : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// Set the screen to a particular color.
|
||||
/// </summary>
|
||||
MemoryPreset = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Set the border of the screen to a particular color.
|
||||
/// </summary>
|
||||
BorderPreset = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Load a 12 x 6, 2 color tile and display it normally.
|
||||
/// </summary>
|
||||
TileBlockNormal = 6,
|
||||
|
||||
/// <summary>
|
||||
/// Scroll the image, filling in the new area with a color.
|
||||
/// </summary>
|
||||
ScrollPreset = 20,
|
||||
|
||||
/// <summary>
|
||||
/// Scroll the image, rotating the bits back around.
|
||||
/// </summary>
|
||||
ScrollCopy = 24,
|
||||
|
||||
/// <summary>
|
||||
/// Define a specific color as being transparent.
|
||||
/// </summary>
|
||||
DefineTransparentColor = 28,
|
||||
|
||||
/// <summary>
|
||||
/// Load in the lower 8 entries of the color table.
|
||||
/// </summary>
|
||||
LoadColorTableLower = 30,
|
||||
|
||||
/// <summary>
|
||||
/// Load in the upper 8 entries of the color table.
|
||||
/// </summary>
|
||||
LoadColorTableUpper = 31,
|
||||
|
||||
/// <summary>
|
||||
/// Load a 12 x 6, 2 color tile and display it using the XOR method.
|
||||
/// </summary>
|
||||
TileBlockXOR = 38,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user