"With a code few modifications and one powerful Linux
module, you can compile and run your favorite MS-DOS diagnostics
code on Linux on an X86 machine. Here's how!"
"Diagnostic applications do their job by reading and writing the
hardware registers of the devices on the mainboard. This is easy to
program in MS-DOS since the processor is running in real-address
mode and there are no protection mechanisms."
"Writing code to access the hardware under Linux is quite a bit
more difficult since (in most cases) a separate device driver must
be coded and installed into the kernel. The protection mechanisms
that prevent harm to the system by misbehaving user processes
stymie the diagnostic developer. This article explains the porting
16-bit MS-DOS Diagnostics source code developed using Visual C++
1.52 to the GNU C++ compiler and Linux OS environment."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.