i_amiga.pas 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit implements support information structures for AmigaOS
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. { This unit implements support information structures for the AmigaOS. }
  19. unit i_amiga;
  20. interface
  21. uses
  22. systems;
  23. const
  24. system_m68k_amiga_info : tsysteminfo =
  25. (
  26. system : system_m68k_Amiga;
  27. name : 'Commodore Amiga';
  28. shortname : 'amiga';
  29. flags : [];
  30. cpu : cpu_m68k;
  31. unit_env : '';
  32. extradefines : '';
  33. sourceext : '.pp';
  34. pasext : '.pas';
  35. exeext : '';
  36. defext : '.def';
  37. scriptext : '.sh';
  38. smartext : '.sl';
  39. unitext : '.ppu';
  40. unitlibext : '.ppl';
  41. asmext : '.s';
  42. objext : '.o';
  43. resext : '.res';
  44. resobjext : '.or';
  45. sharedlibext : '.library';
  46. staticlibext : '.a';
  47. staticlibprefix : 'lib';
  48. sharedlibprefix : '';
  49. sharedClibext : '.library';
  50. staticClibext : '.a';
  51. staticClibprefix : 'lib';
  52. sharedClibprefix : '';
  53. Cprefix : '';
  54. newline : #10;
  55. dirsep : '/';
  56. files_case_relevent : true;
  57. assem : as_gas;
  58. assemextern : as_gas;
  59. link : nil;
  60. linkextern : nil;
  61. ar : ar_gnu_ar;
  62. res : res_none;
  63. script : script_amiga;
  64. endian : endian_big;
  65. alignment :
  66. (
  67. procalign : 4;
  68. loopalign : 4;
  69. jumpalign : 0;
  70. constalignmin : 0;
  71. constalignmax : 4;
  72. varalignmin : 0;
  73. varalignmax : 4;
  74. localalignmin : 0;
  75. localalignmax : 4;
  76. recordalignmin : 0;
  77. recordalignmax : 2;
  78. maxCrecordalign : 4
  79. );
  80. first_parm_offset : 8;
  81. stacksize : 262144;
  82. DllScanSupported:false;
  83. use_function_relative_addresses : true
  84. );
  85. system_powerpc_amiga_info : tsysteminfo =
  86. (
  87. system : system_powerpc_Amiga;
  88. name : 'AmigaOS for PowerPC';
  89. shortname : 'amigappc';
  90. flags : [];
  91. cpu : cpu_powerpc;
  92. unit_env : '';
  93. extradefines : '';
  94. sourceext : '.pp';
  95. pasext : '.pas';
  96. exeext : '';
  97. defext : '.def';
  98. scriptext : '.sh';
  99. smartext : '.sl';
  100. unitext : '.ppu';
  101. unitlibext : '.ppl';
  102. asmext : '.s';
  103. objext : '.o';
  104. resext : '.res';
  105. resobjext : '.or';
  106. sharedlibext : '.library';
  107. staticlibext : '.a';
  108. staticlibprefix : 'lib';
  109. sharedlibprefix : '';
  110. sharedClibext : '.library';
  111. staticClibext : '.a';
  112. staticClibprefix : 'lib';
  113. sharedClibprefix : '';
  114. Cprefix : '';
  115. newline : #10;
  116. dirsep : '/';
  117. files_case_relevent : true;
  118. assem : as_gas;
  119. assemextern : as_gas;
  120. link : nil;
  121. linkextern : nil;
  122. ar : ar_gnu_ar;
  123. res : res_none;
  124. script : script_amiga;
  125. endian : endian_big;
  126. alignment :
  127. (
  128. procalign : 4;
  129. loopalign : 4;
  130. jumpalign : 0;
  131. constalignmin : 0;
  132. constalignmax : 4;
  133. varalignmin : 0;
  134. varalignmax : 4;
  135. localalignmin : 0;
  136. localalignmax : 4;
  137. recordalignmin : 0;
  138. recordalignmax : 4;
  139. maxCrecordalign : 4
  140. );
  141. first_parm_offset : 8;
  142. stacksize : 262144;
  143. DllScanSupported:false;
  144. use_function_relative_addresses : true
  145. );
  146. implementation
  147. initialization
  148. {$ifdef CPU68}
  149. {$ifdef AMIGA}
  150. set_source_info(system_m68k_Amiga_info);
  151. {$endif AMIGA}
  152. {$endif CPU68}
  153. {$ifdef CPUPOWERPC}
  154. {$ifdef AMIGA}
  155. // set_source_info(system_powerpc_Amiga_info);
  156. {$endif AMIGA}
  157. {$endif CPUPOWERPC}
  158. end.
  159. {
  160. $Log$
  161. Revision 1.7 2005-02-03 03:54:06 karoly
  162. t_morph.pas
  163. Revision 1.6 2004/10/25 15:38:41 peter
  164. * heap and heapsize removed
  165. * checkpointer fixes
  166. Revision 1.5 2004/06/20 08:55:32 florian
  167. * logs truncated
  168. }