Skip to content

Instantly share code, notes, and snippets.

@kevingosse
Created March 10, 2026 18:08
Show Gist options
  • Select an option

  • Save kevingosse/6c53c73385ca60bf17a0911b5e2955c2 to your computer and use it in GitHub Desktop.

Select an option

Save kevingosse/6c53c73385ca60bf17a0911b5e2955c2 to your computer and use it in GitHub Desktop.
Here's a bit of context. In the 90s, my father used an obscure statistics software named PCSM for his research. He has results of some studies stored in PCSM. He's now a few years away from retirement, and he doesn't want this data to be wasted.
Unfortunately, it uses a proprietary format so we can't directly access the file.
The software itself can be launched in DosBox, but it uses piracy protection based on a dongle plugged on the parallel port. I have the dongle, but no computer has a parallel port nowadays so it's useless.
What I want you is to find a way inside the software. I've already done some probing, and as far as I can tell it's based on a Pascal virtual machine (P-code) with some native routines for specialized stuff, such as reading from the dongle.
Before we start working on this, we need to lay down a plan. I'm limited not by the number of tokens but by the number of requests, so you need to iterate autonomously for a long time. Any suggestion?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment