home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo.
- echo Borland fix patch. 06-Mar-93.
- echo.
- echo LIB.EXE needs to be in the PATH and RUCKDAC.LIB, RUCKMIDI.LIB,
- echo DACMEMBC.OBJ and MIDMEMBC.OBJ need to be in the current directory.
- echo.
- echo This patch will create two new LIB files: BUCKDAC.LIB and BUCKMIDI.LIB.
- echo These files are exactly the same as the original LIBs except that the
- echo memory allocation module is replaced with one that uses _malloc rather
- echo than DOS INT48 for memory allocations.
- echo.
- echo If all is not ready press Ctrl-C to exit to DOS or, if all is go...
- pause
- echo.
- if not exist ruckdac.lib goto nogo
- if not exist ruckmidi.lib goto nogo
- lib ruckdac -dacmem +dacmembc,nul,BUCKDAC;
- if errorlevel==1 goto nogo
- lib ruckmidi -midimem +midmembc,nul,BUCKMIDI;
- if errorlevel==1 goto nogo
- echo.
- echo BUCKDAC.LIB and BUCKMIDI.LIB created.
- goto done
- :nogo
- echo.
- echo Error! New LIBs were not created properly.
- if exist BUCKDAC.LIB del BUCKDAC.LIB
- if exist BUCKMIDI.LIB del BUCKMIDI.LIB
- :done