| 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 | BEGTEXT segment dword public use32 'CODE' | 
|---|
| 41 | BEGTEXT ends | 
|---|
| 42 |  | 
|---|
| 43 | LASTCODE32 segment dword public use32 'CODE' | 
|---|
| 44 | LASTCODE32 ends | 
|---|
| 45 |  | 
|---|
| 46 | BSS32   segment dword use32 public 'BSS' | 
|---|
| 47 | BSS32   ends | 
|---|
| 48 |  | 
|---|
| 49 | _BSS   segment dword use32 public 'BSS' | 
|---|
| 50 | _BSS   ends | 
|---|
| 51 |  | 
|---|
| 52 | C_COMMON segment dword use32 public 'DATA' | 
|---|
| 53 | C_COMMON ends | 
|---|
| 54 |  | 
|---|
| 55 | c_common segment dword use32 public 'DATA' | 
|---|
| 56 | c_common ends | 
|---|
| 57 |  | 
|---|
| 58 | CONST32 segment dword use32 public 'CONST' | 
|---|
| 59 | CONST32 ends | 
|---|
| 60 |  | 
|---|
| 61 | DATA32  segment dword use32 public 'DATA' | 
|---|
| 62 | DATA32  ends | 
|---|
| 63 |  | 
|---|
| 64 | _DATA  segment dword use32 public 'DATA' | 
|---|
| 65 | _DATA  ends | 
|---|
| 66 |  | 
|---|
| 67 | CONST   SEGMENT DWORD PUBLIC USE32 'DATA' | 
|---|
| 68 | CONST   ENDS | 
|---|
| 69 |  | 
|---|
| 70 | CONST2  SEGMENT DWORD PUBLIC USE32 'DATA' | 
|---|
| 71 | CONST2  ENDS | 
|---|
| 72 |  | 
|---|
| 73 | LASTDATA32 SEGMENT DWORD PUBLIC USE32 'DATA' | 
|---|
| 74 | LASTDATA32 ENDS | 
|---|
| 75 |  | 
|---|
| 76 | ;order is important! | 
|---|
| 77 | DGROUP  group BSS32, DATA32, _DATA, CONST32, C_COMMON, c_common, CONST2, CONST, _BSS, LASTDATA32 | 
|---|
| 78 |  | 
|---|
| 79 | CGROUP  group FIRSTCODE32, CODE32, _TEXT, BEGTEXT, LASTCODE32 | 
|---|