Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Recommendations for Porting a 16 bit DOS Application (DOSX)

posted by DOS386(R), 16.10.2007, 02:26

> reviewing the HX Dos extender information over the last week

> take an existing DOS application, developed with MS Visual C 1.52, to make a 32 bit application.

You should know whether you want a 32-bit DOS app or a 32-bit Windaube app :lookaround:

> current VGA 16 color mode. I need to be able to run in a WinXP Dos Box

Native WinXP not possible ?

> impression is that I should be able to run it in a DOS Box with the extender

Theoretically YES :no:

> but I'm not sure whether the graphic extensions offered with VESA would be available.

No or very bad only :no:

> What approach would you recommend?

Compile a 32-bit DOS app for DOS or a Win app for XP/Vista.

For DOS you need a 32-bit DOS C compiler first (CC386, DGJPP, OpenWATCOM). HX would allow you to use MSVC 6 also - via the PE format and API emulation approach, but then you have a problem with the GUI - see below.

If your app must run in both DOS and Windaube, the only acceptable choice is to compile a Win32 app using console or low-level-GUI-API only (thus DR-DR-DRAW, OGL, SDL, no Dialog-Box-ing or multi-"window"-ing) and run it in DOS via full HX with API emulation and HX GUI.

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
15195 Postings in 1365 Threads, 250 registered users, 10 users online (0 registered, 10 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum