home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / csource2 / sclib_1 / 1_4 / v7n4085a.txt < prev    next >
Encoding:
Text File  |  1995-11-01  |  915 b   |  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.