Browse Source

* bugfix of palette setting with wrong asm counter
(from Ingemar Ragnemalm)

carl 27 years ago
parent
commit
626eb9eb94
1 changed files with 7 additions and 3 deletions
  1. 7 3
      rtl/dos/ppi/palette.ppi

+ 7 - 3
rtl/dos/ppi/palette.ppi

@@ -21,7 +21,7 @@ procedure SetAllPalette(var Palette:PaletteType);
 begin     
 begin     
   asm
   asm
     movl  Palette,%esi
     movl  Palette,%esi
-    movb  $767,%ecx
+    movl  $767,%ecx
     xorl  %eax,%eax
     xorl  %eax,%eax
     movl  $2,%ebx
     movl  $2,%ebx
     movw  $0x03c8,%dx
     movw  $0x03c8,%dx
@@ -102,8 +102,12 @@ gp_end:
 end;
 end;
 {
 {
   $Log$
   $Log$
-  Revision 1.1  1998-03-25 11:18:42  root
-  Initial revision
+  Revision 1.2  1998-07-18 21:29:59  carl
+    * bugfix of palette setting with wrong asm counter
+      (from Ingemar Ragnemalm)
+
+  Revision 1.1.1.1  1998/03/25 11:18:42  root
+  * Restored version
 
 
   Revision 1.3  1998/01/26 11:58:29  michael
   Revision 1.3  1998/01/26 11:58:29  michael
   + Added log at the end
   + Added log at the end