-
Difference between revisions of "Functions HI-TECH C BIOS"
From HI-TECH C for CP/M Fan WIKI(EN)
(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...") |
(No difference)
|
Revision as of 18:25, 31 July 2017
BIOS (CP/M only)
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