VOGONS


Actual Windows Emulator

Topic actions

First post, by twiz11

User metadata
Rank Member
Rank
Member

I know of Wine for Linux, but for Windows, is there anyway to run 16 bit applications?

Reply 2 of 21, by collector

User metadata
Rank l33t
Rank
l33t

Win3emu looks so promising, but the page looks unchanged from when it was introduced.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 3 of 21, by retrogamerguy1997

User metadata
Rank Member
Rank
Member
twiz11 wrote:

I know of Wine for Linux, but for Windows, is there anyway to run 16 bit applications?

WINE stands for Wine Is Not an Emulator.

Reply 4 of 21, by keenmaster486

User metadata
Rank l33t
Rank
l33t

WINE is a compatibility layer which translates API calls in real time.

Win3mu appears to be something of a hybrid between an actual emulator (for example, Win3.1 running in DOSBox), and something like WINE.
The website says it emulates a 286, but also translates API calls to modern Windows so who knows how you'd classify it really 😕

World's foremost 486 enjoyer.

Reply 5 of 21, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie

The developer said that only simpler games are currently supported (no current support for WinG or such libraries) but that is still something to achieve since a considerable number of Win3.x games rely on them.

Reply 6 of 21, by danoon

User metadata
Rank Member
Rank
Member

I've been working on getting Wine to run with an x86 emulator written in C and using SDL.

Here is a page that has some game demos that run with the Emscripten/Javascript build. I also have a Windows build.

http://boxedwine.sourceforge.net/b4/games.html

It's still a long ways off from any kind of beta status, but it runs about 50% of Win16 stuff I throw at it and some 32-bit stuff. I use Quake 2 when bench testing it. Currently I'm working on a dynamic recompiler for the Windows build to speed it up.

http://www.boxedwine.org/

Reply 7 of 21, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie
danoon wrote:
I've been working on getting Wine to run with an x86 emulator written in C and using SDL. […]
Show full quote

I've been working on getting Wine to run with an x86 emulator written in C and using SDL.

Here is a page that has some game demos that run with the Emscripten/Javascript build. I also have a Windows build.

http://boxedwine.sourceforge.net/b4/games.html

It's still a long ways off from any kind of beta status, but it runs about 50% of Win16 stuff I throw at it and some 32-bit stuff. I use Quake 2 when bench testing it. Currently I'm working on a dynamic recompiler for the Windows build to speed it up.

This looks promising as well. Have you had a chance to test WinG software on it? Does it work like Win3mu (like launching the application directly from Host OS)?

Reply 8 of 21, by danoon

User metadata
Rank Member
Rank
Member

Currently it is strictly c/sdl, so I haven't done anything to hook up to the Windows shell. It probably wouldn't be too hard to figure out the registry entries to hook up a "run with" boxed entry so that you can right click on an old Win16 app to run it. Or you can just create your own .bat files to run BoxedWine since it is a command line program for now.

As for WinG, BoxedWine's goals is to run everything that Wine can run. I have tested BoxedWine with SimTower which uses WinG and it runs file with the Widows build of BoxedWine. Currently the Emscripten build can't run it because SimTower requires that setjmp/long jump in my code work and to do that I would have to enable it in Emscripten which slows things down about 50%. There is hope for zero cost exceptions in the future with WASM, but its not ready yet.

http://www.boxedwine.org/

Reply 10 of 21, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie
danoon wrote:

Currently it is strictly c/sdl, so I haven't done anything to hook up to the Windows shell. It probably wouldn't be too hard to figure out the registry entries to hook up a "run with" boxed entry so that you can right click on an old Win16 app to run it. Or you can just create your own .bat files to run BoxedWine since it is a command line program for now.

As for WinG, BoxedWine's goals is to run everything that Wine can run. I have tested BoxedWine with SimTower which uses WinG and it runs file with the Widows build of BoxedWine. Currently the Emscripten build can't run it because SimTower requires that setjmp/long jump in my code work and to do that I would have to enable it in Emscripten which slows things down about 50%. There is hope for zero cost exceptions in the future with WASM, but its not ready yet.

Interesting. I'm holding on to upgrade to x64 until there's something that runs win16 directly, so I think it's time now. Can't wait to fire Nitemare 3D on it!

Reply 11 of 21, by danoon

User metadata
Rank Member
Rank
Member

filipetolhuizen: I had good luck running SimTower in Dosbox with a copy of Windows 3.1. One of the goals BoxedWine is to be able to do that without an official copy of Windows 3.1. I started working on my own implementation of the Windows API, starting with Win32. I got Age of Empire and Caesar 3 working in jDosbox without Wine or Windows. But I realized that approach was more than 1 person could do. It was easier to implement about 100 or so Linux kernel commands (syscalls) and run an unmodified version of Wine.

