Browse Source

+ added comments with the parameter locations in SetCGAPalette and SetCGABorder
- removed 'ifndef REGCALL'

git-svn-id: trunk@41100 -

nickysn 6 years ago
parent
commit
b70aeac0d4
1 changed files with 2 additions and 6 deletions
  1. 2 6
      packages/graph/src/go32v2/graph.pp

+ 2 - 6
packages/graph/src/go32v2/graph.pp

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