19 lines
710 B
C#
19 lines
710 B
C#
using LibIRD;
|
|
using System;
|
|
|
|
namespace BuildIRD
|
|
{
|
|
internal class BuildIRD
|
|
{
|
|
static void Main()
|
|
{
|
|
byte[] discKey = new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
|
byte[] discID = new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
|
byte[] discPIC = new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
|
IRD ird = new IRD("Z:", discKey, discID, discPIC);
|
|
ird.Write("./ ird.ird");
|
|
Console.WriteLine(ird.HeaderLength);
|
|
}
|
|
}
|
|
}
|