| 1 | ; $Id: segments.inc,v 1.1.1.1 2003/07/02 13:56:56 eleph Exp $
|
|---|
| 2 | ;*
|
|---|
| 3 | ;* Segment definition statements
|
|---|
| 4 | ;*
|
|---|
| 5 | ;* (C) 2000-2002 InnoTek Systemberatung GmbH
|
|---|
| 6 | ;* (C) 2000-2001 Sander van Leeuwen (sandervl@xs4all.nl)
|
|---|
| 7 | ;*
|
|---|
| 8 | ;* This program is free software; you can redistribute it and/or
|
|---|
| 9 | ;* modify it under the terms of the GNU General Public License as
|
|---|
| 10 | ;* published by the Free Software Foundation; either version 2 of
|
|---|
| 11 | ;* the License, or (at your option) any later version.
|
|---|
| 12 | ;*
|
|---|
| 13 | ;* This program is distributed in the hope that it will be useful,
|
|---|
| 14 | ;* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 15 | ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 16 | ;* GNU General Public License for more details.
|
|---|
| 17 | ;*
|
|---|
| 18 | ;* You should have received a copy of the GNU General Public
|
|---|
| 19 | ;* License along with this program; if not, write to the Free
|
|---|
| 20 | ;* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
|---|
| 21 | ;* USA.
|
|---|
| 22 | ;*
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | DATA16 segment word public use16 'DATA16'
|
|---|
| 26 | DATA16 ends
|
|---|
| 27 |
|
|---|
| 28 | CODE16 segment word public use16 'CODE'
|
|---|
| 29 | CODE16 ends
|
|---|
| 30 |
|
|---|
| 31 | FIRSTCODE32 segment dword public use32 'CODE'
|
|---|
| 32 | FIRSTCODE32 ends
|
|---|
| 33 |
|
|---|
| 34 | CODE32 segment dword public use32 'CODE'
|
|---|
| 35 | CODE32 ends
|
|---|
| 36 |
|
|---|
| 37 | _TEXT segment dword public use32 'CODE'
|
|---|
| 38 | _TEXT ends
|
|---|
| 39 |
|
|---|
| 40 | LASTCODE32 segment dword public use32 'CODE'
|
|---|
| 41 | LASTCODE32 ends
|
|---|
| 42 |
|
|---|
| 43 | BSS32 segment dword use32 public 'BSS'
|
|---|
| 44 | BSS32 ends
|
|---|
| 45 |
|
|---|
| 46 | _BSS segment dword use32 public 'BSS'
|
|---|
| 47 | _BSS ends
|
|---|
| 48 |
|
|---|
| 49 | C_COMMON segment dword use32 public 'DATA'
|
|---|
| 50 | C_COMMON ends
|
|---|
| 51 |
|
|---|
| 52 | c_common segment dword use32 public 'DATA'
|
|---|
| 53 | c_common ends
|
|---|
| 54 |
|
|---|
| 55 | CONST32 segment dword use32 public 'CONST'
|
|---|
| 56 | CONST32 ends
|
|---|
| 57 |
|
|---|
| 58 | DATA32 segment dword use32 public 'DATA'
|
|---|
| 59 | DATA32 ends
|
|---|
| 60 |
|
|---|
| 61 | _DATA segment dword use32 public 'DATA'
|
|---|
| 62 | _DATA ends
|
|---|
| 63 |
|
|---|
| 64 | CONST SEGMENT DWORD PUBLIC USE32 'DATA'
|
|---|
| 65 | CONST ENDS
|
|---|
| 66 |
|
|---|
| 67 | CONST2 SEGMENT DWORD PUBLIC USE32 'DATA'
|
|---|
| 68 | CONST2 ENDS
|
|---|
| 69 |
|
|---|
| 70 | IFDEF KEE
|
|---|
| 71 | LASTDATA32 SEGMENT DWORD PUBLIC USE32 'DATA'
|
|---|
| 72 | LASTDATA32 ENDS
|
|---|
| 73 | ELSE
|
|---|
| 74 | LASTDATA32 SEGMENT DWORD PUBLIC USE32 'BSS'
|
|---|
| 75 | LASTDATA32 ENDS
|
|---|
| 76 | ENDIF
|
|---|
| 77 |
|
|---|
| 78 | ;order is important!
|
|---|
| 79 | IFDEF KEE
|
|---|
| 80 | DGROUP group BSS32, DATA32, _DATA, CONST32, C_COMMON, c_common, CONST2, CONST, _BSS, LASTDATA32
|
|---|
| 81 | ELSE
|
|---|
| 82 | DGROUP group DATA32, CONST32, C_COMMON, c_common, CONST2, CONST, _BSS, BSS32, _DATA, LASTDATA32
|
|---|
| 83 | ENDIF
|
|---|
| 84 |
|
|---|
| 85 | CGROUP group FIRSTCODE32, CODE32, _TEXT, LASTCODE32
|
|---|