A novel technology: Delphi for DOS! ! !

zhaozj2021-02-08  207

Look at the topic, is it strange? Delphi is for Windows from the birth of For DOS.

If you have used Borland's Turbo Pascal series, you should be Turbo Pascal

Features. Learn more. Turbo Pascal does not support the protection mode programming (DPMI) under DOS until version 6.0. straight

It is unfortunate that Borland Pascal 7.0 is unfortunately, but BP7 only supports 16 protection mode programming, and

The 32-bit DPMI mode in the true sense is not supported. And BP7 is the end of the DOS of Borland Pascal.

So, there are many games that can only hit DOS4GW (developed by Watcom C ).

In fact, in 1996, Delphi 2.0 is already a real 32-bit protection model compiler, but she can't

Producing a program in a DOS MZ format, can only generate Win32 PE program files. And this time, a named WDoSX

The 32-bit DOS expander has quietly appeared. The greatest feature of this expander is to do it specifically for Delphi 2.

The "console application" (that is, console application) (that is, console Application) can be directly composite it to the Delphi 2.

A true 32-bit DOS protection mode program, its effect is 32-bit DOS DPMI, compiled with Watcom C

The program (dependent DOS4GW expander) is the same! And it produces the program has been with an expander, no need to run

Extended service programs (such as DOS4GW). WDoSX uses Borland's Turbo Assembler 5.0,

Specially provided with CRT, DOS, etc. in protective mode, providing a single Turbo Pascal provided for Delphi 2.

The unit is very similar. WDoSX uses Win32 API simulation libraries to support system features in 32-bit DOS DPMI environments

Call, so after the composite Delphi 2 console program is running in a Win32 analog environment, Win32

Features are retained, and actually run in a real 32-bit DOS DPMI environment. This is the wonderful thing of WDoSX.

Now WDoSX's latest version is 0.96, it is already able to support Delphi 2/3/4/5 various versions, it even

Delphi provides a complete fast graphics process library (including DirectX support), which is used to write DOS games.

It's a very simple, and the effect is amazing: the real 32-bit protection mode DOS environment, directly display hardware

Programming processing images, convenient DOS interrupt call support. Watcom C and DJGPP have the advantage of she can make Delphi

Preparation! This is to benefit from the power of the Delphi 32-bit compiler and the magical power of WDoSX. Those in the Win32 environment

Many restrictions do not exist, you use Delphi 2/3/4/5 "Console Application"

The 32-bit DOS DPMI program generated after WDoSX composite can freely access memory, and the memory is true.

32-bit linear Flat Modal! There is no older to divide the concept of "paragraph". Theoretical memory space available

Will be 4GB! The composite principle of WDoSX is to add ourselve model function servers and a micro run module in normal.

The head of the Win32 PE file, and modify the file header 32-bit DOS DPMI MZP file header, and the original run code is appropriate

Compression processing and add a small Win32 environment simulator. This shows that the author kilometers of WDoSX is quite thick! Currently

In addition to the most complete support for Delphi 2/3/5 and Turbo Assembler, WDoSX also supports C Builder,

Visual C .

After all, DOS is not possible to completely disappear from our world, and some programming is running under DOS, perhaps better results.

And the procedure in writing the DOS environment is very free, there is no limit. And the 32-bit protection mode with excellent performance will be more

Play the power of the program. With WDoSX, there is Delphi, everything is so easy and easy, why not?

WDoSX is really not easy to find, I am not easy to get it from the Internet. I have a one with Delphi 5 WDoSX.

Very interesting 32-bit DOS DPMI program, the effect is the flame of the magic burning, the effect is very amazing, it will make you unexpected (let me say this)! ! ! I can send a full WDoSX package and some demo to friends who are interested in this (small, only a few hundred k bytes). Welcome everyone to discuss this issue with me. :)

转载请注明原文地址:https://www.9cbs.com/read-2473.html

New Post(0)