Rev 3105 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3105 | Rev 8236 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | use32 |
1 | use32 |
2 | org 0x0 |
2 | org 0 |
3 | db 'MENUET01' ;¨¤¥â¨ä. ¨á¯®«ï¥¬®£® ä ©« ¢á¥£¤ 8 ¡ ©â |
- | |
4 | dd 0x1 |
- | |
5 | dd start |
- | |
6 | dd i_end ;à §¬¥à ¯à¨«®¦¥¨ï |
- | |
7 | dd mem,stacktop |
3 | db 'MENUET01' |
8 | dd 0,cur_dir_path |
4 | dd 1,start,i_end,mem,stacktop,0,cur_dir_path |
Line -... | Line 5... | ||
- | 5 | ||
9 | 6 | include '../../../../../KOSfuncs.inc' |
|
10 | include '../../../../../macros.inc' |
7 | include '../../../../../macros.inc' |
11 | include '../../../../../proc32.inc' |
- | |
12 | include '../../../../../develop/libraries/box_lib/load_lib.mac' |
8 | include '../../../../../proc32.inc' |
- | 9 | include '../../../../../dll.inc' |
|
Line 13... | Line 10... | ||
13 | include '../../../../../dll.inc' |
10 | include '../../../../../load_lib.mac' |
Line 14... | Line 11... | ||
14 | 11 | ||
15 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc, 0 ;dll.Load |
12 | @use_library mem.Alloc,mem.Free,mem.ReAlloc, 0 ;dll.Load |
16 | 13 | ||
17 | align 4 |
- | |
18 | start: |
14 | align 4 |
19 | load_library vectors_name, cur_dir_path, library_path, system_path, \ |
15 | start: |
Line 20... | Line 16... | ||
20 | err_message_found_lib, head_f_l, import_buf2d_lib, err_message_import, head_f_i |
16 | load_library lib0_name, library_path, system_path, import_buf2d_lib |
21 | cmp eax,-1 |
17 | cmp eax,-1 |
Line 162... | Line 158... | ||
162 | dd 0x80 ;+16 color |
158 | dd 0x80 ;+16 color |
163 | db 24 ;+20 bit in pixel |
159 | db 24 ;+20 bit in pixel |
Line 164... | Line 160... | ||
164 | 160 | ||
165 | ;-------------------------------------------------- |
161 | ;-------------------------------------------------- |
166 | system_path db '/sys/lib/' |
162 | system_path db '/sys/lib/' |
167 | vectors_name db 'buf2d.obj',0 |
- | |
168 | err_message_found_lib db 'Sorry I cannot load library buf2d.obj',0 |
- | |
169 | head_f_i: |
- | |
170 | head_f_l db 'System error',0 |
- | |
171 | err_message_import db 'Error on load import library buf2d.obj',0 |
163 | lib0_name db 'buf2d.obj',0 |
Line 172... | Line 164... | ||
172 | ;-------------------------------------------------- |
164 | ;-------------------------------------------------- |
173 | 165 | ||
174 | i_end: ;ª®¥æ ª®¤ |
166 | i_end: ;ª®¥æ ª®¤ |