collector: Yeah, I haven't worked on jDosbox in years. After Oracle let go of Java in the browser, jDosbox didn't seem as useful anymore. It was fun to work on and I was happy that it could boot Windows XP. But there were some serious limitations about what it could do with a dynamic recompiler.

http://www.boxedwine.org/

Reply 12 of 21, by retrogamerguy1997

User metadata
Rank Member
Rank
Member
danoon wrote:

filipetolhuizen: I had good luck running SimTower in Dosbox with a copy of Windows 3.1. One of the goals BoxedWine is to be able to do that without an official copy of Windows 3.1. I started working on my own implementation of the Windows API, starting with Win32. I got Age of Empire and Caesar 3 working in jDosbox without Wine or Windows. But I realized that approach was more than 1 person could do. It was easier to implement about 100 or so Linux kernel commands (syscalls) and run an unmodified version of Wine.

collector: Yeah, I haven't worked on jDosbox in years. After Oracle let go of Java in the browser, jDosbox didn't seem as useful anymore. It was fun to work on and I was happy that it could boot Windows XP. But there were some serious limitations about what it could do with a dynamic recompiler.

jdosbox could run XP? I didn't know that. how well did it run?

Also, I tried boxedwine (locally on my PC, not in browser) and the game it came with ran too fast.

Reply 13 of 21, by danoon

User metadata
Rank Member
Rank
Member

retrogamerguy: It didn't run Windows XP very well, but I could launch IE and Pinball. But often it would run the JavaVM out of memory because I didn't know how to unallocate the byte code I generated for the dynamic recompiler.

As for Chomp running too fast, I guess that's a good problem to have. When I first got it to run I didn't have that problem, but now BoxedWine is a lot faster. I should find a new small default game to give with the download as an example. Any suggestions for a good classic small game for Windows 3.1 that is free or at least has a demo?

http://www.boxedwine.org/

Reply 14 of 21, by Jo22

User metadata
Rank l33t++
Rank
l33t++
danoon wrote:

Any suggestions for a good classic small game for Windows 3.1 that is free or at least has a demo?

Hi, you'll find quite a lot at archive.org's software library. 😀
https://archive.org/details/softwarelibrary_win3_games

Some small games I know of: Re: Any good Windows 3.1 games?
Jiji (JRPG) may not fully work, though, as it plays music via the PC-Speaker.
Same for Warpath! It sends OPL2 commands to port 388/389h. WINE doesn't support that so far.

There are also some very small Windows games at the GUI Gallery site.
But unless fixed, WINE likely can't run native games for Windows 1.x/2.x anymore.
Wine on newer windows OSes?

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 15 of 21, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie
danoon wrote:

retrogamerguy: It didn't run Windows XP very well, but I could launch IE and Pinball. But often it would run the JavaVM out of memory because I didn't know how to unallocate the byte code I generated for the dynamic recompiler.

As for Chomp running too fast, I guess that's a good problem to have. When I first got it to run I didn't have that problem, but now BoxedWine is a lot faster. I should find a new small default game to give with the download as an example. Any suggestions for a good classic small game for Windows 3.1 that is free or at least has a demo?

Nitemare 3D is not considered small for its time but has a demo. David P. Gray's site used to have it, but now it's not that easily found anymore.

Reply 16 of 21, by collector

User metadata
Rank l33t
Rank
l33t
Jo22 wrote:

Hi, you'll find quite a lot at archive.org's software library. 😀

Gotta be careful with what is there. There is a lot more than just old shareware/demos. There is a lot of warez releases there as well.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 17 of 21, by retrogamerguy1997

User metadata
Rank Member
Rank
Member
danoon wrote:

retrogamerguy: It didn't run Windows XP very well, but I could launch IE and Pinball. But often it would run the JavaVM out of memory because I didn't know how to unallocate the byte code I generated for the dynamic recompiler.

well pinball is the only reason why anybody would want XP this day and age so that's good enough.

danoon wrote:

As for Chomp running too fast, I guess that's a good problem to have. When I first got it to run I didn't have that problem, but now BoxedWine is a lot faster. I should find a new small default game to give with the download as an example. Any suggestions for a good classic small game for Windows 3.1 that is free or at least has a demo?

isn't boxedwine supposed to come with a x86 emulator, wouldn't be possible to slow down the emulated CPU?

Reply 18 of 21, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Wait, are you talking about that universally beloved space cadet thing (the monkey island of pinball games, so to say) ?
In case you do, it also works on good ol' Windows 3.1 via Win32s. 😀
http://gunkies.org/wiki/File:Windows_NT_4.0_p … g_on_Win32s.jpg

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 19 of 21, by retrogamerguy1997

User metadata
Rank Member
Rank
Member
Jo22 wrote:

Wait, are you talking about that universally beloved space cadet thing (the monkey island of pinball games, so to say) ?
In case you do, it also works on good ol' Windows 3.1 via Win32s. 😀
http://gunkies.org/wiki/File:Windows_NT_4.0_p … g_on_Win32s.jpg

True, it would run on that.