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