USER DOCUMENTATION FOR POV-Ray FOR MS-DOS USING BORLAND VERSION 1.0 Introduction The Borland compiled version of POV-Ray is designated by ".msdos.bcc" after the POV-Ray version number on the opening banner. Everything in this document ONLY applies to that version. Other versions will operate under different rules. This file is NOT the only documentation for POV-Ray. There is a file called MSDOS.DOC which covers the MSDOS-specific features but that still isn't everything. There is an archive called POVDOC.ZIP which contains the main documentation for POV-Ray itself that is common to all versions. POVDOC.ZIP also contains other REQUIRED files. 2.0 Memory Usage This version has been compiled as a 32-bit DOS protected mode application. It must be run on a 386 or higher system with at least 4 meg of memory. More memory is preferred. The program comes with two files 32RTM.EXE and DPMI32VM.OVL which must be in the execution directory or available in your DOS PATH. Additionally the file WINDPMI.386 is required when running under Windows. See part 4.0 on Windows below. When you run POV-Ray, it first automatically runs the Borland 32-bit run-time manager 32RTM.EXE and then loads POV-Ray. 32RTM then detects whether or not DPMI services are available. 2.1 Existing DPMI If there are existing DPMI services available then POV-Ray will use the existing DPMI. It is then up to the existing DPMI server to manage memory and to create and use a virtual memory swap file if needed. For example in a dos box under Windows, the DPMI is managed by Windows. Under DOS alone DPMI services might be provided by Quarterdeck's QDPMI or some other memory manager you might be using. 2.2 No DPMI available If no existing DPMI services are found, then DPMI32VM.OVL is automatically loaded and it provides DPMI services of its own. The Borland DPMI32 server then takes all available VCPI, XMS and Extended memory unless you specify otherwise via an environment variable. An environment variable also specifies the location of a virtual memory swap file. In your AUTOEXEC.BAT file put the line... SET DPMIMEM=MAXMEM nnn or SET DPMI32=MAXMEM nnn SWAPFILE d:\path\filename ... where nnn specifies the maximum number of kilobytes of physical memory to use and "d:\path\filename" is the drive, path and name of the swap file. Before using a swap file for virtual memory, you must first create one using the utility MAKESWAP.EXE which is provided. Usage: makeswap Kbytes [swapfile] Creates a swap file for the 32bit DPMI server to use. Kbytes is the size of the swap file in Kbytes 4K