Hi,
You can use your P-80 like Tone Generator (TG) (case 1) and/or Like MIDI Controller (case 2).
Your computer will be the MIDI Recorder.
MIDI messages are not audio signals, they are only instruction about what key you are playing, what kind of timbre you like to use.
A Tone Generator read...