git @ Cat's Eye Technologies Befunge-93 / 33c8c01
Untested, but solution will likely be something like this. Chris Pressey 3 years ago
2 changed file(s) with 9 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
0 rem --------------------------------------------------------------
1 rem Batchfile that compiles the bef sources under Borland C++ 3.1.
2 rem Uses "large" memory model for befprof b/c it uses >64K data.
3 rem --------------------------------------------------------------
4
5 bcc src\bef.c bin\bef.exe
6 bcc -ml src\befprof.c bin\befprof.exe
7 bcc src\bef2c.c bin\bef2c.exe
6363 Has, in the Past, been Known to Compile Under:
6464
6565 Borland C++ v3.1 (16-bit MS-DOS)
66 (NOTE: use "compact" or "large" memory model!)
6667 Metrowerks CodeWarrior (MacOS)
6768
6869 ******************************************************************
7576 exit with non-zero error code on error
7677 remove unimplemented -q option from usage help text
7778 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)
8079
8180 v0.94: Sep 2004, Chris Pressey
8281 cleanup only, no functional changes
9089 original Befunge-93 Profiler 'befprof' distribution.
9190
9291 ****************************************************************** */
93
94 /********************************************************* #PRAGMA'S */
95
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.) */
99 #ifdef __BORLANDC__
100 #pragma option -ml
101 #endif
10292
10393 /********************************************************* #INCLUDE'S */
10494