Show HN: I spent 3 years reverse-engineering a 40 yo stock market sim from 1986 (opens in a new tab)wallstreetraider.com
721 pointsHello my name is Ben Ward for the past 3 years I have been remastering the financial game Wall Street Raider created by Michael Jenkins originally on DOS in 1986.
It has been a rough journey but I finally see the light at the end of the tunnel. I just recently redid the website and thought maybe the full story of how this project came to be would interest you all. Thank you for reading.

Comments (240) 65 threads
Show all comments
Showing thread 35 of 65
So the program most likely is flat: a bunch of global variables (and possibly memory addresses), and instructions ordered by line number, rather than functions or methods.
(However it wouldn't surprise me if older 'line number' programs still mostly worked. iirc VB6 also supported this.)
Continue this thread — 2 replies
No line numbers except for goto labels, but gosub is the challenge for transpilation.
No real functions, only `gosub` and `goto` so everything is a global variable.
I think even assembler for x86 is easier to unravel.
But the best way I can answer your question. WSR does not claim to simulate real markets. It probably leans too much into fundamentals for our time, at least for the blue chip stocks in the game. What is actually is is a M&A and tax evasion simulator on top of a financial market sandbox to create tax implications to be avoided.
Continue this thread — 2 replies