CompuServe Thread

Shell to Animator Pro

5 messages in this thread
#102184From: Ingo NeumannMay 17, 1994 4:36 AM
There is no need to remove HIMEM.SYS in the CONFIG.SYS. Try the following, which works fine since years on my systems. With step 1+2 there is no need for the COMMAND.COM in the 3DS3-directory. 1. In the CONFIG.SYS set your shellpath for COMMAND.COM with: SHELL=C:\DOS\COMMAND.COM C:\DOS\ /E:1024 /p 2. In the AUTOEXEC.BAT do the following: SET COMSPEC=C:\DOS\COMMAND.COM 3. In the 3DS.SET enter your programms with: … USER-PROG1 = "e:\anipro\ani.exe","Animator" USER-PROG2 = "e:\win31\win.com","Windows 3.1" … 4. Make some Batch-files in the 3DS3-directory with diffren MAXX settings for diffrent memory alloction of 3DS3 like the following examples, (note you have to change the SWAPDIR-path!): CFGALL.BAT cfig386 3ds -clear -swapchk ON -minswfsize 400000 -minreal ffffh cfig386 3ds -maxreal ffffh -intmap 08h -vscan 20000 -swapdir g:\temp cfig386 3ds -maxx FFFFFFFFh REM cfig386 3ds -maxx FFFFFFFFh *use ALL of XMS-memory REM cfig386 3ds -maxx F00000h *use 15MB of XMS-memory REM cfig386 3ds -maxx 1400000h *use 20MB of XMS-memory REM cfig386 3ds -maxx 1900000h *use 26MB of XMS-memory REM and so on… 5. Before you start 3DS call one of the Batch-files to limit the memoryallocation of 3DS (note that it's not nescessary to do it every time, only if you want to change the memory settings). 6. Start 3DS with: 3DSHELL.COM For example if your system has 32 MB of Memory call CFG20MB.BAT, so 3DS allocate 20 MB and you have 12 MB free for other applications inside 3DS. Have fun Ingo
#102227From: James FranssenMay 17, 1994 10:07 AM
Thanks Ingo, I'll give it a try.
#102249From: James FranssenMay 17, 1994 11:41 AM
Okay.. tried some things. But being I am inexperienced withing the techincal world, I need a bit more help 🙂 I did steps 1-3 with not much problem, but when configuring the Batch files, I am unsure which example to use to allocate 20 MB to 3DS. **CFGALL.BAT cfig386 3ds -clear -swapchk ON -minswfsize 400000 -minreal ffffh cfig386 3ds -maxreal ffffh -intmap 08h -vscan 20000 -swapdir g:\temp cfig386 3ds -maxx FFFFFFFFh REM cfig386 3ds -maxx FFFFFFFFh *use ALL of XMS-memory REM cfig386 3ds -maxx F00000h *use 15MB of XMS-memory REM cfig386 3ds -maxx 1400000h *use 20MB of XMS-memory REM cfig386 3ds -maxx 1900000h *use 26MB of XMS-memory REM and so on…** My CFIG.BAT contains a "cfig386.exe" should I change your "cfig386.3ds" to .exe? Also, you mentioned that I should call one of the batch files before starting 3DS. How do I call a batch file? (no jokes please <G>) Thanks, James Franssen
#102496From: Nik Grant [adesk]May 18, 1994 8:47 AM
"My CFIG.BAT contains a "cfig386.exe" should I change your "cfig386.3ds" to .exe?" The example you were given is correct (e.g.): REM cfig386 3ds -maxx 1400000h Notice that he did not say CFIG386.3DS – there is a space between CFIG386 and 3DS, not a period. This would be the same thing as "CFIG386.EXE 3DS". "Also, you mentioned that I should call one of the batch files before starting 3DS. How do I call a batch file?" Calling a batch file can be a powerful tool, but I think you have to have DOS 5 or higher. Here is an example: TEST.BAT DOTHIS1 (This could be a SET command or EXE file, etc.) DOTHIS2 " " CALL MACROS.BAT (This runs the file MACROS if it is on the path) DOTHIS3 You could run MACROS.BAT without the word call, but you would end up leaving TEST.BAT and not completing DOTHIS3. Using the CALL command will allow the MACROS.BAT to run, then return you to the next line of TEST.BAT. Oh – I usually silence my batch files by adding a couple of things: TEST.BAT @Echo off DOTHIS1…etc. @call MACROS.BAT etc…. Nik
#102594From: Ingo NeumannMay 18, 1994 2:55 PM
Sorry for my english, I don't mean the dos-command CALL, I mean, for example, type at the DOS-Prompt: CFGALL.BAT and then ENTER. After that 3DS will allocate all memory. Work with it and if you want that 3DS should only allocate 15MB, then type CFG15MB.BAT before starting 3DS and so on. Note that the memory changes are permanently saved in your 3DS.EXE until you start another CFG????.BAT Hope this helps. If nescessary I will upload some sample Batch-files. Let me know it. Ingo