Skip to content

Commit

Permalink
Small tweaks, updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
livingcomputermuseum committed Jul 31, 2019
1 parent 0a6187a commit 85dd432
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
13 changes: 7 additions & 6 deletions D/Ethernet/HostEthernet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,13 @@ public void Send(ushort[] packet)

// Send it over the 'net!
_interface.SendPacket(p);


Log.Write(LogType.Verbose, LogComponent.EthernetReceive, "Packet (length {0}) sent: dst {1} src {2}",
packetBytes.Length,
p.DestinationHwAddress,
p.SourceHwAddress);

Log.Write(LogComponent.HostEthernet, "Ethernet packet (length {0}) sent.", packetBytes.Length);

}

private void ReceiveCallback(object sender, CaptureEventArgs e)
Expand Down Expand Up @@ -198,12 +202,9 @@ private void ReceiveCallback(object sender, CaptureEventArgs e)
(packet.DestinationHwAddress.Equals(_10mbitSourceAddress) || // Filter on packets destined for us or broadcast.
packet.DestinationHwAddress.Equals(_10mbitBroadcastAddress)))
{
Log.Write(LogType.Verbose, LogComponent.EthernetReceive, "Packet received: dst {0} src {1}",
Log.Write(LogType.Verbose, LogComponent.HostEthernet, "Packet received: dst {0} src {1}",
packet.DestinationHwAddress, packet.SourceHwAddress);

Log.Write(LogComponent.HostEthernet, "Received ethernet packet.");
_callback(new System.IO.MemoryStream(e.Packet.Data));

/*
if (Log.Enabled)
{
Expand Down
2 changes: 1 addition & 1 deletion D/IOP/Beeper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void EnableTone()

public void DisableTone()
{
if (Log.Enabled && _enabled) Log.Write(LogComponent.Beeper, "Tone disabled.", _frequency);
if (Log.Enabled && _enabled) Log.Write(LogComponent.Beeper, "Tone disabled.");
_enabled = false;
}

Expand Down
9 changes: 5 additions & 4 deletions D/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ these are mapped to Function keys, arrow keys, and the Home/End/PgUp/PgDown
keys present on most desktop keyboards -- laptop keyboards may be more
difficult to use, depending on your keyboard's layout.

A three-button mouse is essential for using some Star software (XDE and
A three-button mouse is useful for using some Star software (XDE and
Interlisp-D, for example). On most mice, the mousewheel can be clicked to
provide the third (middle) button. Laptops with trackpads may have
configuration options to simulate three buttons but will likely be clumsy to
Expand Down Expand Up @@ -352,8 +352,8 @@ are a few steps that are not well documented and which are fairly unintuitive:
this will bypass startup diagnostics entirely.

The following passwords will allow you to run Viewpoint in perpetuity. When
using them, ensure the emulated Star's TOD clock is set to a date after
December, 1997:
using them, ensure the emulated Star's TOD clock is set to a date in
December, 1997 (afterwards the clock can be set to whatever date you like):

ViewPoint 1.1 / Services 10.0: J SH9R JX2A CH3N
ViewPoint 2.0 / Services 11.0: 8 7T78 M8YL LFEQ
Expand Down Expand Up @@ -413,7 +413,7 @@ The Display Configuration tab provides options for the emulated Star's display:
- Stretch screen in Fullscreen mode: Stretches the Star's display to fill the
entire screen in fullscreen mode. This maintains the original display's
aspect ratio. Depending on the resolution of the screen, this may result
in a blurry screen.
in a blurry display.


4.4 Time Configuration
Expand Down Expand Up @@ -566,6 +566,7 @@ https://github.com/flibitijibibo/SDL2-CS.
v1.1.0.0
- Floppies can now be formatted and written.
- Tweak to "No change" time configuration option (sets Power Loss flag.)
- Added full screen display mode

v1.0.0.1
--------
Expand Down

0 comments on commit 85dd432

Please sign in to comment.