Subversion Repositories Kolibri OS

Rev

Rev 8069 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8069 Rev 8408
Line 4... Line 4...
4
	dd 1,start,i_end,mem,stacktop,0,cur_dir_path
4
	dd 1,start,i_end,mem,stacktop,0,cur_dir_path
Line 5... Line 5...
5
 
5
 
6
include '../../../../../proc32.inc'
6
include '../../../../../proc32.inc'
7
include '../../../../../macros.inc'
7
include '../../../../../macros.inc'
8
include '../../../../../KOSfuncs.inc'
8
include '../../../../../KOSfuncs.inc'
9
include '../../../../../develop/libraries/box_lib/load_lib.mac'
9
include '../../../../../load_lib.mac'
10
include '../../../../../dll.inc'
10
include '../../../../../dll.inc'
Line 11... Line 11...
11
include '../opengl_const.inc'
11
include '../opengl_const.inc'
Line 12... Line 12...
12
 
12
 
13
@use_library
13
@use_library
14
 
14
 
15
align 4
-
 
16
start:
15
align 4
17
	load_library name_tgl, cur_dir_path, library_path, system_path, \
16
start:
Line 18... Line 17...
18
		err_message_found_lib, head_f_l, import_lib_tinygl, err_message_import, head_f_i
17
	load_library name_tgl, library_path, system_path, import_lib_tinygl
Line 161... Line 160...
161
include '../export.inc'
160
include '../export.inc'
Line 162... Line 161...
162
 
161
 
163
;--------------------------------------------------
162
;--------------------------------------------------
164
system_path db '/sys/lib/'
163
system_path db '/sys/lib/'
165
name_tgl db 'tinygl.obj',0
-
 
166
 
-
 
167
head_f_i:
-
 
168
head_f_l db '"System error',0
-
 
169
err_message_import db 'Error on load import library ',39,'tinygl.obj',39,'" -tE',0
-
 
170
err_message_found_lib db 'Sorry I cannot load library ',39,'tinygl.obj',39,'" -tE',0
164
name_tgl db 'tinygl.obj',0
Line 171... Line 165...
171
;--------------------------------------------------
165
;--------------------------------------------------
172
 
166
 
173
align 16
167
align 16
174
i_end:
168
i_end:
-
 
169
ctx1 rb 28 ;TinyGLContext or KOSGLContext
-
 
170
;sizeof.TinyGLContext = 28
175
ctx1 db 28 dup (0) ;TinyGLContext or KOSGLContext
171
cur_dir_path rb 4096
176
;sizeof.TinyGLContext = 28
172
library_path rb 4096
177
	rb 1024
-
 
178
stacktop:
-
 
179
cur_dir_path:
-
 
180
	rb 4096
-
 
181
library_path:
173
	rb 1024