Browse Source

* the Seg0040, SegA000, SegB000 and SegB800 constants changed to typed constants
for Borland Pascal 7 compatibility. This allows doing e.g. 'mov es, [SegA000]'
in inline asm, which is BP7 compatible, but would produce a wrong result
if SegA000 was an untyped constant.

git-svn-id: trunk@25674 -

nickysn 12 years ago
parent
commit
009037f9d9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      rtl/msdos/system.pp

+ 4 - 4
rtl/msdos/system.pp

@@ -45,10 +45,10 @@ const
   DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsCRLF;
 
 { Default memory segments (Tp7 compatibility) }
-  seg0040 = $0040;
-  segA000 = $A000;
-  segB000 = $B000;
-  segB800 = $B800;
+  seg0040: Word = $0040;
+  segA000: Word = $A000;
+  segB000: Word = $B000;
+  segB800: Word = $B800;
 
 var
 { Mem[] support }