VOGONS


Emulation on MS Windows 3.1x ?

Topic actions

Reply 60 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick update.

Found an interesting page about the history of emulation..:
https://emulation.miraheze.org/wiki/History_of_emulation

Edit: And some document (ca. year 99 of 20th century).

Last edited by Jo22 on 2020-08-20, 06:31. Edited 1 time in total.

"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 61 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Okay, this is probably olds new, but..

SIDPLAY, the MOS SID emulator intended for C64 music, also had a Win16 version.
- A video of it running on OTVDM can be seen here: https://www.youtube.com/watch?v=axlwvRDv0U4

Screenshot attached..

Attachments

  • sidplay_w16.png
    Filename
    sidplay_w16.png
    File size
    11.14 KiB
    Views
    1995 views
    File comment
    SIDPLAY v1.15.4 (Win16)
    File license
    Fair use/fair dealing exception

"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 62 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick update..

I found something also interesting that's no emulator, but useful for emulation.
- It's "Amyxfer", a transfer program for ADF files that runs on 16-Bit Windows and uses the COM ports.

Screenshots attached.

PS: I've choosen this background picture for obvious reasons.. 😉
Credits - BG pix: http://www.sabrinaonline2k.net/MHA/fanart1.html

Attachments

  • amyxfer.png
    Filename
    amyxfer.png
    File size
    56.37 KiB
    Views
    1990 views
    File comment
    Amyxfer (Win16)
    File license
    Fair use/fair dealing exception

"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 63 of 331, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

There might be some old Win3.1 standalone arcade emulators at http://caesar.logiqx.com - there's a hell of a lot of DOS ones...

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 64 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update.

Found a Super NES emulator for Win95&Win32s.
Needs more testing..

Screenshot attached.

Edit: Some more testing. Used my own carts..

Attachments

  • snes_orig.jpg
    Filename
    snes_orig.jpg
    File size
    157.95 KiB
    Views
    1675 views
    File comment
    Test 1
    File license
    Fair use/fair dealing exception
  • snes_cartdmp.jpg
    Filename
    snes_cartdmp.jpg
    File size
    124.22 KiB
    Views
    1675 views
    File comment
    Test 2
    File license
    Fair use/fair dealing exception
  • spwd.png
    Filename
    spwd.png
    File size
    27.56 KiB
    Views
    1985 views
    File comment
    Super P. Windows v1.7 (demo)
    File license
    Fair use/fair dealing exception
Last edited by Jo22 on 2020-10-02, 01:27. Edited 1 time in total.

"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 65 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++
Stiletto wrote on 2020-08-20, 01:38:

There might be some old Win3.1 standalone arcade emulators at http://caesar.logiqx.com - there's a hell of a lot of DOS ones...

Wow, thanks a lot for the tip! I'll have a look at this site! 😁

"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 67 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++
jmarsh wrote on 2020-08-20, 01:53:

Looks like it's trying to use hi/true color and being downconverted?

Well, yes. It has to do with colour depths. The program uses WinG and draws an error message about colour depth (wants 16c or 256c).
Since the Super NES has a very high colour dept (over 4096c or so if layers are combined), the emulator likely uses all 256c available.
Because of this, I assume, the "static colours" (20) that are reserved for Windows GDI (?) are used up, as well.
If the program uses 235 / 236 colours or less, the desktop should be left in intact. So far goes the theory. What really happens.. I don't know. 😅
https://www.drdobbs.com/windows/implementing- … ndows/184409700

Edit: Also interesting.. The different palettes of each OS or platform..:
https://en.wikipedia.org/wiki/List_of_software_palettes

"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 68 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick update.

Found a copy of a beta version of Hyper Boy, a Gameboy emulator.
The game's binary seems to excecute on Windows 3.1+Win32s, but something vital seems missing.
On Windows XP, it "works", but causes a high CPU usage (78%). Maybe needs compatibility mode.
Tested on real hardware.

