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

MinGW 32-bit HX DOS extender target #582

Closed
joncampbell123 opened this issue Mar 6, 2018 · 7 comments

Comments

Projects
None yet
2 participants
@joncampbell123
Copy link
Owner

commented Mar 6, 2018

YKSoft has been successful at compiling DOSBox-X to run in MS-DOS atop the HX extender, which is an interesting idea.

https://twitter.com/yksoft1/status/970910598111272960

Perhaps a MinGW-based HX DOS extender target could be made, that would revert SDL back to a single-window implementation compatible with HX.

@yksoft1

This comment has been minimized.

Copy link
Contributor

commented Mar 7, 2018

This is what I did to build a Dosbox-X that runs under HX DOS Extender using MinGW.
Use this source tree: https://github.com/joncampbell123/dosbox-x/tree/6f87683029b7f90834d43689e04a5ace0847e8c3
Apply some patches to Dosbox-X files:
hx.zip
define CFLAGS and CXXFLAGS with -DHX_DOS ,
configure SDL, make and make install.
configure DosBox-X with --disable-mt32 --disable-opengl.
This should make a dosbox-x.exe which works under HX DOS Extender, with default config file name changed to dosbox.ini.

BTW my Dosbox-X builds using MinGW works under Windows 2000 SP4, on my ancient Pentium MMX 266MHz Sony PCG-C1S if output=surface is used. Of course it won't run anything at acceptable speed... I know that on modern faster PCs Dosbox-X could emulate a system faster than this poor subnotebook.
dboxx-mmx

@joncampbell123

This comment has been minimized.

Copy link
Owner Author

commented Mar 7, 2018

Thanks!

To make the HX DOS extender version I will need to merge the code so that SDL reverts to the non-async version when compiled for HX.

@yksoft1

This comment has been minimized.

Copy link
Contributor

commented Mar 7, 2018

As HX DOS extender just don't have a real window manager, add a new SDL1 target that omits the whole menu system would be ideal. Didn't know whether Dosbox-X with SDL2 runs under that.

@joncampbell123

This comment has been minimized.

Copy link
Owner Author

commented Mar 7, 2018

That's what I thought. I'll have the HX SDL version make a borderless window for HX.

@joncampbell123

This comment has been minimized.

Copy link
Owner Author

commented Mar 9, 2018

I got it to compile and run in HX-DOS!

Mouse input is working if I load CuteMouse first!

@joncampbell123

This comment has been minimized.

Copy link
Owner Author

commented Mar 9, 2018

An interesting side effect is that the HX DOS build also runs under Windows 98.

@joncampbell123

This comment has been minimized.

Copy link
Owner Author

commented Mar 9, 2018

DONE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.