@@ -2466,15 +2466,15 @@ implementation
savesize:=332;
end;
{$endif cpu32bitaddr}
-{$ifdef cpu8bitaddr}
+{$ifdef cpu16bitaddr}
case filetyp of
ft_text :
- savesize:=127;
+ savesize:=96;
ft_typed,
ft_untyped :
+ savesize:=76;
-{$endif cpu8bitaddr}
+{$endif cpu16bitaddr}
@@ -21,7 +21,11 @@
}
const
+{$ifdef CPUAVR}
+ filerecnamelength = 15;
+{$else CPUAVR}
filerecnamelength = 255;
+{$endif CPUAVR}
type
{ using packed makes the compiler to generate ugly code on some CPUs, further
using packed causes the compiler to handle arrays of text wrongly, see see tw0754 e.g. on arm }
@@ -20,8 +20,13 @@
+ TextRecNameLength = 16;
+ TextRecBufSize = 16;
TextRecNameLength = 256;
TextRecBufSize = 256;
TLineEndStr = string [3];
TextBuf = array[0..TextRecBufSize-1] of char;