News Categories |
Main /
Development
On this page… (hide)
1. General DOS development information and examplesHere are some very useful programs, libraries and compilers which focus on modern DOS development, as well as some documentation.
Note that the “latest” version is from year 2000 - no FAT+, no DOS/32A , no HX-DOS, no newer hardware.
Much info on: CPU, XMS, EMS, VCPI, DPMI, PMODE, UnrealMode, Booting, Partitions, Filesystems, Executables, Serial & Parallel ports, Sound-Cards&-Chips, some other hardware, VGA, VESA … almost everything !
2. DOS kernel developmentDOS kernels more or less actively maintained are
Help is welcome. If you want to help, ask one of the maintainers. 3. Compilers - PASCAL3.1 FreePascal32-bit protected mode Pascal. It’s a very powerful language, but also a minority language, DOS support isn’t so good as it used to be and some versions are unusable in DOS. Project started in 1994, after Borland announced that there will be never a Turbo PASCAL 8 , as a 16-bit DOS compiler, and changed to 32-bit DOS soon, and later various non-DOS systems were added. Unfortunately after year 2000 the support for DOS decayed, and almost stopped after 1.0.10 release in 2003, but got somewhat “recovered” in 2008 with the 2.2.2 release … later added even 16-bit 8086 support (?). Project page: http://www.freepascal.org Some relevant versions:
3.2 Delphi / DWPLDelphi is the product from Boreland following the old “TurboPascal” line, in fact it’s still just the PASCAL language with a more fancy IDE. The only supported platform is Win32, but there exists the Delphi WDOSX Project Library (DWPL), which is for creating native 32-bit protected mode DOS programs with Delphi 5–7 using the WDOSX DOS extender as the core. It is a very interesting project and you will find it at http://delphi.icm.edu.pl/ftp/d50free/dwpl.htm and sf.net/projects/dwpl. Regrettably it seems to be abandoned since 2004. Nowadays WDOSX is far behind HX Extender in compatibility with newer Win32 compilers and programs, but it is also possible to run several Delphi programs under DOS using HX instead. 3.3 Other PASCAL
4. Compilers - C/C++See separate page: DevelCandCPP . 5. BASIC compilers and interpreters
6. Misc programming languages
7. AssemblersSee separate page: DevelAsm . 8. “reverse” tools, Disassemblers & DebuggersMake sure to remain legal when using following tools. 8.1 HIEWFile editor, EXE analyzer and disassembler. Commercial, latest DOS version seems to be 6.70 from 2001, available only from warez collections. 8.2 BIEWProject pages: Clone of HIEW (Hint: “H” → Hex // “B” → Binary), by Nick Kurshev , free and open source. Latest versions:
Features:
Some startup and exit problems but seems to work. Contains generous manuals about itself but also Intel CPU’s and assembler, and some executable formats. 8.3 NDISASMCommandline disassembler coming with NASM, has a 32-bit DOS version, outputs to console, can be redirected with “>” to a file. NDISASM WAIT.COM > WAIT.ASM 8.4 DISTORMA disassembler written in C, supporting latest 64-bit and SSE-xxx instructions, but also 16- and 32-bit code, contained in a surprisingly compact executable (PE, needs HX-DOS Extender), an alternative to NDISASM.
8.5 FreeDOS DEBUG & ENHDEBUGClone of MS-DOG DEBUG, some improvements, created and maintained by Paul Vojta in the past, then by Japheth up to version 1.25 . Used to lack a manual, since 1.06 there is a preliminary one included. Includes a DEBUGX version allowing to debug DPMI code.
8.6 GRDBThis free “Get Real” debugger is included in CC386, but also available stand-alone. It has the simple line-oriented user interface known from DEBUG. Disassembler supports MMX instruction set. Recent versions support debugging of protected-mode applications (DPMI) also. 8.7 deb32f & deb16fDPMI Debuggers by Japheth , more complicated, commandline oriented, design similar to DEBUG, manuals included.
8.8 InsightInsight is a real-mode DOS debugger, by Victor M. Gamayunov, Sergey Pimenov, Oleg O. Chukaev, Dmitry Vodyannikov, GNU GPL.
8.9 PE, GT2PE by Japheth provides info about COFF (also DGJPP) and PE-files (Win32, HX-DOS executables): header, sections, exports, imports, … . GT2 by Philip Helger provides very similar info, but supports also other EXE types (MZ, NE, LE), tries to guess the compiler/linker, and supports non-EXE files also (and is much bigger than PE, uses DLL’s). See also HXDOScomplists. 8.10 IDE, EditorsWhile most old 16-bit interpreters and compilers (QB, TP/BP, BC) did have IDE’s, newer 32-bit ones unfortunately don’t in DOS versions. Latest version of RHIDE can be found at http://ap1.pp.fi/djgpp/. Date of this version is 2005/02/15. RHIDE is the “official” DJGPP’s IDE and text editor, but is supposed to be usable with other compilers and other programming languages also. Seems no longer under development and some recent complaints about it subject mostly to “horrible” bugs occurring when running in XP. When running in DOS it unfortunately also exposes bugs. It is possible to compile some projects with it, but it also crashes occasionally, and provides some installation problems. It is based on the “SETEDIT” text editor. About text editors, see the Editors section. Following recent free compilers do have an IDE for DOS:
9. DPMI / DOS extenderSee separate article: DPMI . 10. See also
|
Recent Comments