-

Changes

Jump to: navigation, search

Functions HI-TECH C BDOS

789 bytes added, 18:23, 31 July 2017
Created page with "<strong>BDOS (CP/M only)</strong> ==SYNOPSIS== #include <cpm.h> char bdos(int func, int arg) short bdoshl(int func, int arg)(CP/M-80 only) ==DESCRIPTION== <str..."
<strong>BDOS (CP/M only)</strong>
==SYNOPSIS==

#include <cpm.h>

char bdos(int func, int arg)

short bdoshl(int func, int arg)(CP/M-80 only)


==DESCRIPTION==
<strong>Bdos</strong>() calls the CP/M BDOS with func in register C (CL
for CP/M-86) and arg in register DE (DX). The return
value is the byte returned by the BDOS in register A
(AX). <strong>Bdoshl</strong>() is the same, except that the return
value is the value returned by the BDOS in HL. Constant values for the various BDOS function values are
defined in cpm.h.

These functions should be avoided except in programs
which are not intended to be used on an operating system other than CP/M. The standard I/O routines are to
be preferred, since they are portable.

==SEE ALSO==

bios, msdos

Navigation menu