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 | ||
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 130... | Line 126... | ||
130 | dd 0x80 ;+16 color |
126 | dd 0x80 ;+16 color |
131 | db 24 ;+20 bit in pixel |
127 | db 24 ;+20 bit in pixel |
Line 132... | Line 128... | ||
132 | 128 | ||
133 | ;-------------------------------------------------- |
129 | ;-------------------------------------------------- |
134 | system_path db '/sys/lib/' |
130 | system_path db '/sys/lib/' |
135 | vectors_name db 'buf2d.obj',0 |
- | |
136 | err_message_found_lib db 'Sorry I cannot load library buf2d.obj',0 |
- | |
137 | head_f_i: |
- | |
138 | head_f_l db 'System error',0 |
- | |
139 | err_message_import db 'Error on load import library buf2d.obj',0 |
131 | lib0_name db 'buf2d.obj',0 |
Line 140... | Line 132... | ||
140 | ;-------------------------------------------------- |
132 | ;-------------------------------------------------- |
141 | 133 | ||
142 | i_end: ;ª®¥æ ª®¤ |
134 | i_end: ;ª®¥æ ª®¤ |