WIN32
Alpha4 Released

Programmer Sander van Leeuwen just uploads on Hobbes Win32OS/2 Alpha 4 (w32os204.zip, 1,269Kb). This file allows you to run Windows 95/98/NT programs under OS/2 and replaces: /pub/os2/util/convert/w32os203.zip. Operating System/Version: Warp 3 or 4. Additional requirements: Open32.


Requirements

You will need another device driver, mwdd32.sys - v1.70. This may be found as 32drv170.zip or in ext2_240.zip. This driver was made by Matthieu WILLM and provides us with 32-bit driver support. (OS/2 drivers are mostly 16-bit.)

A lot of thanks goes to him!

ftp://hobbes.nmsu.edu/pub/os2/system/drivers/filesys/ext2_240.zip

ftp://hobbes.nmsu.edu/pub/os2/dev/drivers/32drv170.zip (?)


OS/2 Warp v4 (Merlin)

or

OS/2 Warp v3 with os2krnl(r).sym see section 4.1

32 MB of RAM.

Installation

A piece of advice:

Before you continue, it'd be wise to make sure you can boot to the command-line; try Alt-F1 during boot, then either F2 or C (depending on the version).
If you need to fix any errors or if it doesn't boot, you'll need to edit the file X:\os2\boot\config.x. You need a backdoor into your system!

MWDD32.SYS


If you are running the ext2-os2 driver by Matthieu WILLM you may skip this section.


1) copy mwdd32.sys to x:\os2\boot (where x is your boot drive).

2) add this line into your config.sys file:

basedev=mwdd32.sys


win32k.sys


1) create a win32os2 directory in your x:\os2 directory.

2) copy win32k.sys to it

3) add this line to the end of the config.sys file:

device=x:\os2\win32os2\win32k.sys


(It is a good idea to unzip the entire win32os2 zip-file into the

x:\os2\win32os2 directory and add it to the LIBPATH and SET PATH statements in the config.sys file.)


Options for win32k.sys


There are two groups of options for Win32k, one to spcify verbose/quiet, logging,... and one to give system specifications. Near all of you could easily ignore the last group (kernel options). (If you prefer the slash to mark parameters, Win32k accepts both '/' and '-'.)


Win32k Accepts the following options:

-Q[uiet] no logo (bug? may not work)

-L[ogging] logging to com port

-V[erbose] logo during boot

-C[1|2] which com port you want to logg to. default: com2


Kernel Options

(These are about to become obsolete. See section 4.1 and 4.2)

-B[uild]:xxxx

- where xxxx is the build/revision number.

(try "ver /R" on the os/2 command-line)



-K[erneltype]:A[strict]|H[strict]|R[etail]

- select between the different debug and retail kernels.



-S[MP] - toggels smp kernel.

-U[NI] - toggels uni kernel.


Finished


When 3.0-2.3 is read and done. You may reboot your machine, and hopfully it boots fine. If it does, you will see a something like:

Win32k - Win32-OS/2 driver copyright (c) 1998 knut st. osmundsen

Copyright 1998 Sander van Leeuwen (PE2LX code)

Copyright 1997 Matthieu Willm (MWDD32)

Found kernel: c:\os2krnl

Build: 9030 - v20.40

Found symbolfile: c:\os2\pdpsi\pmdf\warp4\os2krnlr.sym

_ldrOpen at 0xfff7827c

_ldrRead at 0xfff392e0

_ldrClose at 0xfff78c14

_LDRQAppType at 0xfff78c64


PE-executable will now run just like other OS/2 programs.


About Win32k

Win32k is a device driver which implements a kind of loader for PE-files.

(PE-file == winNT/95 32-bit EXEs and DLLs). A loader is a operating system part which reads a program (executable) and prepares it to be executed.


Os2krnl.sym / OS/2 Warp 3

Win32k uses the .sym-file for the OS/2 kernel to get entrypoints and build number of the running kernel.

They are searched for in the given order:

<bootdrive>:\os2krnl.sym

<bootdrive>:\os2\pdpsi\pmdf\warp4\os2krnlr.sym

<bootdrive>:\os2\system\trace\os2krnl.sym

<bootdrive>:\os2krnlr.sym

<bootdrive>:\os2krnlh.sym

<bootdrive>:\os2krnld.sym


Warp v4 has always distributed .sym files for retail, half-strict and all-strict kernels with fixpacks. They are placed in <bootdrive>:\os2\pdpsi\pmdf\warp4\.

Warp 3 does not have a os2krnlr.sym file with its fixpack. It may be found on the debugkernel disks. The Warp 3 SMP does have it included in the fixpack (in the fix\os2.5 directory if is not copied).
Note! If you switch kernels, make sure that you don't mix-up .sym files! Don't leave a build 9029 os2krnl.sym file when running a build 9030 kernel. It may cause to hang or crash the system.


Supported kernels by "-B"

First, don't use the -B option if you don't have to. That is, if you run OS/2 Warp v3 SMP and can't find the os2krnlr.sym file anywhere and you have tried realy hard. Currently only build 8259 (fixpack 35?) is supported in SMP edition.


Note: The -B option is obsolete. It may be removed by next relase. It is too much work to keep it all up-to-date.

Important! .sym-files currently overrides the -B option.


Bug reports


All bugs should be reported as described on the Win32-OS/2 home page.


Know bugs


· The -q option may not work.

· Win32k is broke on Warp SMP.k



CONTACT AUTHOR

nut st. osmundsen
bird@solo.hib.no
====================
Sander van Leeuwen
sandervl@xs4all.nl
http://www.os2ss.com/win32-os2/


@Macarlo, Inc.
@Macarlo's Shareware & Web
OS/2
Java Lobby Member
Java Site Accredited

[TOP] [HOME] [INDEX]