home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p120 / 2.ddi / PD5 / PD5S.EXE / MEMORY.DAT < prev    next >
Encoding:
Text File  |  1992-03-31  |  1.6 KB  |  73 lines

  1. echo off
  2. clrwin
  3. -- 03/31/92 ALA Rev 5.0
  4. -- 04/25/90 SJO Rev 4.01
  5. -- 09/28/89 SJO Created
  6. -- GCD Rev 4.01 Memory Configurator
  7.  
  8. macro DISPLAY_TITLE
  9.    setwin
  10.    setatt 15 1
  11.    clrwin
  12.    title  " Personal Designer Version 5.0 Memory Configurator "
  13. endmac
  14. macro BOTTOM_WINDOW
  15.   setwin 3 10 78 21
  16.   setatt 0 0
  17.   clrwin
  18.   setwin 2 9 77 20
  19.   setatt 15 2
  20.   clrwin
  21.   setatt  1 2
  22. endmac
  23. ------ Display title and create window ------
  24. DISPLAY_TITLE
  25. echo
  26. echo 
  27. center "The Personal Designer Version 5.0 Memory Configurator will allow you to"
  28. center "limit the amount of expanded memory available to Personal Designer to  "
  29. center "leave room for display lists or exapanded memory virtual disks.        "
  30. center "Personal Designer supports the Virtual Control Program Interface (VCPI)"
  31. center "and will work in harmony only with other VCPI programs.                "
  32. echo
  33.  
  34. setatt 10 1
  35. center "Do you wish to continue [Y/N]?"
  36. setatt 15 1
  37. getsel "YyNn"
  38. clrwin
  39. if select N exit
  40. if select n exit
  41.  
  42. :new_numbers
  43. DISPLAY_TITLE
  44. echo 
  45. echo
  46. echo
  47. center "Personal Designer's default configuration is to use all"
  48. center "available VCPI memory.                                 "
  49. echo
  50. getvar "          Please enter the new MAXVCPI value:    " V1 8
  51. echo
  52.  
  53. if {V1}@ == @ goto new_numbers
  54.  
  55. center "The new value is {V1}"
  56. echo
  57. center "Is this correct [Y/N]?"
  58. getsel "YyNn"
  59. if select N goto new_numbers
  60. if select n goto new_numbers
  61. clrwin
  62. echo
  63. echo
  64. echo
  65. center "Configuring....."
  66. cfig386 -clear pd.exe -maxvcpi {V1} -intmap 8 >log
  67. echo 
  68. echo
  69. center "Configuration Complete!"
  70. BOTTOM_WINDOW
  71. type log
  72. :exit
  73.