Skip to content
External 7-segment display driver for Wing Commander
C# C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
kps-counter
.gitattributes
.gitignore
LICENSE
README.md
kps-counter.sln
kps-counter.zip
kps_counter.ino

README.md

kps-counter

External 7-segment display driver for Wing Commander

4 digit 7-segment display attached to an Arduino

Tested on Windows 10 with GOG release of Wing Commander 1.

Demo

Hardware used for external display:
  • Elegoo Arduino UNO R3
  • 830 tie-points breadboard
  • 4 Digit 7-segment display (common cathode)
  • 4 330-ohm resistors
  • a bunch of M-M jumper wires
Notable files:
  • kps_counter.ino - sketch to upload to the Arduino to receive data via serial connection and display
  • WingCommanderMemoryReader.cs - interface to pull relevant data from DOSBox process
  • Program.cs - CLI program that bridges the memory interface to the Arduino serial connection
  • kps-counter.zip - Compiled version of the C# project, sketch, and memory.dll

Additional information can be found in my blog

You can’t perform that action at this time.