home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 30 fixes_v / 30-fixes_v.zip / geosos2.zip / GEOSOS2.DOC next >
Text File  |  1992-07-20  |  7KB  |  147 lines

  1.                       Making Geoworks run under OS/2 2.0
  2.  
  3.                      by Marcus Groeber, Fido 2:2402/61.1
  4.                    Using information by "AaronB6" from AOL
  5.                        and the folks at GW tech support
  6.  
  7. Running Geoworks in a native "OS/2 MDOS" session
  8. ------------------------------------------------
  9. This file describes a procedure to make Geoworks versions 1.2 and Pro run
  10. under OS/2 in a DOS fullscreen session (no specific DOS VDM is required).
  11.  
  12. It includes some patches to be applied on the kernel.exe file, therefore it is
  13. highly version dependant and will only work with those versions it's inteded
  14. for (release level 1.2.4.3, 1.2.5.4 and 1.2.8.1 - look into SYSINFO if in
  15. doubt).
  16.  
  17. As with all patches, it is highly recommended that you back up your kernel.exe
  18. file before starting to patch it. You might need the original version anyway
  19. because this patch might be a little unstable when used in "native dos" mode.
  20.  
  21. To apply the patches to your Geoworks kernel, you will have to do the
  22. following:
  23.  
  24.  - Copy the file "geosos2.pat" from this archive to the root directory of your
  25.  Geoworks drive.
  26.  
  27.  - Change to the directory containing "kernel.exe".
  28.  
  29.  - Enter the command "PATCH /A \geosos2.pat". This will use OS/2's built-in
  30.  patch utility to identify the kernel version you're using and modify it
  31.  appropriately.
  32.  
  33.  - If the kernel can be patched, you will see one message of success and some
  34.  others indicating failure. This is all right, because PATCH always tries to
  35.  apply all the patches it knows (also those for versions you don't have).
  36.  
  37.  - If you see only failure messages, your kernel version is not recognized.
  38.  You can't use this patch - sorry. You can still try to locate the data to be
  39.  patched (those behind VER) yourself and changed only the adress values. Seems
  40.  to work with all 1.2.x.x based versions.
  41.  
  42.  - After patching you can rename the patched kernel to OS2KERN.EXE and use an
  43.  OS/2 DOS window to launch GeoWorks directly. Also copy the backup kernel back
  44.  to KERNEL.EXE and you can run GeoWorks under plain DOS with no problem.
  45.  
  46.  
  47. In addition to patching the kernel, you'll need to change some OS/2 and
  48. Geoworks settings for Geoworks to run correctly:
  49.  
  50.  - It is best to create a new DOS icon in your "command prompts" folder
  51.  especially for Geoworks, so you can start it using an OS/2 icon. This can be
  52.  done by duplicating the old DOS fullscreen icon.
  53.  
  54.  - The following settings are recommended for use with Geoworks (other changes
  55.  might improve performance even more):
  56.  
  57.   Program/Path & filename: C:\GEO\OS2KERN.EXE  (Path to patched kernel)
  58.   Session: DOS/Full Screen (must set AFTER setting above - OS/2 quirk)
  59.  
  60.   DOS Settings:
  61.     DOS_FCBS 1
  62.     DOS_FCBS_KEEP 0
  63.     DOS_FILES 150  (Need at least 100; 150 is better)
  64.     DOS_HIGH On  (gives GeoWorks more memory)
  65.     DOS_LASTDRIVE F  (1 MORE than last drive!!!!!)
  66.     DOS_UMB On
  67.     DOS_VERSION add OS2KERN.EXE,05,00,255  (so GeoWorks will run)
  68.                  or KERNEL.EXE,05,00,255  (if you didn't rename KERNEL.EXE)
  69.     VIDEO_SWITCH_NOTIFICATION On (Shouldn't make much difference)
  70.  
  71.  - This archive should include an icon file which you can assign to your DOS
  72.  session icon using OS/2's icon editor (last page in the settings notebook),
  73.  so you'll get a real nice Geoworks logo in your WPS. :-)
  74.  
  75. You can also add the DOS_VERSION setting (see above) in the default fullscreen
  76. icon, so you can run Geoworks in the DOS box.
  77.  
  78.  
  79. Now you should be able to run Geoworks.
  80.  
  81.  - Once it's up and running, you might experience problems with your mouse. In
  82.  this case you should use the keyboard to start the Preferences screen of
  83.  Geoworks to change the mouse driver to "MOUSE.COM / MOUSE.SYS".
  84.  
  85.  - The parallel printer ports (in the "Computer" settings) should be set to
  86.  either BIOS or DOS.
  87.  
  88.  - You'll notice that all hard drives are now displayed as network drives by
  89.  Geoworks, and that the floppy drives are missing. This is exactly what the
  90.  patch does, so you shouldn't have to bother with it. :-) A later patch might
  91.  also fix the disk drives so you can go on formatting those floppy disks from
  92.  Geoworks...
  93.  
  94.  - You might loose control of your mouse pointer in Geoworks when you try to
  95.  switch Geoworks from fullscreen to windowed mode and then back. You can still
  96.  use your keyboard to leave Geoworks.
  97.  
  98.  - Because OS/2 is doing its own printer spooling, the documents printed under
  99.  Geoworks might not be sent to the printer unless you leave Geoworks. I
  100.  haven't found any way yet to counter this problem.
  101.  
  102.  - Geos won't be able to reload itself after running a DOS program, nor will
  103.  it be able to restart itself after changing something in preferences with the
  104.  kernel renamed to be OS2KERN.EXE (of course, you can also patch the
  105.  kernel.exe string you'll find early in the load image to match, except you'll
  106.  have to call it OS2KER.EXE, to keep the number of characters the same).
  107.  
  108.  
  109. Running Geoworks in a "Specific DOS VDM"
  110. ----------------------------------------
  111. If you want to run Geoworks in a specific DOS VDM (i.e. a DOS session booted
  112. from drive A or from a disk image file), which might be useful in some extreme
  113. situations, you must first set up a DOS boot disk that fullfills all the
  114. requirements imposed by Geoworks itself (especially FILES=100 or higher).
  115.  
  116. Do not forget including the FSFILTER.SYS driver from the \OS2\MDOS directory
  117. on your boot disk, and the line DEVICE=FSFILTER.SYS at the beginning of your
  118. CONFIG.SYS. Otherwise, Dos will not have full access to your OS/2 partitions
  119. (i.e. you might be able to read FAT partns, but neither write to them nor
  120. access any HPFS data). You will probably also want to include the OS/2 mouse
  121. driver, and possibly the HIMEM.SYS and EMM386.SYS as well.
  122.  
  123. Furthermore, you have to apply the same patches to KERNEL.EXE than for a
  124. native MDOS session.
  125.  
  126. If you happen to have the program DRVSET.SET from Andrew Schulman's great
  127. "Undocumented Dos" guide, there is even a way of getting around patching the
  128. kernel, if using a specfic DOS VDM (tested with DOS 5.0): You can use
  129.  
  130.    DRVSET C: NET
  131.    DRVSET D: NET       ... etc ...
  132.  
  133. to make all hard disk partitions look like networks drives (actually, this is
  134. how I got the idea for the patch) to Geoworks. This still doesn't fix all the
  135. problems with the floppy disks, but it works on my machine, too.
  136.  
  137. Anyway, there is still a little quirk in the FSFILTER.SYS driver currently
  138. disributed: It doesn't seem to recognize the high number of FILES set for DOS,
  139. so Geoworks will fail when run (typically with a message like "No video driver
  140. loaded" or sth misleading like that...
  141.  
  142. To tell FSFILTER.SYS that you want to stretch your files to the maximum, you
  143. should run the program SETFILES.COM (included in this archive) prior to
  144. starting Geoworks. It uses DOS function 67h to set the number of handles to
  145. 255. Normally, this setting is lost after the programm terminates, but under
  146. OS/2 it seems to change more things internally.
  147.