Switch from "compact" to "large" memory model, see how it goes.
Chris Pressey
4 years ago
75 | 75 | exit with non-zero error code on error |
76 | 76 | remove unimplemented -q option from usage help text |
77 | 77 | don't load invalid (past-EOF) bytes into playfield |
78 | default to Large memory model for Borland C compilers | |
79 | ("small" is too small, and "compact" crashes) | |
78 | 80 | |
79 | 81 | v0.94: Sep 2004, Chris Pressey |
80 | 82 | cleanup only, no functional changes |
91 | 93 | |
92 | 94 | /********************************************************* #PRAGMA'S */ |
93 | 95 | |
94 | /* This switches Borland C++ v3.1 to compact memory model, which doesn't crash */ | |
96 | /* This selects the "large" memory model so that, when compiled to | |
97 | x86 real mode (DOS or Windows), we can access more than 64K of data. | |
98 | (Used to be "compact" but that leads to crashes for some reason.) */ | |
95 | 99 | #ifdef __BORLANDC__ |
96 | #pragma option -mc | |
100 | #pragma option -ml | |
97 | 101 | #endif |
98 | 102 | |
99 | 103 | /********************************************************* #INCLUDE'S */ |