mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-06 08:16:02 +02:00
* implemented the MsDos function with an asm prequel to the Intr function
git-svn-id: branches/i8086@24043 -
This commit is contained in:
parent
7b578f3e9c
commit
c76b459324
@ -14,6 +14,10 @@
|
||||
mov es, ax
|
||||
jmp PASCALMAIN
|
||||
|
||||
global FPC_MSDOS
|
||||
FPC_MSDOS:
|
||||
mov dx, ax
|
||||
mov al, 21h
|
||||
global FPC_INTR
|
||||
FPC_INTR:
|
||||
mov byte [cs:int_number], al
|
||||
|
@ -66,11 +66,7 @@ implementation
|
||||
{$I registers.inc}
|
||||
|
||||
procedure Intr(IntNo: Byte; var Regs: Registers); external name 'FPC_INTR';
|
||||
|
||||
procedure MsDos(var Regs: Registers);
|
||||
begin
|
||||
Intr($21, Regs);
|
||||
end;
|
||||
procedure MsDos(var Regs: Registers); external name 'FPC_MSDOS';
|
||||
|
||||
{$I system.inc}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user