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 153... Line 152...
153
include '../export.inc'
152
include '../export.inc'
Line 154... Line 153...
154
 
153
 
155
;--------------------------------------------------
154
;--------------------------------------------------
156
system_path db '/sys/lib/'
155
system_path db '/sys/lib/'
157
name_tgl db 'tinygl.obj',0
-
 
158
 
-
 
159
head_f_i:
-
 
160
head_f_l db '"System error',0
-
 
161
err_message_import db 'Error on load import library ',39,'tinygl.obj',39,'" -tE',0
-
 
162
err_message_found_lib db 'Sorry I cannot load library ',39,'tinygl.obj',39,'" -tE',0
156
name_tgl db 'tinygl.obj',0
Line 163... Line 157...
163
;--------------------------------------------------
157
;--------------------------------------------------
164
 
158
 
165
align 16
159
align 16
166
i_end:
160
i_end:
-
 
161
ctx1 rb 28 ;TinyGLContext or KOSGLContext
-
 
162
;sizeof.TinyGLContext = 28
167
ctx1 db 28 dup (0) ;TinyGLContext or KOSGLContext
163
cur_dir_path rb 4096
168
;sizeof.TinyGLContext = 28
164
library_path rb 4096
169
	rb 1024
-
 
170
stacktop:
-
 
171
cur_dir_path:
-
 
172
	rb 4096
-
 
173
library_path:
165
	rb 1024