Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

KernelEx 4.5.2

- - - - -

  • Please log in to reply
1557 replies to this topic

#426
MDGx

MDGx

    98SE2ME + 98MP10

  • Super Moderator
  • 2,678 posts
  • Joined 22-November 04
  • OS:none specified
  • Country: Country Flag
4.5 B1 added here:
http://www.mdgx.com/web.htm#KEX
and here:
http://www.mdgx.com/upd98me.php

* Unofficial Windows 98/98 SP1/98 SE/ME Kernel Extensions (KernelEx) 4.5 Beta 1 allows to install + run NTx-only + XP-only applications + games (free GPL, multilingual):
http://www.msfn.org/...howtopic=130936
KernelEx 4.5 Beta 1 [210 KB]:
http://prdownloads.s...x-4.5-Beta1.exe
KernelEx Release Notes:
http://prdownloads.s.....ase Notes.txt
Requires Microsoft Layer for Unicode (MSLU) 1.1.3790.0 (UNICOWS.DLL) [261 KB, English]:
http://download.micr...642/unicows.exe
More info:
http://sourceforge.n...jects/kernelex/

HTH


How to remove advertisement from MSFN

#427
halohalo

halohalo

    Member

  • Member
  • PipPip
  • 187 posts
  • Joined 07-December 06
  • OS:98SE
  • Country: Country Flag
Firefox Portable 3.6 is faster than 3.5.7.
Although Firefox 3.6 is slower than SeaMonkey 1.1.18 and Firefox 2.0.0.20 in Win98SE, it is hard to tell the difference when compared with 3.5.7.

#428
RodgerOver

RodgerOver

    Junior

  • Member
  • Pip
  • 94 posts
  • Joined 14-December 07
  • OS:98SE
  • Country: Country Flag
Hi Xeno (and Tihiy ?):
Runs REALLY nice your 4.5 on WIN 98 SE 4.10.2222 !

[edit: Sorry my fault: I restaured original KERNEL 32.DLL from cabs, the re-installed KernelEX - everything is fine now].

Good luck
Roger

Edited by RodgerOver, 22 January 2010 - 02:53 PM.


#429
halohalo

halohalo

    Member

  • Member
  • PipPip
  • 187 posts
  • Joined 07-December 06
  • OS:98SE
  • Country: Country Flag
PCSX2 0.9.4 (PlayStation2 emulator)
http://pcsx2.net/

KernelEx 4.5 beta 1 works with PCSX2 TLB (non vm) version and compatible with GSdx9 0.10.0 GPU plugin.
http://i88.photobuck...ernelex/ps1.jpg

SetPoint 2.60 (Logitech mouse driver for Win98/ME)
http://www.logitech....cl=us,en?osid=2

It is necessary to disable/uninstall KernelEx 4.5 beta 1 during installing/uninstalling SetPoint 2.60, or SetPoint shows an error message and OS crashes. Since SetPoint 2.60 is inferior to MouseWare and doesn't support the configuration for multiple-button trackball, it is better to use MouseWare driver instead.

#430
M()zart

M()zart

    Member

  • Member
  • PipPip
  • 279 posts
  • Joined 17-June 08
Hi!

Glad to hear about the new KernelEx version. At last we've got the WebKit browser working on Windows 98!

Currently there are only 3 missing APIs for another (better) one - QtWeb: CreateTimerQueue, CreateTimerQueueTimer, CreateTimerQueueTimer. But I know, they are hard to implement... Just want this browser on Windows 98 :) May be somebody can, but not me.

Well, that was a dream.

Xeno86, Tihiy, still no advice about how to build and extend KernelEx!

Today I've tried to do this. I wanted to implement InitiateSystemShutdownEx and CreateProcessWithLogonW functions for Advapi32.dll. These two are the only missing for compiled AutoIt 3 scripts and maybe AutoIt 3 itself after KernelEx 4.5 beta 1. The examples of such compiled scripts are Rainmeter addons. These compiled scripts are compressed with UPX, so these imports are hidden, you need to decompress them to see missing dependencies. However I could not build most KernelEx projects at all. I followed the specified order - Kexcrt, Core, other ones but no luck.

So, the following questions appeared. I think most people, who will try extending KernelEx, will encounter them. SO PLEASE ANSWER!

1. Are you sure that it is enough to have pure Visual C++ 6.0 SP 6? I'm getting many missing declarations when building Kexbases and Kexbasen. As I see, most of them are constants, which are not declared in my include files from VC++6 SP6, but they are present in WxDevCpp or VS2008 include files (I haven't checked all of the constants). Are you using newer include files? Where to get them? WHAT ELSE I NEED TO INSTALL TO HAVE ALL DEPENDENCIES PRESENT?

