forked from KolibriOS/kolibrios
7c8ba5ff40
*added animage and kfar *renamed docpak (to docpack) *chess fixed by Yellow to use 70th function *docpack, tetris, jpegview, trantest, desktop uses system colors, new functions of window drawing now *removed old rd2hd and rd2fd git-svn-id: svn://kolibrios.org@180 a494cfbc-eb01-0410-851d-a64ba20cac60
51 lines
1.2 KiB
PHP
51 lines
1.2 KiB
PHP
;------------------------------------------------------------------
|
|
; use "iglobal" for inserting initialized global data definitions.
|
|
;------------------------------------------------------------------
|
|
macro iglobal {
|
|
IGlobals equ IGlobals,
|
|
macro __IGlobalBlock { }
|
|
|
|
;-------------------------------------------------------------
|
|
; use 'uglobal' for inserting uninitialized global definitions.
|
|
; even when you define some data values, these variables
|
|
; will be stored as uninitialized data.
|
|
;-------------------------------------------------------------
|
|
macro uglobal {
|
|
UGlobals equ UGlobals,
|
|
macro __UGlobalBlock { }
|
|
|
|
endg fix } ; Use endg for ending iglobal and uglobal blocks.
|
|
|
|
macro IncludeIGlobals{
|
|
macro IGlobals dummy,[n] \{ __IGlobalBlock
|
|
purge __IGlobalBlock \}
|
|
match I, IGlobals \{ I \} }
|
|
|
|
|
|
macro IncludeUGlobals{
|
|
macro UGlobals dummy,[n] \{
|
|
\common
|
|
\local begin, size
|
|
begin = $
|
|
virtual at $
|
|
\forward
|
|
__UGlobalBlock
|
|
purge __UGlobalBlock
|
|
\common
|
|
size = $ - begin
|
|
end virtual
|
|
rb size
|
|
\}
|
|
match U, UGlobals \{ U \} }
|
|
|
|
macro IncludeAllGlobals {
|
|
IncludeIGlobals
|
|
IncludeUGlobals
|
|
}
|
|
|
|
iglobal
|
|
endg
|
|
|
|
uglobal
|
|
endg
|