DOSBox Port

From NikiWiki
Jump to: navigation, search

This page will help to organize the port of DOSBox to OS/2. Initially, Martin Klingenfuss offered to pay the first person that ported DOSBox to OS/2 500 EUR. He also invited other people to join in and donate some money. To organize and coordinate all activities arround the port, this page was created.

Porting DOSBox to OS/2 is currently NOT a netlabs.org project! (no project homepage, no CVS,...) However, since netlabs.org offers this great WIKI, we decided to host the page here, so everybody can contribute to the content of the page easily.

This whole thing was started here (german!): http://www.os2.de/forum/diskussion/index.php3?all=87595

Contents

What is DOSBox?

DOSBox is a DOS-emulator portable (and ported) to many platforms. A port was made feasible by the implementation of SDL on OS/2. For more infomation, visit the homepage of DOSBox. Since DOSBox/2 is a regular OS/2 application, there is no need to have DOS-based drivers for video and sound support - everything is passed through and handled by OS/2.

Where can I get it?

The binaries can be obtained here: here.
Since development is basically finished, here are the direct links to the WPI-installers for version 0.65: User Version Debug version

The most recent version (CVS as of 2006/12/12) is here: CVS 2006/12/12

Why port DOSBox to OS/2, don't we have a Virtual DOS Machine?

" DOSBox is a DOS-emulator that uses the SDL-library which makes DOSBox very easy to port to different platforms. DOSBox has already been ported to many different platforms, such as Windows, BeOS, Linux, MacOS X...

DOSBox also emulates CPU:286/386 realmode/protected mode, Directory FileSystem/XMS/EMS, Tandy/Hercules/CGA/EGA/VGA/VESA graphics, a SoundBlaster/Gravis Ultra Sound card for excellent sound compatibility with older games...

You can "re-live" the good old days with the help of DOSBox, it can run plenty of the old classics that don't run on your new computer!

DOSBox is totally free of charge and OpenSource."


Addon from Martin Klingenfuss:

As a DOS-games-player I think it would be great to have the virtualised DOS-box under OS/2 for usage of seamless SVGA-graphics under PM and sound via MMPM so modern PCI-audiocard will play DOS-games sounds.

Maybe it's necessary to work on the multimedia/graphic interfaces under OS/2 to make the DOS-Box run with same quality as under Win32. Because I am no programmer, I do not know what is exactly needed for this port.

Added By Peter (related to dosbox and surfing around the internet):

Dosbox is an emulator not a virtualised dos machine. (dosbox runs on non x86 targets as well!) It's basicly a 386 DX emulator with emulated bios/ emulated dos/emulated sound blaster 16 / emulated svga card. ) This is very usuable (actually porting shouldn't that hard) but it's not super fast.

Some windows specific behaviour that is missing in other ports:

Things dosbox requires optional from the host(os/2) (but all present in other ports):

About the Money

What needs to be done to receive the money

The money will be payed to the first person or group that successfully ports DOSBox to OS/2. A full OS/2 port has to satisfy the following requirements:

The money will be paid AFTER the port is done and tested by a few people.

How much money will be paid

Since the first large amount of money was donated in EUR, we use EUR as the currency here. If you need to convert your currency into EUR, you can use the Bloomberg Currency Calculator.


  500 EUR    Martin Klingenfuss
   20 EUR    Robert Henschel; OS/2 User Group Dresden; Money will be transfered to Martin
   50 EUR    cytan299
   30 EUR    milesc
   50 EUR    Kris Steenhaut
   50 EUR    Gerrit Schoenmaker
   30 EUR    RaHa

Total amount: 730 EUR


If you want to donate some money, please add yourself to the list above and contact Martin Klingenfuss (info AT expert-services DOT de)! Martin will tell you when and how to transfer the money. If you want to contribute anonymously, that can be arranged as well.

People who want to sponsor the project should donate at least EUR 20 to make it worthwhile. Martin guarantees a refund in case the project should fail.

How you can help

You can port DOSBox to OS/2!

You can donate some money.

Progress

There are some problems with starting DosBox, which I'm now investigating.

To Do

Known Bugs

Issues

[Please post any issues pertaining to the (hopefully) final WPI-versions here]

[End of WPI-versions issues. The following posts remain here for posterity]

It seems to be a problem with the way SDL/2 handle SDL_PollEvent, SDL_PeekEvent and related functions. There has to be some research on that. But it seems that we can't do much here. It's very much inherent to Simulators/Emulators.

Resolved Bugs

Your Questions go here!

Q: Where do I get the latest version of SDL for OS/2?
A: The package of SDL version 1.2.7 has been updated on March 30, 2005 http://sdl.netlabs.org/index.phtml ftp://ftp.netlabs.org/pub/sdl/

Q: Can it run on a full screen session ? how ?
A: Yes. You can press ALT+POS1 or ALT+Enter and the window switches to a full screen session. Return to window mode is the same key combination. A: Or you can run "dosbox.exe -fullscreen" from the command line.

Q: Does the OS/2-eCS version of DOSBox offer support for the same language add-ons of DoxBox web site ? - http://dosbox.sourceforge.net/download.php?main=1
A: Yes, it does! I just tested with the german language file. Running dosbox with "-lang german.lng" results in german text. The german keyboard layout can be controlled by the FreeDOS tool keyb. For more information read the Dosbox Wiki.

Q: I only have Warp4 with the old 16bit TCP/IP stack, but Dosbox/2 wants the 32bit stack.
A: Warp Updates (German and English) gives you descriptions about your upgrade options.

Q: How do I get the versions of DosBox with the internal debugger to run?
A: SET TERM=ANSI in your config.sys or in the current cmd session. You also need the terminfo directory from ncurses installed in /usr/share.

Q: So where's the beef about porting and patching?
A: Have a look at the DosBox forums, there's a bit of info in the development and patches area.

Q: What about version 0.65?
A: It's there. See above for links

Acknowledgements


Third-Party Addons

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox