t_atari.pas 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. $Id$
  3. Copyright (c) 2001 by Peter Vreman
  4. This unit implements support import,export,link routines
  5. for the (i386) Amiga target
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. ****************************************************************************
  18. }
  19. unit t_atari;
  20. {$i defines.inc}
  21. interface
  22. implementation
  23. uses
  24. link,
  25. cutils,cclasses,
  26. globtype,globals,systems,verbose,script,fmodule;
  27. {*****************************************************************************
  28. Initialize
  29. *****************************************************************************}
  30. const
  31. target_m68k_atari_info : ttargetinfo =
  32. (
  33. target : target_m68k_Atari;
  34. name : 'Atari ST/STE';
  35. shortname : 'atari';
  36. flags : [];
  37. cpu : cpu_m68k;
  38. short_name : 'ATARI';
  39. unit_env : '';
  40. extradefines : '';
  41. sharedlibext : '.dll';
  42. staticlibext : '.a';
  43. sourceext : '.pp';
  44. pasext : '.pas';
  45. exeext : '.tpp';
  46. defext : '';
  47. scriptext : '';
  48. smartext : '.sl';
  49. unitext : '.ppt';
  50. unitlibext : '.ppl';
  51. asmext : '.s';
  52. objext : '.o';
  53. resext : '.res';
  54. resobjext : '.or';
  55. staticlibprefix : '';
  56. sharedlibprefix : '';
  57. Cprefix : '_';
  58. newline : #10;
  59. dirsep : '/';
  60. files_case_relevent : true;
  61. assem : as_m68k_as;
  62. assemextern : as_m68k_as;
  63. link : ld_m68k_atari;
  64. linkextern : ld_m68k_atari;
  65. ar : ar_m68k_ar;
  66. res : res_none;
  67. script : script_unix;
  68. endian : endian_big;
  69. stackalignment : 2;
  70. maxCrecordalignment : 4;
  71. heapsize : 16*1024;
  72. stacksize : 8192;
  73. DllScanSupported:false;
  74. use_function_relative_addresses : false
  75. );
  76. initialization
  77. RegisterTarget(target_m68k_atari_info);
  78. end.
  79. {
  80. $Log$
  81. Revision 1.8 2002-04-22 18:19:22 carl
  82. - remove use_bound_instruction field
  83. Revision 1.7 2002/04/20 21:43:18 carl
  84. * fix stack size for some targets
  85. + add offset to parameters from frame pointer info.
  86. - remove some unused stuff
  87. Revision 1.6 2002/04/15 19:16:57 carl
  88. - remove size_of_pointer field
  89. Revision 1.5 2001/09/17 21:29:15 peter
  90. * merged netbsd, fpu-overflow from fixes branch
  91. Revision 1.4 2001/08/07 18:47:15 peter
  92. * merged netbsd start
  93. * profile for win32
  94. Revision 1.3 2001/06/03 15:15:31 peter
  95. * dllprt0 stub for linux shared libs
  96. * pass -init and -fini for linux shared libs
  97. * libprefix splitted into staticlibprefix and sharedlibprefix
  98. Revision 1.2 2001/06/02 19:22:44 peter
  99. * extradefines field added
  100. Revision 1.1 2001/04/18 22:02:04 peter
  101. * registration of targets and assemblers
  102. }