UberGDI.c contains #include <usp10.h>. There are no such file in VC++6 SP6. Well, I have found it in Wine, but shouldn't it be put with KernelEx?

One of the undeclared identifiers is SHILCreateFromPath. I have not found its declaration neither in VC++ 6 nor in wxDevC++ and VS2008. I know, there is such API, but what I should include?

I put some my compilation logs here if you are interested.

2. I have to decide, where to put these API, to kexbaseS or to kexbaseN without any advice or docs, just with pure intuition. :realmad:

Well, as I understood, kexbases contains API with no non-static variables. Am I right?

3. Do I have to modify _advapi32_apilist.c and _advapi32_apilist.h or they are generated automatically?

4. What I should write in my code except the API itself?

5. How can I extend another, non-extended dll?


I understand, that this is a free project, you don't have to answer. I say BIG THANK YOU for your work, it is really great and very useful for me. I just wanted to participate, to do something for it, but unfortunately could not.

I put my implementation of InitiateSystemShutdownEx and CreateProcessWithLogonW here (Functions.zip), please add them to KernelEx if they are OK.

Attached Files



#431
halohalo

halohalo

    Member

  • Member
  • PipPip
  • 187 posts
  • Joined 07-December 06
  • OS:98SE
  • Country: Country Flag
Compatible with CPU-Z 1.53.1 (non Win98 version)
http://www.cpuid.com/cpuz.php

CPU-Z 1.53.1 fails to show information about motherboard, memory etc, and both Win98 version and non Win98 version have same problem. I can't solve it by disabling KernelEx, but I found it only occurs on latest 1.53.1, so I think the bug has nothing to do with KernelEx.

Besides, 1.53 and before have no problem.

#432
RetroOS

RetroOS

    Senior Member

  • Member
  • PipPipPipPip
  • 531 posts
  • Joined 26-June 07
  • OS:Windows 7 x64
  • Country: Country Flag

...
1. Are you sure that it is enough to have pure Visual C++ 6.0 SP 6? I'm getting many missing declarations when building Kexbases and Kexbasen. As I see, most of them are constants, which are not declared in my include files from VC++6 SP6, but they are present in WxDevCpp or VS2008 include files (I haven't checked all of the constants). Are you using newer include files? Where to get them? WHAT ELSE I NEED TO INSTALL TO HAVE ALL DEPENDENCIES PRESENT?
...

M()zart, one of your questions was answered some posts back:
http://www.msfn.org/...6-page-430.html


KernelEx 4.5 Beta 1 testing results so far

Firstly let me say, that Xeno86 and Tihiy, you guys deserve medals!
Excellent work pulling together this latest creation.

Improvements:

In KernelEx 4.0 Final 2, I could not get Motherboard Monitor 5.3.7 to work.
The System Tray readings worked, but the Dashboard and Settings failed with an application error.
Now in KernelEx 4.5 Beta 1, with KernelEx extensions disabled, Motherboard Monitor 5.3.7 works as it should.
This tool is really useful, especially for older hardware, to monitor MB/CPU/HDD temperatures, fan speeds, and so on.

There is a general improvement in performance!
And I thought Window 98SE was tweaked as far as it could go!
Never say never!

Bugs:

SSL (https) pages in Internet Explorer 6 SP1 do not work. They start loading and then hang, or don't load at all.
The same pages in Firefox 3 work with no problem.

Also, in Internet Explorer 6 SP1, after browsing for only a short time, going to a new web page does not work.
The IE globe spins and nothing happens. At all... A restart of Windows is needed to get it working again.

The Save As... dialog box is having problems.
In Internet Explorer 6 SP1, it will hang for about a minute before showing the folder list.
In Office Word XP (2002), it hangs indefinitely.


Aside from this small list of problems, it looks like a goody!

Keep up the good work lads!
retrofreak n a person who is very enthusiastic about something from the past.
retrology n the study of association with and revival from the past.
life n a series of near misses.

#433
trevor89

trevor89

    Junior

  • Member
  • Pip
  • 58 posts
  • Joined 31-December 08
  • OS:98SE
Yes, I am experiancing this problem right now (IE6). It takes me to click a lot of times a link bofore eventualy going. sometimes going back fixes othertimes refreshing works. Usualy these result in hang on white page and a re-type of address.


Trev
Posted Image

#434
herbalist

