using System; namespace SabreTools.Data.Models.SNES { /// /// Pro Fighter first SRAM mode /// /// public enum FIGDSPMode1 : byte { /// /// If using DSP1 microchip and if no SRAM (SRAM size=0) /// DSP1WithNoSRAM = 0x47, /// /// If not using DSP1 and no SRAM (SRAM size=0) /// NoDSP1WithNoSRAM = 0x77, /// /// If using DSP1 microchip and if using SRAM (SRAM size>0) /// DSP1WithSRAM = 0xFD, } /// /// Pro Fighter second SRAM mode /// /// public enum FIGDSPMode2 : byte { /// /// If using DSP1 microchip and if using SRAM (SRAM size>0) /// DSP1WithSRAM = 0x82, /// /// If using DSP1 microchip and if no SRAM (SRAM size=0) /// DSP1WithNoSRAM = 0x83, /// /// If not using DSP1 and no SRAM (SRAM size=0) /// NoDSP1WithNoSRAM = 0x83, } /// /// Pro Fighter image mode /// /// public enum FIGImageMode : byte { /// /// Last image in set (or single image) /// SingleImage = 0x00, /// /// Multi image /// MultiImage = 0x40, } /// /// Pro Fighter ROM mode /// /// public enum FIGRomMode : byte { LoROM = 0x00, HiROM = 0x80, } /// /// Super Wild Card image information /// /// [Flags] public enum SWCImageInformation : byte { /// /// Reserved /// Reserved0 = 0b00000001, /// /// Reserved /// Reserved1 = 0b00000010, #region SRAM size /// /// 256kbit SRAM /// SRAM256kbit = 0b00000000, /// /// 65kbit SRAM /// SRAM65kbit = 0b00000100, /// /// 16kbit SRAM /// SRAM16kbit = 0b00001000, /// /// no SRAM /// SRAMNone = 0b00001100, #endregion #region DRAM mode /// /// DRAM memory mapping Mode 20 /// DRAMMappingMode20 = 0b00000000, /// /// DRAM memory mapping Mode 21 (HiROM) /// DRAMMappingMode21 = 0b00010000, #endregion #region SRAM mode /// /// SRAM memory mapping Mode 20 /// SRAMMappingMode20 = 0b00000000, /// /// SRAM memory mapping Mode 21 (HiROM) /// SRAMMappingMode21 = 0b00100000, #endregion #region Multi-image /// /// Not multi image (no more split files to follow) /// NotMultiImage = 0b00000000, /// /// Multi image (there is another split file to follow) /// MultiImage = 0b01000000, #endregion #region Run program mode /// /// Run program in Mode 1 (JMP RESET Vector) /// RunProgramInMode1 = 0b00000000, /// /// Run program in Mode 0 (JMP $8000) /// RunProgramInMode0 = 0b10000000, #endregion } }