Changeset 1753


Ignore:
Timestamp:
Nov 15, 1999, 9:19:21 PM (26 years ago)
Author:
achimha
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Readme.txt

    r1751 r1753  
    102102----------------------------------------------------
    103103
     104The win32k.sys driver makes PE (Win32) executables equal to native OS/2
     105executables by implementing a Ring 0 on-the-fly converter. The converter is
     106Pe2Lx.exe. So, everything that works with Pe2Lx will probably work with
     107win32k.sys. And vice versa, when Pe2lx don't make it, win32k.sys won't either.
     108
     109You may wonder how you may run a Win32 program using a device driver. You
     110don't have to worry about that, simply treat the Win32 program just as an
     111another OS/2 program. OS/2 can't tell the difference!
     112No conversion of dlls or running programs thru Pe.EXE.
     113
     114For example, if you fancy playing windows solitaire.
     115    1) Make sure the necessary DLLs are in you (BEGIN/END)LIBPATH,
     116       and that SOL.EXE is in the current directory or the directory you
     117       specify.
     118
     119    2) Then start SOL.EXE by simply typing SOL.EXE (with path if necessary).
     120       It's also possible to start SOL.EXE from the desktop if you like.
     121       Simply find the SOL.EXE icon (or create it) and double click on it!
     122
     123
     1242.2.1 WARNING
     125-------------
     126
     127The Win32k.sys is quite alpha software and any bugs which haven't been found
     128yet may crash and/or corrupt you entire system! Make sure you have backed up
     129important stuff first!
     130
     131We are not responsible for ANYTHING AT ALL! See Odin32 disclaimer...
     132
     133Before you install win32k.sys make sure that you have a backdoor to your system
     134which works. For example try to boot your system using the Alt+F1 during bootup
     135and choose Commandline boot (F2). Make sure you have an textmode editor which
     136works; for example TEDIT.EXE.
     137
     138
     1392.2.2 Requirements
     140------------------
     141
     142Win32k should work on any Warp 4 or Warp Server for e-business installations
     143which Odin32 works on. It requires only one thing, a kernel symbol file. The
     144kernel symbol is looked for in \OS2\PDPSI\PMDF\WARP4 and
     145\OS2\PDPSI\PMDF\WARP45_U/S. All warp 4 and WE4eB installations should have
     146those direcotries (we hope). It is updated when you install a new fixpack - so
     147there is really nothing to worry about for the common user.
     148
     149For those playing with debug-kernels, make sure that OS2KRNL.SYM is matching
     150the running kernel, while this file too is investigated. (The complete list
     151is found in src\Win32k\dev16\probkrnl.c,apszSym[] - odin32 source tree.)
     152
     153
     1542.2.2.1 Warp 3
     155--------------
     156
     157Win32k is not tested with Warp 3. It is supposed to work with Warp 3 provided
     158that the os2krnl.sym file is present. Warp Server 4 have this, common Warp 3
     159don't.
     160
     161
     1622.2.3 Installation
     163------------------
     164
     165To use Win32k.sys you have to add the following line into your config.sys:
     166    device=<d:\path\>win32k.sys
     167
     168Where <d:\path\> is the path to the win32k.sys, i.e. the odin32 executables
     169directory.
     170
     171After doing this you'll have to reboot your machine to load the driver. During
     172the boot process you will on a successful installation see some lines of
     173technical info and finally a line saying:
     174    'Win32k.sys succesfully initiated!'
     175
     176If you don't see the line above something is wrong!
     177
     178
     1792.2.4 Win32k parameters
     180-----------------------
     181
     182There are some useful parameters for Win32k:
     183-Q             Quiet driver initiation. (Default is verbose (-V) initiation.)
     184-V             Verbose driver initiation. Default.
     185-S:<filename>  Full path to the current OS/2 kernel symbol file.
     186-K:<filename>  Full path to the running OS/2 kernel.
     187
     188
     1892.2.5 Rings - Ring 0 / Ring 3
     190-----------------------------
     191
     192FYI. Ring 0 is the most priveleged level of execution in OS/2. The OS/2 kernel
     193and device drivers execute at this level, while user applications executes in
     194Ring 3, the least priveleged executing level.
     195
    104196
    1051972.3 The Ring3 conversion utility (PE2LX.EXE)
Note: See TracChangeset for help on using the changeset viewer.