Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL1.x - which version supports NT3.1 or Win3.1? #885

Closed
Torinde opened this issue Jun 19, 2024 · 5 comments
Closed

SDL1.x - which version supports NT3.1 or Win3.1? #885

Torinde opened this issue Jun 19, 2024 · 5 comments

Comments

@Torinde
Copy link

Torinde commented Jun 19, 2024

SDL 2004 website FAQ What Platforms are Supported is not archived and I can't find information which version (if any) of SDL supports those:

  • Windows NT3.1
  • Windows 3.1x with Win32s

Closest I found is here:

Lowest SDL 1.2.13 supports is 95 (original) (unknown about betas) and NT 3.50 (Have to disable fullscreen support and use 3.51 joystick dll.)

@icculus
Copy link
Collaborator

icculus commented Jun 19, 2024

I'm not sure that NT3.1 or Win32s was ever supported; that vogons.org post was saying that the author had personally patched it to work on NT3.1 (and that HX DOS Extender could run his Win95 build with its Win32s support). It's not impossible that the windib video backend would work on those platforms without changes, but even the winmm audio code needs to spin a thread internally, so it might work on ancient WinNT, but it's likely a non-starter on win32s in any case.

But there are fallbacks for platforms without DirectX at all, so with work one could probably get it running, maybe disabling audio.

SDL 1.2 (even the latest in revision control, afaik) should still work on Windows 95 and WinNT 4.0, but no one here is testing these platforms any more (or SDL 1.2 at all, really, at this point).

@icculus icculus closed this as completed Jun 19, 2024
@icculus icculus transferred this issue from libsdl-org/SDL Jun 19, 2024
@ccawley2011
Copy link
Contributor

I did get SDL 1.2 working on Windows 3.1 with Win32s and WinG a while ago: https://github.com/ccawley2011/SDL-1.2/tree/win32s

krnl386_030

@sezero
Copy link
Collaborator

sezero commented Jun 20, 2024

I did get SDL 1.2 working on Windows 3.1 with Win32s and WinG a while ago: https://github.com/ccawley2011/SDL-1.2/tree/win32s

Huh. So it was possible..

@Torinde
Copy link
Author

Torinde commented Jun 20, 2024

@icculus, thank you for the details!
What I found afterwards:

Remains inconclusive - neither official mention of NT3.1/Win3.x/Win32s, nor explicit "can't be done" statement.

@ccawley2011, wow, great job - pleasant surprise while I was writing this! That settles it!
Are you interested in adapting DOSbox-X for Win32s+WinG? Some discussions about adapting it for NT3.5x and Win32s:

If SDL is using the top-down BITMAPINFO type blitting that doesn't work either in Windows 3.1 and you'll get an emulator screen that's upside down.

Do you know if SDL is using top-down BITMAPINFO type blitting?
Did you get the audio working as well?

@icculus
Copy link
Collaborator

icculus commented Jun 21, 2024

I did get SDL 1.2 working on Windows 3.1 with Win32s and WinG a while ago:

Okay, well, holy shit. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants