public void SidReader_ReadRSIDV2_TrazDetails_Data() { SIDv2Reader sr = new SIDv2Reader(Path.Combine(resourceDir, "Traz.sid")); sr.ReadSidHeader(); byte[] data = sr.ReadSidData(sr.Header.DataOffset); }
public void SidReader_ReadRSIDV2_Version() { SIDv2Reader sr = new SIDv2Reader(Path.Combine(resourceDir, "FileSignature_Emulation_RSIDFile.sid")); sr.ReadSidHeader(); Assert.AreEqual(0x02, sr.Header.Version); }
public void SidReader_ReadPSIDV2_DataOffset() { SIDv2Reader sr = new SIDv2Reader(Path.Combine(resourceDir, "FileSignature_Emulation_PSIDFile.sid")); sr.ReadSidHeader(); Assert.AreEqual(0x7C, sr.Header.DataOffset); }
public void SidReader_ReadRSIDV2_TrazDetails_Flags() { SIDv2Reader sr = new SIDv2Reader(Path.Combine(resourceDir, "Traz.sid")); sr.ReadSidHeader(); Assert.AreEqual(0x02, sr.Header.Version); Assert.AreEqual(SIDVersion.MOS6581, sr.Header.SIDVersion); Assert.AreEqual(VideoStandardClock.PAL, sr.Header.VideoStandardClock); }