home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_07_04 / v7n4085a.txt < prev    next >
Text File  |  1989-02-03  |  915b  |  26 lines

  1. ;
  2. ;  This is a sample configuration file for Turbo C 2.0
  3. ;  Copyright (C) 1988, 1989 Paradigm Systems.
  4. ;  All rights reserved.
  5. ;
  6. ;  This version is for the small/medium memory models.
  7. ;  If you are using the compact/large memory model,
  8. ;  remove STACK from DGROUP and make a separate
  9. ;  class as shown below.
  10. ;
  11. ;     class STACK = 0xxxx           ; For compact/large models
  12. ;     order DATA BSS BSSEND STACK   ; Recreate DGROUP
  13. ;
  14.  
  15. dup   DATA ROMDATA            ; Make a copy of the initialized data
  16.  
  17. class CODE = 0xf800           ; Assume ROM at F8000h
  18. class DATA = 0x0400           ; And the program data at 04000h
  19.  
  20. order DATA BSS BSSEND STACK   ; Recreate DGROUP
  21. order CODE CODEEND ROMDATA    ; Place the initialized data after
  22.                               ; the program code
  23.  
  24. rom   CODE ROMDATA            ; ROM only the program and the
  25.                               ; initialized data
  26.