+ added comments with the parameter locations in SetCGAPalette and SetCGABorder

- removed 'ifndef REGCALL'

git-svn-id: trunk@41100 -
This commit is contained in:
nickysn 2019-01-28 17:22:25 +00:00
parent ca6fdb8c74
commit b70aeac0d4

View File

@ -683,9 +683,7 @@ var
procedure SetCGAPalette(CGAPaletteID: Byte); assembler; procedure SetCGAPalette(CGAPaletteID: Byte); assembler;
asm asm
{$IFNDEF REGCALL} {# Var CGAPaletteID located in register al }
mov ax,val_ax
{$ENDIF REGCALL}
push ebp push ebp
push esi push esi
push edi push edi
@ -702,9 +700,7 @@ end;
procedure SetCGABorder(CGABorder: Byte); assembler; procedure SetCGABorder(CGABorder: Byte); assembler;
asm asm
{$IFNDEF REGCALL} {# Var CGABorder located in register al }
mov ax,val_ax
{$ENDIF REGCALL}
push ebp push ebp
push esi push esi
push edi push edi