MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×
Search the Community
Showing results for tags 'wep'.
I sure hope that this is the right place to post this. Has anyone ever played TETRIS for Windows? The current version of the game is version 2 with the datestamp of 1990-09-04 21:46:28 with TETRIS.EXE as the executable. It's a 16-bit executable that was apart of the first volume Microsoft Entertain Pack for Windows as well as Microsoft's Best of Windows Entertainment Pack that ran under Microsoft Windows 3.0 and later. Now here's the embarrassing limitation. According to this article, programmers used 16-bit signed integer variables to store points earned by the player. Once you reach the highest possible score of 32,767 points, it overflows and is displayed as a negative number (-32,768 points). Are there any 16-bit hex editing utilities that will look at 16-bit Windows executable files and are there any 16-bit de-compilers that will modify the code? Also, is there any idea what code that was used to store 16-bit signed integer variables to store points that were earned by the player? If there is no fix, I guess that you'll have to stop at 32,000. ;| Thank you for your time.