소스 검색

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

git-svn-id: trunk@41100 -

nickysn 6 년 전
부모
커밋
b70aeac0d4
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  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