x86dos - Bring advanced tools to DOS and DosBoxComments
Have you ever wanted to use SQL Server 2005/2008/2012/2014 databases in DosBox? Or to run SQLite in DOS/DosBox?
Here we have just that for you.
System requirement: Windows XP (SP3) or later
- Source code: You can use Visual Studio 2010-2015 to open '\dosbox\visualc_net\dosbox.sln' and rebuild it.
If Visual Studio 2013 or eariler used, you should change Platform Toolset accordingly in 'General' of project 'Properties' for the souce code to compile.
- Pre-built Win32 EXEs for Windows: Two EXEs are in the Zip file. dosbox.exe is for Windows Vista and later, and dosbox_xp.exe for Windows XP (XP3)/Windows 2003 (SP2) and later
This is an enhanced DosBox with two new features I have added to the official version
Named pipe (network redirection) support.
This patch has been merged into
Daum build of DosBox and
Here are steps to run a fast test:
For years, people have developed DOS SQL Server applications using DB-Library, some of them can do their jobs just fine even today.
Adding Named-pipe (network redirection) support to DosBox enables those DB-Library applications running within it on modern hardware and accessing the oldest or the latest MS SQL servers outside
-- as long as Named-pipe protocol is enabled on the server side.
I think Sybase servers especially early versions may work too, but I have not tested any.
This gives DOS database applications new lives in modern era.
1. Start DosBox (dosbox.exe).
2. Run named-pipe module (dbnmpipe.exe). Dbnmpipe.exe can only be found in MS SQL Server 6.X or earlier.
But to get it, you don't have to setup a full MS SQL Server 6.X; just install SQL Server client tools and extract related DOS files from the installation folder.
If you don't have a copy of MS SQL Server 6.X, you may want to find it at http://vetusware.com.
3. Run your MS SQL application.
Before run a SQL application in DosBox, make sure that Named-pipe protocol is enabled on SQL server.
Here is an example to run Microsoft SQL query tool isql.exe:
isql -H hostname -U usename -P password
Or to run isql as current logon user on the host machine:
DBCS support, which means that double-byte characters like Chinese/Japanese/Korean now can be displayed correctly.
This patch has also been included in
since I first posted it on
A screenshot with Chinese texts:
A screenshot of oneline help of Turbo C++ 4.0 in Japanese:
You may need to download
Visual C++ 2015 Redistributable Package (vcredist_x86.exe)
from Microsoft for it
to function correctly.
So what's the point to use my build instead of DosBox-x
and Daum build
Here are some reasons:
- 1).Unlike DosBox-x and Daum build with tons of unofficial patches, this version only applies the above two patches to the official code base and try to stay compatible to it as possible.
Daum build both have small compatibly issues with the office build. For an example, I found both of them don't support LShift+RShift key combination which required by one of my DOS utilities.
- 2).With almost all available patches applied, DosBox-x and Daum build consume much higher CPU resources than this build and the official version.
System requirement: MS-DOS (or compatible DOS), DosBox, 32 bit Windows
Download links of compiled binaries and source code:
Now you can run SQLite at pure DOS or DOS prompt of 32 bit Windows, though the database size it can handle is limited comparing with its Windows equivalent.
The SQLite 3.5.9 for DPMI binaries were built with Borland PowerPack for DOS in Borland C++ 4.52,
and you will need a compatible DOS extender supports DPMI16 or DPMI32 to run them. There are too many DOS extenders out there can be used, here are some of them:
- DOS prompt (VM) on 32 bit Windows. Both p16sqlite.exe and p32sqlite.exe work.
- Borland DPMI runtimes come with Borland C++ 3.x/4.x for DOS. Be sure to put DPMI16BI and OVL32RTM.EXE in PATH before running SQLite EXEs.
WDOSX. Only p32sqlite.exe works.
Before you can run sqlite EXEs with WDOSX, you need to use stubit.exe to replace the Borland stubs in EXE files.
For an example:
- DOSWIN32. Only p32sqlite.exe works. Before running SQLite EXEs, you must load the DMPI provider by starting run32.exe.
- HXDOS. The latest version of HXDOS was V2.17 at the time I was writing. Its original download link is down, but you can still find it on Internet.
Or you can download it from our site here:HXRT217_pwd_japheth.zip.
The command line to run HXDOS:
It seems only its DPMI32 works for p32sqlite.exe.
Before running p32sqlite.exe, you must load the DMPI provider by starting hxldr32.exe.
hdpmi32 -x -r
- DMPI services provided by NWDOS, OpenDOS, Linux DOSEmu. should work for SQLite 3.5.9 DPMI binaries , but I have not tested any of them yet