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