If the gps
is wired for a serial
port, there are converters serial
to USB. However they are difficult to get working. If this is what you have, spend $32 and get a USB GPS. What follows assumes a USB GPS.
Go to Desktop>Right Click the Windows Icon>Device Manager>Ports(COM and LP)
and you will see the com port # for your device. Then follow the Opencpn