Screenshots and photo attached.

Attachments

  • hboy_error1.jpg
    Filename
    hboy_error1.jpg
    File size
    108.86 KiB
    Views
    1964 views
    File comment
    Hyper Boy v0.3 Buil 74 on Win32s
    File license
    Fair use/fair dealing exception
  • hboy_win32_gm.jpg
    Filename
    hboy_win32_gm.jpg
    File size
    25.21 KiB
    Views
    1964 views
    File comment
    Hyper Boy on Windows XP with game
    File license
    Fair use/fair dealing exception
  • hboy_win32.jpg
    Filename
    hboy_win32.jpg
    File size
    41.28 KiB
    Views
    1964 views
    File comment
    Hyper Boy on Windows XP
    File license
    Fair use/fair dealing exception

"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 69 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Update.

Found another emulator, Win64. It emulates a C64..
Program seems to run perfectly fine on Windows 3.1+Win32s, but there's no video output..
This makes me wonder if some popular GDI features are generally missing in Win32s or the Win3.1 GDI.
Tested on real hardware.

Screenshot attached.

Attachments

  • win64_beta.jpg
    Filename
    win64_beta.jpg
    File size
    122.51 KiB
    Views
    1938 views
    File comment
    Win64 Beta v0.2 (Win32s)
    File license
    Fair use/fair dealing exception

"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 70 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick update.

Found an interesting thread over there at our friends from vcfed forums.. 😀

http://www.vcfed.org/forum/showthread.php?494 … -Inboard-386-pc

"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 71 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick update.

Discovered something interesting that runs on Windows 3.1: Lunar Magic 1.x, a level editor for SMW on Super NES..

Screenshot attached.
Source: https://www.smwcentral.net/?p=viewthread&t=95320&page=1

Edit: The complete set of Lunar Magic can be found at:
https://www.smwcentral.net/?p=section&a=details&id=22116

Attachments

  • lunar 3.11.jpg
    Filename
    lunar 3.11.jpg
    File size
    489.47 KiB
    Views
    1928 views
    File comment
    Lunar Magic v1.51
    File license
    Fair use/fair dealing exception
Last edited by Jo22 on 2020-08-22, 07:04. Edited 1 time in total.

"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 72 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick Update (again)..

I'm currently checking if it's possible to load some flavour of ddraw.dll inside of Win32s.
There will be of course no acceleration due to the lack of drivers, but maybe it will paint graphics by falling back to GDI.
Anyway, this takes some time. I'll need to check the SDKs, the DirectX redistributables and the files that come with Windows 95 and old NT releases.
Maybe some files from ReactOS, Wine or the modern DiretDraw wrappers could also be used, not sure.
Anyway, these likely need to be compiled with relocation tables, which requires older compilers.

Edit: (Multi-) Threading might also be an issue.
Win95 was full of it, despite not being able to use it in an intelligent way. 😉

"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 73 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick Update.

Not really an emulator, but the software for the Sega Dev Card runs on Windows 3.1x. Partly, at least.
An overview video (not by me) can be seen here: link.

devcard_soft.jpg
Filename
devcard_soft.jpg
File size
24.5 KiB
Views
1865 views
File license
Fair use/fair dealing exception

More information:
https://www.retroreversing.com/sega-mega-driv … evelopment-kit/
https://www.obscuregamers.com/threads/lost-se … seen-these.823/

"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 74 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

I'm currently reading the book "Porting to Win32" to get a better understanding of Win32s and Windows mechanics.

I'll do tests with Windows NT 3.1 in Virtual PC 2007 soon.
Just finished patching and installation.
Stay tooned.

Attachments

  • porting.jpg
    Filename
    porting.jpg
    File size
    38.01 KiB
    Views
    1841 views
    File license
    Fair use/fair dealing exception

"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 75 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick Update.

Found an interesting article that cover DirectDraw 1.0 and WinG:
https://www.gamedev.net/reference/articles/article608.asp

