Browse Source

+ normalset,smallset writing

peter 26 years ago
parent
commit
926a6c2d3e
1 changed files with 32 additions and 1 deletions
  1. 32 1
      compiler/ppu.pas

+ 32 - 1
compiler/ppu.pas

@@ -208,6 +208,8 @@ type
     function  getlongint:longint;
     function  getlongint:longint;
     function  getreal:ppureal;
     function  getreal:ppureal;
     function  getstring:string;
     function  getstring:string;
+    procedure getnormalset(var b);
+    procedure getsmallset(var b);
     function  skipuntilentry(untilb:byte):boolean;
     function  skipuntilentry(untilb:byte):boolean;
   {write}
   {write}
     function  create:boolean;
     function  create:boolean;
@@ -221,6 +223,8 @@ type
     procedure putlongint(l:longint);
     procedure putlongint(l:longint);
     procedure putreal(d:ppureal);
     procedure putreal(d:ppureal);
     procedure putstring(s:string);
     procedure putstring(s:string);
+    procedure putnormalset(var b);
+    procedure putsmallset(var b);
   end;
   end;
 
 
 implementation
 implementation
@@ -656,6 +660,18 @@ begin
 end;
 end;
 
 
 
 
+procedure tppufile.getsmallset(var b);
+begin
+  getdata(b,4);
+end;
+
+
+procedure tppufile.getnormalset(var b);
+begin
+  getdata(b,32);
+end;
+
+
 function tppufile.skipuntilentry(untilb:byte):boolean;
 function tppufile.skipuntilentry(untilb:byte):boolean;
 var
 var
   b : byte;
   b : byte;
@@ -872,10 +888,25 @@ begin
 end;
 end;
 
 
 
 
+procedure tppufile.putsmallset(var b);
+begin
+  putdata(b,4);
+end;
+
+
+procedure tppufile.putnormalset(var b);
+begin
+  putdata(b,32);
+end;
+
+
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.37  1999-08-02 23:13:20  florian
+  Revision 1.38  1999-08-15 10:47:48  peter
+    + normalset,smallset writing
+
+  Revision 1.37  1999/08/02 23:13:20  florian
     * more changes to compile for the Alpha
     * more changes to compile for the Alpha
 
 
   Revision 1.36  1999/07/23 16:05:25  peter
   Revision 1.36  1999/07/23 16:05:25  peter