t_amiga.pas 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_amiga;
  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_amiga_info : ttargetinfo =
  32. (
  33. target : target_m68k_Amiga;
  34. name : 'Commodore Amiga';
  35. shortname : 'amiga';
  36. flags : [];
  37. cpu : m68k;
  38. short_name : 'AMIGA';
  39. unit_env : '';
  40. sharedlibext : '.library';
  41. staticlibext : '.a';
  42. sourceext : '.pp';
  43. pasext : '.pas';
  44. exeext : '';
  45. defext : '';
  46. scriptext : '';
  47. smartext : '.sl';
  48. unitext : '.ppa';
  49. unitlibext : '.ppl';
  50. asmext : '.asm';
  51. objext : '.o';
  52. resext : '.res';
  53. resobjext : '.or';
  54. libprefix : '';
  55. Cprefix : '_';
  56. newline : #10;
  57. assem : as_m68k_as;
  58. assemextern : as_m68k_as;
  59. link : ld_m68k_amiga;
  60. linkextern : ld_m68k_amiga;
  61. ar : ar_m68k_ar;
  62. res : res_none;
  63. endian : endian_big;
  64. stackalignment : 2;
  65. maxCrecordalignment : 4;
  66. size_of_pointer : 4;
  67. size_of_longint : 4;
  68. heapsize : 128*1024;
  69. maxheapsize : 32768*1024;
  70. stacksize : 8192;
  71. DllScanSupported:false;
  72. use_bound_instruction : false;
  73. use_function_relative_addresses : false
  74. );
  75. initialization
  76. RegisterTarget(target_m68k_amiga_info);
  77. end.
  78. {
  79. $Log$
  80. Revision 1.1 2001-04-18 22:02:04 peter
  81. * registration of targets and assemblers
  82. }