|
|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 768 (0x300)
Types: TextFile
Names: »UBIOS.PAS«
└─⟦d482c3728⟧ Bits:30005987 Turbo Pascal v2.00A (Jet80)
└─⟦this⟧ »UBIOS.PAS«
Function UBIOS (FN, PA, PBC, PDE, PHL: integer): integer;
type ParameterBlock = record
func, Areg: byte;
BCreg, DEreg, HLreg: integer
end;
var BiosPB: ParameterBlock;
Result: integer;
begin
with BiosPB do begin
func := FN;
Areg := PA;
BCreg := PBC;
DEreg := PDE;
HLreg := PHL;
end;
Result:= 0;
Case FN of
2,3,7,13,14,15,17,18,19,24: Result := Bdos(50, Addr(BiosPB));
9,16,20,22,25: Result := BdosHL(50, Addr(BiosPB));
else Bdos(50, Addr(BiosPB))
end;
UBIOS:= Result
end; (* UBIOS *)
«eof»