MRalwasser
MRalwasser

Reputation: 15973

Where to find the reference of dos.h for the c programming language?

I'm looking for the reference/documentation of the dos.h API. (especially for an openwatcom specific version).

Where to get the documentation?

Upvotes: 1

Views: 1447

Answers (3)

Olof Forshell
Olof Forshell

Reputation: 3274

Using the int 21h function reference widely available you could write your own DOS interface routine where the parameters are loaded into the appropriate registers inside the routine.

As I recall I needed three functions: one for character IO (byte register parameters), one for semi-complex (word register parameters - files, memory) and a third which I can no longer remember :(

It's a good exercise!

Upvotes: 0

Jerry Coffin
Jerry Coffin

Reputation: 490408

One reasonable starting point would probably be the library documentation at OpenWatcom.

Upvotes: 3

user236520
user236520

Reputation:

http://poli.cs.vsb.cz/c/help/dos.htm

Almost certainly not the original but a good resource anyway

Upvotes: 0

Related Questions