1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\r
3 ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
\r
4 ;; Distributed under terms of the GNU General Public License ;;
\r
6 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\r
8 ;------------------------------------------------------------------
\r
9 ; use "iglobal" for inserting initialized global data definitions.
\r
10 ;------------------------------------------------------------------
\r
12 IGlobals equ IGlobals,
\r
13 macro __IGlobalBlock { }
\r
15 macro iglobal_nested {
\r
16 IGlobals equ IGlobals,
\r
17 macro __IGlobalBlock \{ }
\r
19 ;-------------------------------------------------------------
\r
20 ; use 'uglobal' for inserting uninitialized global definitions.
\r
21 ; even when you define some data values, these variables
\r
22 ; will be stored as uninitialized data.
\r
23 ;-------------------------------------------------------------
\r
25 UGlobals equ UGlobals,
\r
26 macro __UGlobalBlock { }
\r
28 macro uglobal_nested {
\r
29 UGlobals equ UGlobals,
\r
30 macro __UGlobalBlock \{ }
\r
32 endg fix } ; Use endg for ending iglobal and uglobal blocks.
\r
35 macro IncludeIGlobals{
\r
36 macro IGlobals dummy,[n] \{ __IGlobalBlock
\r
37 purge __IGlobalBlock \}
\r
38 match I, IGlobals \{ I \} }
\r
41 macro IncludeUGlobals{
\r
42 macro UGlobals dummy,[n] \{
\r
49 purge __UGlobalBlock
\r
55 match U, UGlobals \{ U \} }
\r
57 macro IncludeAllGlobals {
\r