mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
Added EarlyRxStatusRegister, TransmitConfigurationRegister and a BinaryHelper class. Added network settings to Qemu.exe startup
21 lines
577 B
C#
21 lines
577 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cosmos.Driver.RTL8139.Register;
|
|
|
|
namespace FrodeTest.Test
|
|
{
|
|
class TransmitStatusDescriptorTest
|
|
{
|
|
public static void RunTest()
|
|
{
|
|
//Testing that the TSD is rotating between the four Descriptors
|
|
for (int i = 0; i < 10; i++)
|
|
{
|
|
Console.WriteLine(TransmitStatusDescriptor.GetCurrentTSDescriptor());
|
|
TransmitStatusDescriptor.IncrementTSDescriptor();
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|