systemh.inc 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. {
  2. $Id$
  3. This file is part of the Free Pascal Run time library.
  4. Copyright (c) 1993,97 by the Free Pascal development team
  5. This File contains the OS independent declarations of the system unit
  6. See the File COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {
  13. Supported conditionnals:
  14. ------------------------
  15. RTLLITE Create a somewhat smaller RTL
  16. }
  17. {****************************************************************************
  18. Needed switches
  19. ****************************************************************************}
  20. {$I-,Q-,H-,R-,V-}
  21. {$mode objfpc}
  22. { needed for insert,delete,readln }
  23. {$P+}
  24. { Stack check gives a note under linux }
  25. {$ifndef linux}
  26. {$S-}
  27. {$endif}
  28. {****************************************************************************
  29. Global Types and Constants
  30. ****************************************************************************}
  31. Type
  32. Longint = $80000000..$7fffffff; { $8000000 creates a longint overfow !! }
  33. Integer = -32768..32767;
  34. shortint = -128..127;
  35. byte = 0..255;
  36. Word = 0..65535;
  37. { at least declare Turbo Pascal real types }
  38. {$ifdef i386}
  39. StrLenInt = LongInt;
  40. {$ifndef INTERNDOUBLE}
  41. Double = real;
  42. {$endif}
  43. {$define DEFAULT_EXTENDED}
  44. {$define SUPPORT_SINGLE}
  45. {$define SUPPORT_DOUBLE}
  46. {$define SUPPORT_EXTENDED}
  47. {$define SUPPORT_COMP}
  48. { define SUPPORT_FIXED}
  49. ValSInt = Longint;
  50. ValUInt = Cardinal;
  51. ValReal = Extended;
  52. {$endif}
  53. {$ifdef m68k}
  54. StrLenInt = Longint;
  55. ValSInt = Longint;
  56. ValUInt = Cardinal;
  57. ValReal = Real;
  58. {$define SUPPORT_SINGLE}
  59. {$endif}
  60. { some type aliases }
  61. dword = cardinal;
  62. longword = cardinal;
  63. { Zero - terminated strings }
  64. PChar = ^Char;
  65. PPChar = ^PChar;
  66. { procedure type }
  67. TProcedure = Procedure;
  68. const
  69. {$IfDef ValInternCompiled}
  70. { Maximum value of the biggest signed and unsigned integer type available}
  71. MaxSIntValue = High(ValSInt);
  72. MaxUIntValue = High(ValUInt);
  73. {$EndIf ValInternCompiled}
  74. { max. values for longint and int}
  75. maxLongint = $7fffffff;
  76. maxint = 32767;
  77. { Compatibility With TP }
  78. {$ifdef i386}
  79. Test8086 : byte = 2; { Always i386 or newer }
  80. Test8087 : byte = 3; { Always 387 or newer. Emulated if needed. }
  81. {$endif i386}
  82. {$ifdef m68k}
  83. Test68000 : byte = 0; { Must be determined at startup for both }
  84. Test68881 : byte = 0;
  85. {$endif}
  86. { max level in dumping on error }
  87. Max_Frame_Dump : Word = 8;
  88. { Exit Procedure handling consts and types }
  89. ExitProc : pointer = nil;
  90. Erroraddr: pointer = nil;
  91. Errorcode: Word = 0;
  92. { file input modes }
  93. fmClosed = $D7B0;
  94. fmInput = $D7B1;
  95. fmOutput = $D7B2;
  96. fmInOut = $D7B3;
  97. fmAppend = $D7B4;
  98. Filemode : byte = 2;
  99. CmdLine : PChar = nil;
  100. Type
  101. TErrorProc = Procedure (ErrNo : Longint; Address : Pointer);
  102. var
  103. { Standard In- and Output }
  104. Output,
  105. Input,
  106. StdOut,
  107. StdErr : Text;
  108. ExitCode,
  109. InOutRes : Word;
  110. StackBottom,
  111. LowestStack,
  112. RandSeed : Cardinal;
  113. { Error handlers }
  114. ErrorProc : Pointer;
  115. {****************************************************************************
  116. Processor specific routines
  117. ****************************************************************************}
  118. Procedure Move(Var source,dest;count:Longint);
  119. Procedure FillChar(Var x;count:Longint;Value:Boolean);
  120. Procedure FillChar(Var x;count:Longint;Value:Char);
  121. Procedure FillChar(Var x;count:Longint;Value:Byte);
  122. {$ifndef RTLLITE}
  123. Procedure FillWord(Var x;count:Longint;Value:Word);
  124. {$endif RTLLITE}
  125. {****************************************************************************
  126. Math Routines
  127. ****************************************************************************}
  128. {$ifndef RTLLITE}
  129. Function lo(w:Word):byte;
  130. Function lo(l:Longint):Word;
  131. Function lo(l:DWord):Word;
  132. Function lo(i:Integer):byte;
  133. Function lo(B: Byte):Byte;
  134. Function hi(w:Word):byte;
  135. Function hi(i:Integer):byte;
  136. Function hi(l:Longint):Word;
  137. Function hi(b : Byte) : Byte;
  138. Function hi(l: DWord): Word;
  139. Function Swap (X:Word):Word;
  140. Function Swap (X:Integer):Integer;
  141. Function Swap (X:Cardinal):Cardinal;
  142. Function Swap (X:Longint):Longint;
  143. {$endif RTLLITE}
  144. Function Random(l:Longint):Longint;
  145. Function Random:real;
  146. Procedure Randomize;
  147. Function abs(l:Longint):Longint;
  148. Function sqr(l:Longint):Longint;
  149. Function odd(l:Longint):Boolean;
  150. { float math routines }
  151. {$I mathh.inc}
  152. {****************************************************************************
  153. Addr/Pointer Handling
  154. ****************************************************************************}
  155. {$ifndef RTLLITE}
  156. Function ptr(sel,off:Longint):pointer;
  157. {$ifndef INTERNALADDR}
  158. Function Addr(var x):pointer;
  159. {$endif}
  160. Function Cseg:Word;
  161. Function Dseg:Word;
  162. Function Sseg:Word;
  163. {$endif RTLLITE}
  164. {****************************************************************************
  165. PChar and String Handling
  166. ****************************************************************************}
  167. function strpas(p:pchar):shortstring;
  168. function strlen(p:pchar):longint;
  169. { Shortstring functions }
  170. Function Copy(const s:shortstring;index:StrLenInt;count:StrLenInt):shortstring;
  171. Procedure Delete(Var s:shortstring;index:StrLenInt;count:StrLenInt);
  172. Procedure Insert(const source:shortstring;Var s:shortstring;index:StrLenInt);
  173. Procedure Insert(source:Char;Var s:shortstring;index:StrLenInt);
  174. Function Pos(const substr:shortstring;const s:shortstring):StrLenInt;
  175. Function Pos(C:Char;const s:shortstring):StrLenInt;
  176. Procedure SetLength(var s:shortstring;len:StrLenInt);
  177. Procedure SetString (Var S : Shortstring; Buf : PChar; Len : Longint);
  178. Function Length(s:string):byte;
  179. { Char functions to overcome overloading problem with ansistrings }
  180. function copy(c:char;index : StrLenInt;count : StrLenInt): shortstring;
  181. function pos(const substr : shortstring;c:char): StrLenInt;
  182. function length(c:char):byte;
  183. Function Chr(b:byte):Char;
  184. Function upCase(const s:shortstring):shortstring;
  185. Function upCase(c:Char):Char;
  186. {$ifndef RTLLITE}
  187. Function lowerCase(c:Char):Char;
  188. Function lowerCase(const s:shortstring):shortstring;
  189. Function hexStr(Val:Longint;cnt:byte):shortstring;
  190. Function binStr(Val:Longint;cnt:byte):shortstring;
  191. {$endif RTLLITE}
  192. Function Space(b:byte):shortstring;
  193. {$IfNDef ValInternCompiled}
  194. Procedure Val(const s:shortstring;Var l:Longint;Var code:Word);
  195. Procedure Val(const s:shortstring;Var l:Longint;Var code:Integer);
  196. Procedure Val(const s:shortstring;Var l:Longint;Var code:Longint);
  197. Procedure Val(const s:shortstring;Var l:Longint);
  198. Procedure Val(const s:shortstring;Var b:byte;Var code:Word);
  199. Procedure Val(const s:shortstring;Var b:byte;Var code:Integer);
  200. Procedure Val(const s:shortstring;Var b:byte;Var code:Longint);
  201. Procedure Val(const s:shortstring;Var b:byte);
  202. Procedure Val(const s:shortstring;Var b:shortint;Var code:Word);
  203. Procedure Val(const s:shortstring;Var b:shortint;Var code:Integer);
  204. Procedure Val(const s:shortstring;Var b:shortint;Var code:Longint);
  205. Procedure Val(const s:shortstring;Var b:shortint);
  206. Procedure Val(const s:shortstring;Var b:Word;Var code:Word);
  207. Procedure Val(const s:shortstring;Var b:Word;Var code:Integer);
  208. Procedure Val(const s:shortstring;Var b:Word;Var code:Longint);
  209. Procedure Val(const s:shortstring;Var b:Word);
  210. Procedure Val(const s:shortstring;Var b:Integer;Var code:Word);
  211. Procedure Val(const s:shortstring;Var b:Integer;Var code:Integer);
  212. Procedure Val(const s:shortstring;Var b:Integer;Var code:Longint);
  213. Procedure Val(const s:shortstring;Var b:Integer);
  214. Procedure Val(const s:shortstring;Var v:cardinal;Var code:Word);
  215. Procedure Val(const s:shortstring;Var v:cardinal;Var code:Integer);
  216. Procedure Val(const s:shortstring;Var v:cardinal;Var code:Longint);
  217. Procedure Val(const s:shortstring;Var v:cardinal);
  218. Procedure Val(const s:shortstring;Var d:ValReal;Var code:Word);
  219. Procedure Val(const s:shortstring;Var d:ValReal;Var code:Integer);
  220. Procedure Val(const s:shortstring;Var d:ValReal;Var code:Longint);
  221. Procedure Val(const s:shortstring;Var d:ValReal);
  222. {$ifdef SUPPORT_SINGLE}
  223. Procedure Val(const s:shortstring;Var d:single;Var code:Word);
  224. Procedure Val(const s:shortstring;Var d:single;Var code:Integer);
  225. Procedure Val(const s:shortstring;Var d:single;Var code:Longint);
  226. Procedure Val(const s:shortstring;Var d:single);
  227. {$endif SUPPORT_SINGLE}
  228. {$ifdef SUPPORT_COMP}
  229. Procedure Val(const s:shortstring;Var d:comp;Var code:Word);
  230. Procedure Val(const s:shortstring;Var d:comp;Var code:Integer);
  231. Procedure Val(const s:shortstring;Var d:comp;Var code:Longint);
  232. Procedure Val(const s:shortstring;Var d:comp);
  233. {$endif SUPPORT_COMP}
  234. {$ifdef SUPPORT_FIXED}
  235. Procedure Val(const s:shortstring;Var d:fixed;Var code:Word);
  236. Procedure Val(const s:shortstring;Var d:fixed;Var code:Integer);
  237. Procedure Val(const s:shortstring;Var d:fixed;Var code:Longint);
  238. Procedure Val(const s:shortstring;Var d:fixed);
  239. {$endif SUPPORT_FIXED}
  240. {$ifdef DEFAULT_EXTENDED}
  241. Procedure Val(const s:shortstring;Var d:Real;Var code:Word);
  242. Procedure Val(const s:shortstring;Var d:Real;Var code:Integer);
  243. Procedure Val(const s:shortstring;Var d:Real;Var code:Longint);
  244. Procedure Val(const s:shortstring;Var d:Real);
  245. {$else DEFAULT_EXTENDED}
  246. {$ifdef SUPPORT_EXTENDED}
  247. Procedure Val(const s:shortstring;Var d:Extended;Var code:Word);
  248. Procedure Val(const s:shortstring;Var d:Extended;Var code:Integer);
  249. Procedure Val(const s:shortstring;Var d:Extended;Var code:Longint);
  250. Procedure Val(const s:shortstring;Var d:Extended);
  251. {$endif}
  252. {$endif DEFAULT_EXTENDED}
  253. {$EndIf ValInternCompiled}
  254. {****************************************************************************
  255. AnsiString Handling
  256. ****************************************************************************}
  257. Procedure SetLength (Var S : AnsiString; l : Longint);
  258. Procedure UniqueAnsiString (Var S : AnsiString);
  259. Function Length (Const S : AnsiString) : Longint;
  260. Function Copy (Const S : AnsiString; Index,Size : Longint) : AnsiString;
  261. Function Pos (Const Substr : AnsiString; Const Source : AnsiString) : Longint;
  262. Procedure Insert (Const Source : AnsiString; Var S : AnsiString; Index : Longint);
  263. Procedure Delete (Var S : AnsiString; Index,Size: Longint);
  264. {$IfNDef ValInternCompiled}
  265. Procedure Val (Const S : AnsiString; var R : real; Var Code : Integer);
  266. {
  267. Procedure Val (Const S : AnsiString; var D : Double; Var Code : Integer);
  268. }
  269. Procedure Val (Const S : AnsiString; var E : Extended; Code : Integer);
  270. Procedure Val (Const S : AnsiString; var C : Cardinal; Code : Integer);
  271. Procedure Val (Const S : AnsiString; var L : Longint; Var Code : Integer);
  272. Procedure Val (Const S : AnsiString; var W : Word; Var Code : Integer);
  273. Procedure Val (Const S : AnsiString; var I : Integer; Var Code : Integer);
  274. Procedure Val (Const S : AnsiString; var B : Byte; Var Code : Integer);
  275. Procedure Val (Const S : AnsiString; var SI : ShortInt; Var Code : Integer);
  276. {$EndIf ValInternCompiled}
  277. {
  278. Procedure Str (Const R : Real;Len, fr : longint; Var S : AnsiString);
  279. Procedure Str (Const D : Double;Len,fr : longint; Var S : AnsiString);
  280. Procedure Str (Const E : Extended;Len,fr : longint; Var S : AnsiString);
  281. Procedure Str (Const C : Cardinal;len : Longint; Var S : AnsiString);
  282. Procedure Str (Const L : LongInt;len : longint; Var S : AnsiString);
  283. Procedure Str (Const W : Word;len : longint; Var S : AnsiString);
  284. Procedure Str (Const I : Integer;len : Longint; Var S : AnsiString);
  285. Procedure Str (Const B : Byte; Len : longint; Var S : AnsiString);
  286. Procedure Str (Const SI : ShortInt; Len : longint; Var S : AnsiString);
  287. }
  288. {****************************************************************************
  289. Untyped File Management
  290. ****************************************************************************}
  291. Procedure Assign(Var f:File;const Name:string);
  292. Procedure Assign(Var f:File;p:pchar);
  293. Procedure Assign(Var f:File;c:char);
  294. Procedure Rewrite(Var f:File;l:Longint);
  295. Procedure Rewrite(Var f:File);
  296. Procedure Reset(Var f:File;l:Longint);
  297. Procedure Reset(Var f:File);
  298. Procedure Close(Var f:File);
  299. Procedure BlockWrite(Var f:File;Var Buf;Count:Longint;Var Result:Longint);
  300. Procedure BlockWrite(Var f:File;Var Buf;Count:Word;Var Result:Word);
  301. Procedure BlockWrite(Var f:File;Var Buf;Count:Word;Var Result:Integer);
  302. Procedure BlockWrite(Var f:File;Var Buf;Count:Longint);
  303. Procedure BlockRead(Var f:File;Var Buf;count:Longint;Var Result:Longint);
  304. Procedure BlockRead(Var f:File;Var Buf;count:Word;Var Result:Word);
  305. Procedure BlockRead(Var f:File;Var Buf;count:Word;Var Result:Integer);
  306. Procedure BlockRead(Var f:File;Var Buf;count:Longint);
  307. Function FilePos(Var f:File):Longint;
  308. Function FileSize(Var f:File):Longint;
  309. Procedure Seek(Var f:File;Pos:Longint);
  310. Function EOF(Var f:File):Boolean;
  311. Procedure Erase(Var f:File);
  312. Procedure Rename(Var f:File;const s:string);
  313. Procedure Rename(Var f:File;p:pchar);
  314. Procedure Rename(Var f:File;c:char);
  315. Procedure Truncate (Var F:File);
  316. {****************************************************************************
  317. Typed File Management
  318. ****************************************************************************}
  319. Procedure Assign(Var f:TypedFile;const Name:string);
  320. Procedure Assign(Var f:TypedFile;p:pchar);
  321. Procedure Assign(Var f:TypedFile;c:char);
  322. Procedure Rewrite(Var f:TypedFile);
  323. Procedure Reset(Var f:TypedFile);
  324. {****************************************************************************
  325. Text File Management
  326. ****************************************************************************}
  327. Procedure Assign(Var t:Text;const s:string);
  328. Procedure Assign(Var t:Text;p:pchar);
  329. Procedure Assign(Var t:Text;c:char);
  330. Procedure Close(Var t:Text);
  331. Procedure Rewrite(Var t:Text);
  332. Procedure Reset(Var t:Text);
  333. Procedure Append(Var t:Text);
  334. Procedure Flush(Var t:Text);
  335. Procedure Erase(Var t:Text);
  336. Procedure Rename(Var t:Text;const s:string);
  337. Procedure Rename(Var t:Text;p:pchar);
  338. Procedure Rename(Var t:Text;c:char);
  339. Function EOF(Var t:Text):Boolean;
  340. Function EOF:Boolean;
  341. Function EOLn(Var t:Text):Boolean;
  342. Function EOLn:Boolean;
  343. Function SeekEOLn (Var t:Text):Boolean;
  344. Function SeekEOF (Var t:Text):Boolean;
  345. Function SeekEOLn:Boolean;
  346. Function SeekEOF:Boolean;
  347. Procedure SetTextBuf(Var f:Text; Var Buf);
  348. Procedure SetTextBuf(Var f:Text; Var Buf; Size:Word);
  349. {****************************************************************************
  350. Directory Management
  351. ****************************************************************************}
  352. Procedure chdir(const s:string);
  353. Procedure mkdir(const s:string);
  354. Procedure rmdir(const s:string);
  355. Procedure getdir(drivenr:byte;Var dir:shortstring);
  356. Procedure getdir(drivenr:byte;Var dir:ansistring);
  357. {*****************************************************************************
  358. Miscelleaous
  359. *****************************************************************************}
  360. { os independent calls to allow backtraces }
  361. function get_frame:longint;
  362. function get_caller_addr(framebp:longint):longint;
  363. function get_caller_frame(framebp:longint):longint;
  364. Function IOResult:Word;
  365. Function Sptr:Longint;
  366. {*****************************************************************************
  367. Init / Exit / ExitProc
  368. *****************************************************************************}
  369. Function Paramcount:Longint;
  370. Function ParamStr(l:Longint):string;
  371. {$ifndef RTLLITE}
  372. Procedure Dump_Stack(var f : text;bp:Longint);
  373. {$endif RTLLITE}
  374. Procedure RunError(w:Word);
  375. Procedure RunError;
  376. Procedure halt(errnum:byte);
  377. {$ifndef RTLLITE}
  378. Procedure AddExitProc(Proc:TProcedure);
  379. {$endif RTLLITE}
  380. Procedure halt;
  381. {*****************************************************************************
  382. Abstract/Assert
  383. *****************************************************************************}
  384. procedure AbstractError;
  385. Procedure SysAssert(Const Msg,FName:string;LineNo,ErrorAddr:Longint);
  386. const
  387. AssertErrorProc : Pointer=@SysAssert;
  388. AbstractErrorProc : Pointer=nil;
  389. {*****************************************************************************
  390. SetJmp/LongJmp
  391. *****************************************************************************}
  392. {$i setjumph.inc}
  393. {*****************************************************************************
  394. Object Pascal support
  395. *****************************************************************************}
  396. {$i objpash.inc}
  397. {
  398. $Log$
  399. Revision 1.57 1999-05-17 21:52:40 florian
  400. * most of the Object Pascal stuff moved to the system unit
  401. Revision 1.56 1999/05/06 09:05:14 peter
  402. * generic write_float str_float
  403. Revision 1.55 1999/04/17 13:10:26 peter
  404. * addr() internal
  405. Revision 1.54 1999/04/08 15:57:56 peter
  406. + subrange checking for readln()
  407. Revision 1.53 1999/03/16 17:49:37 jonas
  408. * changes for internal Val code (do a "make cycle OPT=-dvalintern" to test)
  409. * in text.inc: changed RTE 106 when read integer values are out of bounds to RTE 201
  410. * in systemh.inc: disabled "support_fixed" for the i386 because it gave internal errors,
  411. Revision 1.52 1999/03/10 22:15:30 florian
  412. + system.cmdline variable for go32v2 and win32 added
  413. Revision 1.51 1999/03/03 15:23:58 michael
  414. + Added setstring for Delphi compatibility
  415. Revision 1.50 1999/02/01 00:05:16 florian
  416. + functions lo/hi for DWord type implemented
  417. Revision 1.49 1999/01/29 09:23:10 pierre
  418. * Fillchar(..,..,boolean) added
  419. Revision 1.48 1999/01/22 12:39:24 pierre
  420. + added text arg for dump_stack
  421. Revision 1.47 1999/01/11 19:26:53 jonas
  422. * made inster(string,string,index) a bit faster
  423. + overloaded insert(char,string,index)
  424. Revision 1.46 1998/12/28 15:50:48 peter
  425. + stdout, which is needed when you write something in the system unit
  426. to the screen. Like the runtime error
  427. Revision 1.45 1998/12/15 22:43:04 peter
  428. * removed temp symbols
  429. Revision 1.44 1998/11/27 14:50:57 peter
  430. + open strings, $P switch support
  431. Revision 1.43 1998/11/26 23:16:13 jonas
  432. * changed RandSeed and OldRandSeed to Cardinal to avoid negative random numbers
  433. Revision 1.42 1998/11/24 17:12:43 peter
  434. * fixed length(char)
  435. - removed obsolete version.inc
  436. Revision 1.41 1998/11/16 10:21:26 peter
  437. * fixes for H+
  438. Revision 1.40 1998/11/05 10:29:37 pierre
  439. * fix for length(char) in const expressions
  440. Revision 1.39 1998/11/04 20:34:01 michael
  441. + Removed ifdef useansistrings
  442. Revision 1.38 1998/11/04 10:20:51 peter
  443. * ansistring fixes
  444. Revision 1.37 1998/10/10 15:28:47 peter
  445. + read single,fixed
  446. + val with code:longint
  447. + val for fixed
  448. Revision 1.36 1998/10/05 17:22:54 pierre
  449. * avoid overflow on $8000000 with $Q-
  450. Revision 1.35 1998/10/05 12:32:52 peter
  451. + assert() support
  452. Revision 1.34 1998/10/01 14:54:48 peter
  453. * export also stackframe functions
  454. Revision 1.33 1998/09/28 14:02:33 michael
  455. + AnsiString changes
  456. Revision 1.32 1998/09/22 15:30:55 peter
  457. * shortstring=string type added
  458. Revision 1.31 1998/09/20 17:49:09 florian
  459. * some ansistring fixes
  460. Revision 1.30 1998/09/17 16:34:17 peter
  461. * new eof,eoln,seekeoln,seekeof
  462. * speed upgrade for read_string
  463. * inoutres 104/105 updates for read_* and write_*
  464. Revision 1.29 1998/09/16 13:08:04 michael
  465. Added AbstractErrorHandler
  466. Revision 1.28 1998/09/14 10:48:22 peter
  467. * FPC_ names
  468. * Heap manager is now system independent
  469. Revision 1.27 1998/09/08 15:03:28 peter
  470. * moved getmem/freemem/memavail/maxavail to heaph.inc
  471. Revision 1.26 1998/09/04 18:16:14 peter
  472. * uniform filerec/textrec (with recsize:longint and name:0..255)
  473. Revision 1.25 1998/09/01 17:36:22 peter
  474. + internconst
  475. Revision 1.24 1998/08/11 21:39:08 peter
  476. * splitted default_extended from support_extended
  477. Revision 1.23 1998/08/11 00:05:27 peter
  478. * $ifdef ver0_99_5 updates
  479. Revision 1.22 1998/08/08 12:28:14 florian
  480. * a lot small fixes to the extended data type work
  481. Revision 1.21 1998/07/30 13:26:17 michael
  482. + Added support for ErrorProc variable. All internal functions are required
  483. to call HandleError instead of runerror from now on.
  484. This is necessary for exception support.
  485. Revision 1.20 1998/07/28 20:37:47 michael
  486. + added setjmp/longjmp and exception support
  487. Revision 1.19 1998/07/20 23:36:57 michael
  488. changes for ansistrings
  489. Revision 1.18 1998/07/18 17:14:24 florian
  490. * strlenint type implemented
  491. Revision 1.17 1998/07/10 11:02:39 peter
  492. * support_fixed, becuase fixed is not 100% yet for the m68k
  493. Revision 1.16 1998/07/02 12:13:18 carl
  494. * No SINGLE type for m68k or other non-intel processors!
  495. Revision 1.15 1998/07/01 14:43:46 carl
  496. - max_frame_dump reduced to 8, 20 is too much!
  497. Revision 1.14 1998/06/25 14:04:26 peter
  498. + internal inc/dec
  499. Revision 1.13 1998/06/25 09:44:21 daniel
  500. + RTLLITE directive to compile minimal RTL.
  501. Revision 1.12 1998/06/15 15:16:27 daniel
  502. * RTLLITE conditional added to produce smaller RTL
  503. Revision 1.11 1998/06/08 12:38:23 michael
  504. Implemented rtti, inserted ansistrings again
  505. Revision 1.10 1998/06/04 23:46:02 peter
  506. * comp,extended are only i386 added support_comp,support_extended
  507. Revision 1.9 1998/06/04 08:26:03 pierre
  508. * boolean internal definition again (needed to compile
  509. older RTL's)
  510. Revision 1.8 1998/06/03 23:39:53 peter
  511. + boolean=bytebool
  512. Revision 1.7 1998/05/22 12:34:11 peter
  513. * fixed the optimizes of daniel
  514. Revision 1.6 1998/05/21 19:31:00 peter
  515. * objects compiles for linux
  516. + assign(pchar), assign(char), rename(pchar), rename(char)
  517. * fixed read_text_as_array
  518. + read_text_as_pchar which was not yet in the rtl
  519. Revision 1.5 1998/05/12 10:42:45 peter
  520. * moved getopts to inc/, all supported OS's need argc,argv exported
  521. + strpas, strlen are now exported in the systemunit
  522. * removed logs
  523. * removed $ifdef ver_above
  524. Revision 1.4 1998/04/16 12:30:47 peter
  525. + inc(pchar), dec(pchar), incc(pchar,a),dec(pchar,a)
  526. }