home *** CD-ROM | disk | FTP | other *** search
- echo off
- clrwin
- -- 03/31/92 ALA Rev 5.0
- -- 04/25/90 SJO Rev 4.01
- -- 09/28/89 SJO Created
- -- GCD Rev 4.01 Memory Configurator
-
- macro DISPLAY_TITLE
- setwin
- setatt 15 1
- clrwin
- title " Personal Designer Version 5.0 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 Personal Designer Version 5.0 Memory Configurator will allow you to"
- center "limit the amount of expanded memory available to Personal Designer to "
- center "leave room for display lists or exapanded memory virtual disks. "
- center "Personal Designer supports the Virtual Control Program Interface (VCPI)"
- center "and will work in 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 "Personal Designer's default configuration is to use all"
- center "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 pd.exe -maxvcpi {V1} -intmap 8 >log
- echo
- echo
- center "Configuration Complete!"
- BOTTOM_WINDOW
- type log
- :exit