herbalist

    paranoid independent

  • Member
  • PipPipPipPipPip
  • 729 posts
  • Joined 15-December 06
  • OS:98
  • Country: Country Flag

Firstly let me say, that Xeno86 and Tihiy, you guys deserve medals!
Excellent work pulling together this latest creation.

Completely agree. When I first tried KEX, it conflicted with SSM, the core of my security package. It seemed that I had to choose between being able to use the newer software on 98 or being able to secure 98 using one of the few means still available. Reluctantly, I stayed with what I had and removed KEX. In addition to enabling new software to work on 98, I was very concerned that the added API's would also make 98 vulnerable to more malicious code that didn't run on it before. I didn't think it was going to be possible, but something you two did fixed the conflict between SSM and KEX. I don't know if SSM is able to monitor these new API's on a 9X system but it's now possible to explore this issue. I'm only now getting a system set up that will allow me to investigate this.

As exciting as it is to be modernizing 98, we may also be introducing NT system vulnerabilities into it, which we will most likely have to patch ourselves or find other ways to mitigate, since we no longer exist as far as the security software vendors are concerned. But thanks to the work you've done, we now have the opportunity to try.

#435
rainyd

rainyd

    Advanced Member

  • Member
  • PipPipPip
  • 407 posts
  • Joined 04-April 05
  • OS:98SE
  • Country: Country Flag
As I presume, it could be problem of my old Windows installation (it was installed on 13 March 2004!) but Firefox 3.6 isn't stable enough with beta version of KernelEx.

Because of that, I've switched to KernelEx 4.0 Final 2 and Firefox 3.5.7 and that duo working very well.

Interesting, that ffdshow (rev. 3200) and MediaInfo Lite 0.7.27 are still working (looks like that was just an installation problem).

Edited by rainyd, 24 January 2010 - 12:31 PM.


#436
glocK_94

glocK_94

    Advanced Member

  • Member
  • PipPipPip
  • 406 posts
  • Joined 13-July 06
  • OS:98SE
  • Country: Country Flag

As exciting as it is to be modernizing 98, we may also be introducing NT system vulnerabilities into it, which we will most likely have to patch ourselves or find other ways to mitigate, since we no longer exist as far as the security software vendors are concerned. But thanks to the work you've done, we now have the opportunity to try.

Interesting point. However, if you're worried, choose the paranoid mode. I should neutralize any virtual vulnerability.

Thanks again Xeno86! Will upgrade as soon as I can. :thumbup
Traductions fran├žaises des packs & MAJs pour Win98 : Posted Image

Stand up for Windows 9x ! Use a 9x userbar in your sig : Posted Image

#437
Steven W

Steven W

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts
  • Joined 02-June 06
Never thought this info would come in handy for Win 98/ME user, but Xeno86 says TextMaker Office 2008 is working so...

If you want Ashampoo Office 2008 (This is TextMaker's version with the Ashampoo "brand" slapped on it) for free:

Visit:
http://www.softmaker...eg/ash08_en.htm
Note, free registration required

Download the program here:

http://download16.as...2008_310_fm.exe


There's an update here:
http://www.softmaker...down/ofw505.exe

Additional dictionaries and proofing tools here (link should be provided in the email with registration info):

http://www.softmaker...n/smw08dict.exe

Swiss German, French, French (Canada), Italian, Spanish, Spanish (Latin America), Portuguese, Portuguese (Brazil), Dutch, Danish, Swedish, and Norwegian.

Edited by Steven W, 24 January 2010 - 06:14 PM.


#438
loblo

loblo

    Oldbie

  • Member
  • PipPipPipPipPip
  • 761 posts
  • Joined 12-January 10
  • OS:ME
  • Country: Country Flag
Excellent update guys :thumbup

Gimp 2.4 and 2.6 which were slow as a pig with the previous version now run beautifully (but the very latest Gimp 2.6.8 does not run at all as the Gimp devellopers felt they needed to add a new dependency in a file that doesn't even exist on 9x systems, dnsapi.dll :angry: )

It's now possible to register and use 2K/XP only shell extensions. I am currently testing Open++ and it's all good so far. http://dengdun.webs.com/en/openxx.htm

The superb fractal flame renderer Apophysis 2 is now fully functional and runs without a hitch when put in 2K compatibility mode. http://sourceforge.n...ects/apophysis/ (The more featured Apophysis7x variant has the same issues as the regular version but they don't go away when changing compatibility mode btw http://sourceforge.n...s/apophysis7x/)

The latest version of the Riot image optimization tool is now running fine. http://luci.criosweb.ro/riot/

The latest version of the excellent free photoshop plugin SmartCurve is now fully functional. http://free.pages.at...ter/curves.html

All VST audio plugins compiled with the latest (and still beta) version of Synthedit now run as normal instead of failing to initialize.

Cheers :hello:

#439
M()zart

M()zart

    Member

  • Member
  • PipPip
  • 279 posts
  • Joined 17-June 08
I'm terribly sorry for my previous post. :blushing: I indeed shoud have read the previous pages before it.
I've read Compile.txt attentively (as I thought) several times when trying to build KernelEx, but somehow missed the Platform SDK mention every time until was PM'ed by Tihiy.

#440
Chozo4

Chozo4

    Advanced Member

  • Member
  • PipPipPip
  • 392 posts
  • Joined 31-July 05
Just like with RetroOS, I'm having a similar issue with internet Explorer with this version. Disabling Kernel Extensions and it is fine but will then report that shockwave 10 is not installed. However, enabling them will cause my ability to POST information to be lost (no data transfer or any indication of a file POST occuring) such as a file upload via imagecross.com for example. Oddly enough, it's fine under my laptop but that one doesnt have shockwave installed.

.. will have to do more fiddling around and see what happens from there.

#441
RetroOS

RetroOS

    Senior Member

  • Member
  • PipPipPipPip
  • 531 posts
  • Joined 26-June 07
  • OS:Windows 7 x64
  • Country: Country Flag

...
Bugs:

SSL (https) pages in Internet Explorer 6 SP1 do not work. They start loading and then hang, or don't load at all.
The same pages in Firefox 3 work with no problem.

Also, in Internet Explorer 6 SP1, after browsing for only a short time, going to a new web page does not work.
The IE globe spins and nothing happens. At all... A restart of Windows is needed to get it working again.

The Save As... dialog box is having problems.
In Internet Explorer 6 SP1, it will hang for about a minute before showing the folder list.
In Office Word XP (2002), it hangs indefinitely.
...

The Save As.../Save dialog box problem seems to be gone now.
I'm not sure why, but I have never seen it before I updated to KernelEx 4.5 Beta 1.
It may be an intermittant KernelEx 4.5 Beta 1 problem.

The other IE problems are still outstanding.
retrofreak n a person who is very enthusiastic about something from the past.
retrology n the study of association with and revival from the past.
life n a series of near misses.

#442
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,933 posts
  • Joined 19-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

IE bugs and other reported crashes were all confirmed and being fixed, don't worry.

#443
SlugFiller

SlugFiller

    Member

  • Member
  • PipPip
  • 166 posts
  • Joined 22-March 08
Woo! Inkscape finally works! Pango-Cairo finally works!

The bad news are, I don't need it anymore. I've found a much better SVG library for Java, and for my browser I've switched to K-Meleon, the Win32 port of the Gecko engine, which works just fine on 9x (actually, I should say "it works faster than any browser I've used to date", but, you know...).

Well, apps have never been a good reason to do hard OS works. Someone, somewhere, has already made a more compatible and better featured version.

So I'll be testing out various games soon. Will report if I find anything of interest.

By the way, if I'm reading the source correctly, there is no more need for code generation to create a new API in v4. Rather, the APIs are compiled directly. Is that correct?
I may consider porting my filename extra compatibility filter to the new architecture. Actually, from the looks of it, it won't require too much porting.

#444
CharlesF

CharlesF

    Advanced Member

  • Member
  • PipPipPip
  • 461 posts
  • Joined 13-July 08
  • OS:98SE
  • Country: Country Flag
Hi Tihiy and Xeno86,

nice job once again! :thumbup KernelEx v 4.5 Beta 1 working nice here!

* No more crash with FSViewer :whistle:

* Maybe a small glitch I didn't noticed before (so I'm not sure that it is coming from KernelEx, could be from RP9 or else): transparency of skins is broken in WMP9. Have a look at the screenshots.

* BTW, do we have to uninstall previous version of KernelEx first, or we can install the new one 'on the top'? (I didn't find an answer on this thread).

* @Chozo4: try this: in Compatibility tab of IEXPLORE.EXE, tick first (in Advanced options) 'Don't use these settings in child processes' before 'Disable KernelEx extensions'. I have no problem with Shockwave 10 and Flash 10 players, or to post here (but https pages still do not work).

* Is there a way to make last VLC 1.05 working?: the exe is running, but no more displaying the text of the menus.

Charles.

Attached Files



#445
SlugFiller

SlugFiller

    Member

  • Member
  • PipPip
  • 166 posts
  • Joined 22-March 08
Hmm... I've been looking up information on VxDs recently, and found out something interesting. Apparently, Win9x's file system manager, ifsmgr.vxd, as part of Microsoft's effort to be backwards compatible with NT4, uses unicode strings to identify resources. The kernel-mode ZwCreateFile takes a unicode string, which may be generated from a wide-char string, and this apparently applies to 9x.

So, the theory is, if these calls are made directly from a KEx API, 9x can be made to support real unicode versions of CreateFile and similar functions. In other words, 9x can support filenames in any given locale on any given version. And this does not require any VxD patching or rewriting.

Now, obviously there are a few issues.
The first of all being, can Kernel32 truly call VxD or DDK functions directly?
Secondly, what sort of conversion might be required between a handle returned by the kernel-mode ZwCreateFile, and the handle used by user applications for calls such as FileReadA? Are they identical? Does Kernel32 keep its own objects and/or handles?

Short of decompiling Kernel32 (I've yet to find a half-descent PE-file disassembler), I guess the only way to test is with trial and error. Of course, kernel-level error can be very risky.

One thing I was wondering about is if the pre-application KEx configuration can be extended. If true unicode file access is a possibility, it would be nice to set the code page for ANSI file functions, such as CreateFileA, on a per-program basis. But there is a question of whether that configuration can be read from the overridden CreateFileA itself (or if that would create some sort of infinite loop).

P.S. Does anyone ever read my posts? I never seem to get a reply, and I can't help but wonder if they are even visible to other people.

#446
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,933 posts
  • Joined 19-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

The kernel-mode ZwCreateFile takes a unicode string, which may be generated from a wide-char string, and this apparently applies to 9x.

Yet to be tested. I'm afraid it's not that easy.

The first of all being, can Kernel32 truly call VxD or DDK functions directly?

Only those which "win32 services" are registered for. Not much for ntkern.

Secondly, what sort of conversion might be required between a handle returned by the kernel-mode ZwCreateFile, and the handle used by user applications for calls such as FileReadA? Are they identical? Does Kernel32 keep its own objects and/or handles?

9x already has hideous support for NT device namespace. For example, you can do CreateFileA \\?\C:\file.txt and you'll receive handle for file opened with NT minikernel. This handle is limited to only certain apis so reimplementing whole certain apis and kernel driver will be required.

#447
SlugFiller

SlugFiller

    Member

  • Member
  • PipPip
  • 166 posts
  • Joined 22-March 08

The kernel-mode ZwCreateFile takes a unicode string, which may be generated from a wide-char string, and this apparently applies to 9x.

Yet to be tested. I'm afraid it's not that easy.

I'm basing this on the FileMon code. I've actually ran FileMon on my 9x, so I know it works.

If I knew how to load and call VxD functions directly from KernelEx, it wouldn't be too difficult for me to create my own VxD to do the Zw stuff, if necessary.

Hmm... In fact, maybe I can create a namespace which takes hexa-decimal strings, and converts them to unicode, then relays to the appropriate sub-driver. Then, the only thing I would have to do is add a bin2hex in CreateFileW, and pass the result to CreateFileA. The question is, would that method be enough to support all basic file operations?

#448
Guest_taunus20m_*

Guest_taunus20m_*
  • Guests
  • Joined --
Thanks to: Xeno86 and Tihiy. My WIN98SE becomes more modern from year to year with KernelEX.

But now there seems a bug in V 4.5 beta 1 : My Windows Media Player 9 crashes after few seconds I play
a mp3-music. It does not with KernelEX 4 final 2 !
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
AppName: wmplayer.exe AppVer: 9.0.0.2980
ModName: kexcom.dll
ModVer: 0.0.0.0 Offset: 00002753
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
:unsure:

#449
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,933 posts
  • Joined 19-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Yet to be tested. I'm afraid it's not that easy.

I've tested and unfortunately it's a failure. Calling NtCreateFile with unicode characters just turns them into underscores (any non-english char).

#450
CharlesF

CharlesF

    Advanced Member

  • Member
  • PipPipPip
  • 461 posts
  • Joined 13-July 08
  • OS:98SE
  • Country: Country Flag

My Windows Media Player 9 crashes after few seconds I playa mp3-music.

Hi taunus20m,

I have tried with mine (WMP9 upgraded with MP9URP9X.EXE from erpdude8), and no problem here.
I have tried with two files: Mpeg1 layer3 and Mpeg2 layer3. :)




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users