home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / WINDOS.ZIP / WINDOS.TXT
Text File  |  1993-01-02  |  11KB  |  284 lines

  1. Initial Release 7-25-92; This Revision 1-2-93
  2.  
  3.   The following is copyright 1992-1993 Jesse F. Knecht, RN.
  4.   All rights reserved.
  5.  
  6.   Information provided is without warranty.
  7.  
  8.   This information is not free, but may be distributed freely if
  9. not packaged with any other product.  This document must be
  10. distributed in unmodified form.  The procedure(s) are to be
  11. considered Shareware.
  12.  
  13.   If it works for you and you use it for 10 days, a $10
  14. initial CPU registration fee is required.  Additional CPU
  15. registrations are $5 each.
  16.  
  17.   You are simply being allowed to read/try/test the below
  18. described procedure(s) before paying for them.
  19.  
  20. Mail fee(s) (check, money order), name, address to:
  21. QHS, Inc.
  22. P.O. Box 8692
  23. Metairie, LA 70011
  24.  
  25. The author may be reached at the above address and also via email.
  26. CompuServe: 70400,600
  27. America Online: JFK RN
  28. Prodigy: MRSV81A
  29.  
  30. All trademarks of products referenced belong to their
  31. respective owners.
  32.  
  33.        "Shell to DOS from Windows running under OS/2 2.0"
  34.  
  35.   The following is quoted from the OS/2 2.0 GA README file.
  36.  
  37. "o   Windows programs cannot start DOS sessions or
  38.     DOS programs."
  39.  
  40.   IBM says you can't run Windows apps. in OS/2 2.0 that shell to DOS.
  41.  
  42.   I say you can!
  43.  
  44.   Do you NEED to shell to DOS from Windows under OS/2???
  45. Now I (and you) can use some programs that shell to DOS from
  46. Windows when in OS/2. NO REBOOTING TO USE THEM!
  47.  
  48.   What do you end up with?  Windows 3.0 in Real Mode (Large Frame
  49. EMS) that can shell to DOS.  I end up with 540k+ (550k+ using DRDOS)
  50. free conventional memory after after starting a DOS session
  51. from Windows 3.0 under OS/2.
  52.  
  53.   The procedure works without using any IBM "fixes" that have been
  54. released (OS/2 2.0 with all files dated 3-30-92).  This is sometimes
  55. called the OS/2 2.0 GA version.  As there have been numerous "fixes"
  56. for OS/2 2.0 released by IBM it is impossible for the author to
  57. download and try them all.
  58.  
  59.   This zip file was created by a Windows program that starts PKZIP.EXE
  60. version 1.1 (a DOS program) to do the zipping.  It was done using
  61. the procedure as described herein.
  62.  
  63.   It's a fairly easy 6 part procedure.
  64.  
  65.   1) Backup your files
  66.   2) Create a DOS *.IMG file (can use a boot floppy instead)
  67.   3) Model the IMG config.sys & autoexec.bat files after the
  68.      below examples. Use your particular directory/drive names.
  69.   4) Adjust settings for the IMG file
  70.   5) Edit the Windows 3.0 system.ini file
  71.   6) Run it (WIN /R)
  72.  
  73.   I have not patched any of the OS/2, Windows, or DOS files; I use
  74. the 3-30-92 OS/2 kernel, but have downloaded a couple of other
  75. fixes (REXX, com & floppy, VEMM, and Trident video drivers).
  76.  
  77.   What do you need?
  78.  
  79.   You need Microsoft Windows 3.0 and Win3 needs to be started from
  80. a DOS *.IMG file (MS DOS 5 and DR DOS 6 both work) or Drive A:
  81. DOS.  It also helps to have 4DOS.COM (shareware) replace COMMAND.COM
  82. as 4DOS can load conventional, XMS, EMS or swap to disk if needed.
  83. 4DOS gives me almost 10k more of 1st 640k than COMMAND.COM.
  84.  
  85.   I have both MSDOS.IMG and DRDOS.IMG files I use. The only
  86. difference seems to be that DEVICEHIGH= (HIDEVICE) doesn't
  87. seem to work on the DRDOS.IMG; the files load low with every
  88. combination I've tried.
  89.  
  90.   The following refers to a MSDOS.IMG file but can be used for
  91. DRDOS as well.
  92.  
  93.   Create your IMG file as per OS/2 online instructions.
  94. To save hard drive space use the smallest floppy available to create
  95. your IMG file.  I dusted off an old single-side 1D floppy (160k) for
  96. my IMG files.  Do they still make 160k floppies?
  97.  
  98.   Sample IMG config.sys:
  99.  
  100. DEVICE=FSFILTER.SYS
  101. DEVICE=F:\OS2\MDOS\HIMEM.SYS
  102. DEVICE=F:\OS2\MDOS\EMM386.SYS
  103. REM Next line for DRDOS IMG
  104. REM DEVICE=C:\DOS\HIDOS.SYS /B=FFFF
  105. DOS=HIGH,UMB
  106. REM Do not use \os2\mdos\COMMAND.COM supplied with OS/2
  107. REM SHELL=C:\COMMAND.COM C:\ /P /E:1024
  108. SHELL=F:\4D\4DOS.COM F:\4D @F:\4D\MSDOSIMG.INI /P
  109. REM May use fewer files
  110. FILES=99
  111. REM Use HIBUFFERS for DRDOS
  112. BUFFERS=25
  113. DEVICEHIGH=F:\OS2\MDOS\ANSI.SYS
  114.  
  115.   Sample IMG autoexec.bat:
  116. (If you mention WINOS2 in your PATH, place your Windows 3.0
  117. directory before it; your true DOS should be before \os2\mdos)
  118.  
  119. @ECHO OFF
  120. SET PCTOOLS=D:\PCT\DATA
  121. SET TEMP=E:\TEMP
  122. SET TMP=E:\TEMP
  123. REM Next line I use for WinBatch
  124. SET IMGFIL=YES
  125. REM Next line is for 4DOS
  126. SET _CDPATH=D:\QHS;D:\;D:\WIN;E:\;F:\;C:\;D:\OV;D:\WS;F:\OS2;D:\;F:\OS2\MDOS;
  127. PATH F:\4D;C:\DD;D:\WIN;C:\DOS;D:\WP;D:\XL;D:\OV;D:\WS;D:\CC;D:\CC\CAM;D:\PCT;
  128. REM Next 2 lines activate my numlock and capslock that OS/2 turns off
  129. NUMLOCK
  130. CAPSLOCK
  131. PROMPT $i$E[1;32mTime $T$_Date $D$E[1;31m [MSDOS IMG] $P$G$E[0;1m
  132. F:\OS2\MDOS\MOUSE
  133. REM Next 2 lines are for 4DOS
  134. ALIAS /P /R F:\4D\ALIASMSD.TXT
  135. HISTORY /R F:\4D\HISTQHS.TXT
  136. F:
  137. ECHO Edit IMG files now if needed.
  138. ECHO   Enter FSACCESS A: for "normal" A: drive access.
  139.  
  140.   My "settings" for MSDOS.IMG include DOS full screen DOS_RMSIZE 640,
  141. KBD_CRTL_BYPASS CTRL_ESC, EMS_FRAME_LOCATION AUTO,
  142. EMS_MEMORY_LIMIT 2048, XMS_MEMORY_LIMIT 2048,
  143. DOS_STARTUP_DRIVE F:\OS2\MSDOS.IMG, DOS_UMB ON, DOS_HIGH ON.
  144.  
  145.   Lastly, you need to make a slight change to the Windows 3.0
  146. system.ini file if you want to use your mouse.  In the [BOOT]
  147. section there is the line: mouse.drv=mouse.drv
  148.  
  149.   REM the line by placing a semicolon ";" in front of it.
  150.  
  151. ;mouse.drv=mouse.drv
  152.  
  153.   Add the line:
  154.  
  155. mouse.drv=<your drive>:\os2\mdos\winos2\system\mouse.drv
  156.  
  157.   Use the full path as above.  DO NOT overwrite your "normal"
  158. Windows mouse.drv by copying the file from OS/2 (read on).
  159.  
  160.   Doing the above system.ini editing substitutes the winos2 driver
  161. for the the Windows 3.0 mouse driver.  The above assumes a standard
  162. Microsoft compatable mouse.  Note, if you later decide to boot
  163. DOS and want to run Windows 3.0, REM out ";" the winos2 driver
  164. and unREM the regular Windows 3.0 driver.  Windows 3.0 may not start
  165. under DOS if the winos2 driver is used.
  166.  
  167.  
  168.   DR DOS USERS: Include both HIDOS=ON and DOS=LOW,UMB in your
  169.                 IMG config.sys.  You'll add almost 8k to your
  170.                 available 1st 640k in the session.
  171.  
  172.                 ***Potential problem areas & solutions.***
  173.  
  174.   ALL USERS:    Earlier I mentioned using the smallest *.IMG possible to
  175.                 save hard drive space.  You *may* need a larger *.IMG
  176.                 with free space to set the IMG's TEMP environment to.
  177.                 SET TEMP=A:\
  178.                 You'll need around 400k-410k free for Windows itself plus
  179.                 area for your application(s) temp file(s).  I have a 1.44
  180.                 meg DrDOS IMG with 1.3 meg free that this works well on.
  181.                 The larger your application temp file(s) the more free IMG
  182.                 space you'll need.
  183.   
  184.                 The mouse command in the IMG autoexec.bat is
  185.                 required for mouse use.  This is in addition
  186.                 to editing Windows 3.0 system.ini.
  187.  
  188.                 In the IMG file autoexec.bat, set your TEMP
  189.                 (TMP) environment to some drive and/or
  190.                 directory other than where your OS/2 swappath
  191.                 is.  Check your OS/2 config.sys.  You'll find
  192.                 a line similar to:
  193.                              SWAPPATH=E:\ 2048 2048
  194.                 In the above example OS/2 is swapping to the
  195.                 root directory on E drive.  For this example you'd
  196.                 set your IMG file TEMP environment somewhere other
  197.                 than the root directory of E.
  198.                 SET TEMP=E:\TEMP works in my IMG file autoexec.bat.
  199.  
  200.                 If you have 2048k or less free on the SWAPPATH drive
  201.                 (referring to above example), set the IMG's TEMP to
  202.                 a different drive.
  203.  
  204.                 In Windows 3.0 SYSTEM.INI there is a section: [NonWindowsApp]
  205.                 You may or may not have any entries in the section.  If,
  206.                 however, there is an entry that begins
  207.                 swapdisk=
  208.                 be sure it does not point to the SWAPPATH directory.
  209.                 Swapdisk= tells windows where to swap non-windows apps.
  210.                 when in standard and REAL modes.  The Windows default
  211.                 (no entry) is the TEMP environment or the Windows directory
  212.                 if there is no TEMP environment.  You may need to REM
  213.                 the line (use a semicolon ";" as instructed earlier).
  214.                 See sysini.txt.
  215.  
  216.                 In Windows 3.0 WIN.INI the [windows] section may
  217.                 contain the line: swapdisk=
  218.                 This is in addition to the SYSTEM.INI entry.
  219.                 This entry should indicate the same path as the
  220.                 SYSTEM.INI notation.  If there is no SYSTEM.INI
  221.                 entry or you used the REM ";" suggestion, then the
  222.                 WIN.INI should be:
  223.                 swapdisk=
  224.                 (nothing after "=")
  225.  
  226.                 OS/2 config.sys should include DOS=HIGH,UMB;
  227.                 RMSIZE=640; along with all the v*.sys statements OS/2 adds.
  228.                 Be sure your OS/2 config.sys loads vemm.sys & vxms.sys.
  229.  
  230.                 You might also add the line: 
  231.                          SET COMSPEC=<your command processor>
  232.                 to your IMG autoexec.bat.  Refer to your MSDOS or
  233.                 DRDOS user's guides for more info on SET, SHELL,
  234.                 and COMSPEC.
  235.  
  236.   If you'd like a 160k IMG file for OS/2 and can't make one
  237. yourself, mail a bootable floppy (msdos.sys, io.sys, & command.com
  238. for MS DOS; ibmbio.com, ibmdos.com, & command.com for DR DOS) up to
  239. 1.44meg to the below address.  Also include your OS/2 file fsfilter.sys.
  240.  
  241.   **You may order IMG files only up to the number of DOS (MS/DR) you
  242. have currently licensed.  We are not selling system files, but rather
  243. putting your files in a different format for you to use.
  244.  
  245.   There is a $2 fee (check or money order) per IMG for this
  246. service which includes return by US mail of your floppy with the
  247. 160k IMG file on it.  This service is available only to those
  248. licensing the procedure.
  249.  
  250. Mail fees (check or money order), floppies, name, address to:
  251.  
  252. QHS, Inc.
  253. P.O. Box 8692
  254. Metairie, LA 70011
  255.  
  256.  
  257. Your Name: ______________________________
  258.  
  259. Company: ________________________________
  260.  
  261. Address: ________________________________
  262.  
  263.          ________________________________
  264.  
  265.          ________________________________
  266.  
  267.          ________________________________
  268.  
  269. Procedure Use @ $10 initial CPU: ____
  270. Additional CPU(s) @ $5 ea. : _________
  271.  
  272. 160k IMG Files @ $12 ea.: ________
  273. (Includes US mail shipping and procedure use on
  274. one CPU)
  275.  
  276. Outside US shipping @ $2.00 per floppy: _______
  277.  
  278. Louisiana Residents 4% tax: _______
  279.  
  280. Total: ___________
  281.  
  282. Please allow approx. 2 weeks for US delivery of IMG files.
  283.  
  284.