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' |
8 | include '../../../../../proc32.inc' |
12 | include '../../../../../develop/libraries/box_lib/load_lib.mac' |
9 | include '../../../../../load_lib.mac' |
Line 13... | Line 10... | ||
13 | include '../../../../../dll.inc' |
10 | include '../../../../../dll.inc' |
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 | ||
Line 17... | Line 14... | ||
17 | buf2d_l equ word[edi+4] ;®âáâ㯠᫥¢ |
14 | buf2d_l equ word[edi+4] ;®âáâ㯠᫥¢ |
18 | buf2d_t equ word[edi+6] ;®âáâ㯠ᢥàåã |
15 | buf2d_t equ word[edi+6] ;®âáâ㯠ᢥàåã |
19 | buf2d_color equ dword[edi+16] ;梥â ä® ¡ãä¥à |
16 | buf2d_color equ dword[edi+16] ;梥â ä® ¡ãä¥à |
20 | - | ||
21 | align 4 |
17 | |
22 | start: |
18 | align 4 |
Line 23... | Line 19... | ||
23 | load_library vectors_name, cur_dir_path, library_path, system_path, \ |
19 | start: |
24 | err_message_found_lib, head_f_l, import_buf2d_lib, err_message_import, head_f_i |
20 | load_library lib0_name, library_path, system_path, import_buf2d_lib |
Line 163... | Line 159... | ||
163 | dd 0x80 ;+16 color |
159 | dd 0x80 ;+16 color |
164 | db 24 ;+20 bit in pixel |
160 | db 24 ;+20 bit in pixel |
Line 165... | Line 161... | ||
165 | 161 | ||
166 | ;-------------------------------------------------- |
162 | ;-------------------------------------------------- |
167 | system_path db '/sys/lib/' |
163 | system_path db '/sys/lib/' |
168 | vectors_name db 'buf2d.obj',0 |
- | |
169 | err_message_found_lib db 'Sorry I cannot load library buf2d.obj',0 |
- | |
170 | head_f_i: |
- | |
171 | head_f_l db 'System error',0 |
- | |
172 | err_message_import db 'Error on load import library buf2d.obj',0 |
164 | lib0_name db 'buf2d.obj',0 |
Line 173... | Line 165... | ||
173 | ;-------------------------------------------------- |
165 | ;-------------------------------------------------- |
174 | 166 | ||
175 | i_end: ;ª®¥æ ª®¤ |
167 | i_end: ;ª®¥æ ª®¤ |