-

Changes

Jump to: navigation, search

Functions HI-TECH C BIOS

633 bytes added, 18:25, 31 July 2017
Created page with "<strong>BIOS (CP/M only)<strong> ==SYNOPSIS== #includ <cpm.h> char bios(int n, int a1, int a2) ==DESCRIPTION== This function will call the n'th bios entry point (cold..."
<strong>BIOS (CP/M only)<strong>
==SYNOPSIS==

#includ <cpm.h>

char bios(int n, int a1, int a2)


==DESCRIPTION==
This function will call the n'th bios entry point (cold
boot = 0, warm boot = 1, etc.) with register BC (CX)
set to the argument a1 and DE (DX) set to the argument
a2. The return value is the contents of register A (AX)
after the bios call. On CP/M-86, bdos function 50 is
used to perform the bios call. This function should
not be used unless unavoidable, since it is highly
non-portable. There is even no guarantee of portability
of bios calls between differing CP/M systems.

==SEE ALSO==

bdos

Navigation menu