Edit: And here's one about Win32s:
https://bearwindows.zcm.com.au/win31x.htm

Last edited by Jo22 on 2020-08-24, 23:21. Edited 1 time in total.

"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 76 of 331, by xcomcmdr

User metadata
Rank Oldbie
Rank
Oldbie

I use Microsoft Visual C++ version 4.0 (available on... well Google) when I want to do some C code that uses Win32 and targets Win32S.

It's the last version that supports it. Any new project will be compatible with Win32S out of the box.

It runs perfectly on Windows 10, but of course it's so old it's really hard to use for us modern developers.

Reply 77 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++
xcomcmdr wrote on 2020-08-24, 08:44:

I use Microsoft Visual C++ version 4.0 (available on... well Google) when I want to do some C code that uses Win32 and targets Win32S.

It's the last version that supports it. Any new project will be compatible with Win32S out of the box.

It runs perfectly on Windows 10, but of course it's so old it's really hard to use for us modern developers.

Hi! Thanks for the tip! So far, I've only used Borland Delphi 2.0 to compile Win32s compatible applications..
By coincidence, I found an old Amiga emulator that was compiled with Visual C++ 4.10.
Perhaps there's a small chance getting it to work on Win32s, too.

I've also checked some programs on Windows NT 3.1 in the mean time.
The result was rather dissappointing. Win NT 3.1 is very limited by todays standard.
In fact, it can't even run the most basic Win32 applications that instantly execute on Windows 3.1+Win32s.

Not even "Lie about Win32" (win32lie) does run on Windows NT 3.1.
It's related to the Windows API and the PE header. Programs expect to find at least Version 3.50 or 4.0.

The 16-Bit counter part (lieversn) runs, but isn't of much help.
Only very old Windows 3.x programs use the 3.95 version number to detect Win95.

To make matters worse, the execution is very, very slow. At least in Virtual PC 2007 on a Pentium III based laptop.
At least for 16-Bit programs. A Windows 2.x image viewer, easel, from the 1980s takes minutes to load a GIF image,
while Windows 2.03 and Windows 3.1 need about 10-20 seconds on a 286-10.

Attachments

  • win32lie_nt31.jpg
    Filename
    win32lie_nt31.jpg
    File size
    36.53 KiB
    Views
    1813 views
    File comment
    win32lie on NT 3.1
    File license
    Fair use/fair dealing exception
  • Filename
    win32lie.zip
    File size
    28.94 KiB
    Downloads
    82 downloads
    File comment
    win32Lie.exe (win32) and lieversn.exe (win16)
    File license
    Fair use/fair dealing exception
  • Filename
    winuae066pre2.zip
    File size
    202.17 KiB
    Downloads
    82 downloads
    File comment
    WinUAE v0.66 Prerelease 2 (Win32)
    File license
    Fair use/fair dealing exception

"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 78 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick update.

I've tested vMac and some other emulators on Windows NT 3.1.
The result wasn't very good. Many programs wouldn't load.

Windows NT 3.1 apparently is too old to load newer PE files ("unexpected error 11").
The only workaround is to manually patch each of the EXE files' header.

Attachments

  • vmac_nt31_a.jpg
    Filename
    vmac_nt31_a.jpg
    File size
    52.2 KiB
    Views
    1806 views
    File license
    Fair use/fair dealing exception
  • vmac_nt31_b.jpg
    Filename
    vmac_nt31_b.jpg
    File size
    51.48 KiB
    Views
    1806 views
    File license
    Fair use/fair dealing exception
  • cpusim_nt31.jpg
    Filename
    cpusim_nt31.jpg
    File size
    35.21 KiB
    Views
    1806 views
    File license
    Fair use/fair dealing exception

"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 79 of 331, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Quick Update.

Found a neat site that covers the different Visual C++ releases..:
http://www.malsmith.net/blog/visual-c-visual-history/

"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//