Xref: utzoo comp.os.msdos.programmer:3989 comp.lang.pascal:5728 Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!gatech!prism!bb16 From: bb16@prism.gatech.EDU (Scott Bostater) Newsgroups: comp.os.msdos.programmer,comp.lang.pascal Subject: Re: TP memory problems Message-ID: <24398@hydra.gatech.EDU> Date: 15 Mar 91 13:14:01 GMT References: <1991Mar14.154513.2859@desire.wright.edu> Followup-To: comp.os.msdos.programmer Organization: Georgia Institute of Technology Lines: 25 In article <1991Mar14.154513.2859@desire.wright.edu> rocker@desire.wright.edu writes: [stuff deleted] > >The last thing I need to add is a backup capability. I was going to the >program write and EXEC a .BAT file, but I don't think I can give EXEC enough >memory. If I use $M to set heapmax low enough for EXEC, ny NEWs barf, if >it's not high enough EXEC does not run, DOSERROR=8. > On simtel20.army.mil, PD1:EXEC23.ZIP This swaps your program to either EMS or hard disk before doing the EXEC call. It's very similar to Ralf Brown's spawn30 routines for TC and MSC, but this one also works with TP and includes source. EXEC23 uses up a little more memory than Ralf's stuff (2K vs 1K), but then Ralf's stuff doesn't work directly with TP :-( -- Scott Bostater Georgia Tech Research Institute - Radar Systems Analysis "My soul finds rest in God alone; my salvation comes from Him" -Ps 62.1 uucp: ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!bb16 Internet: bb16@prism.gatech.edu