home *** CD-ROM | disk | FTP | other *** search
- echo off
- clrwin
- -- 09/28/89 SJO Created
- -- GCD Rev 4.00 Memory Configurator
-
- macro DISPLAY_TITLE
- setwin
- setatt 15 1
- clrwin
- title "╗ microCADDS Geometric Construction and Detailing ╔"
- center "╚ Revision 4.00 Memory Configurator ╝"
- endmac
- macro BOTTOM_WINDOW
- setwin 3 10 78 21
- setatt 0 0
- clrwin
- setwin 2 9 77 20
- setatt 15 2
- clrwin
- setatt 1 2
- endmac
- ------ Display title and create window ------
- DISPLAY_TITLE
- echo
- echo
- center "The GCD Rev 4.00 Memory Configurator will allow you to limit "
- center "the amount of expanded memory available to GCD to leave room for"
- center "display lists or exapanded memory virtual disks. GCD supports "
- center "the Virtual Control Program Interface (VCPI) and will work in "
- center "harmony only with other VCPI programs. "
- echo
-
- setatt 10 1
- center "Do you wish to continue [Y/N]?"
- setatt 15 1
- getsel "YyNn"
- clrwin
- if select N exit
- if select n exit
-
- :new_numbers
- DISPLAY_TITLE
- echo
- echo
- echo
- center "GCD's default configuration is to use all available VCPI memory."
- echo
- getvar " Please enter the new MAXVCPI value: " V1 8
- echo
-
- if {V1}@ == @ goto new_numbers
-
- center "The new value is {V1}"
- echo
- center "Is this correct [Y/N]?"
- getsel "YyNn"
- if select N goto new_numbers
- if select n goto new_numbers
- clrwin
- echo
- echo
- echo
- center "Configuring....."
- cfig386 -clear gcd.exe -maxvcpi {V1} -intmap 8 >log
- echo
- echo
- center "Configuration Complete!"
- BOTTOM_WINDOW
- type log
- :exit
-