Rev 6239 | Rev 6906 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6239 | Rev 6256 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;£à®¬ ï ¡« £®¤ à®áâì ¢á¥¬, ªâ® ¯®¬®£ «: ª®¤®¬/ᮢ¥â®¬/¤¨§ ©®¬ ... |
1 | ;£à®¬ ï ¡« £®¤ à®áâì ¢á¥¬, ªâ® ¯®¬®£ «: ª®¤®¬/ᮢ¥â®¬/¤¨§ ©®¬ ... |
Line 2... | Line 2... | ||
2 | 2 | ||
3 | use32 |
3 | use32 |
4 | org 0x0 |
4 | org 0x0 |
5 | db 'MENUET01' ;¨¤¥â¨ä. ¨á¯®«ï¥¬®£® ä ©« ¢á¥£¤ 8 ¡ ©â |
5 | db 'MENUET01' ;¨¤¥â¨ä. ¨á¯®«ï¥¬®£® ä ©« ¢á¥£¤ 8 ¡ ©â |
6 | dd 1, start, i_end, mem, stacktop |
- | |
7 | dd file_name ; command line |
- | |
Line 8... | Line 6... | ||
8 | dd sys_path |
6 | dd 1, start, i_end, mem, stacktop, file_name, sys_path |
9 | 7 | ||
10 | MAX_COLOR_WORD_LEN equ 40 |
8 | MAX_COLOR_WORD_LEN equ 40 |
11 | maxChars equ 100002 ;(...+2) |
9 | maxChars equ 100002 ;(ª®««¨ç¥á⢮ ᨬ¢®«®¢ ¢ ®¢®¬ ¤®ªã¬¥â¥ + 2) |
12 | BUF_SIZE equ 4096 ;buffer for copy|paste |
10 | BUF_SIZE equ 4096 ;buffer for copy|paste |
Line 13... | Line 11... | ||
13 | maxSyntaxFileSize equ 410000 |
11 | maxSyntaxFileSize equ 410000 |
Line 29... | Line 27... | ||
29 | include 't_button.inc' ;text work functions |
27 | include 't_button.inc' ;text work functions |
30 | include 'wnd_k_words.inc' |
28 | include 'wnd_k_words.inc' |
Line 31... | Line 29... | ||
31 | 29 | ||
Line -... | Line 30... | ||
- | 30 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
|
32 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
31 | |
- | 32 | align 4 |
|
Line 33... | Line 33... | ||
33 | 33 | icon_tl_sys dd 0 ;㪠§ â¥«ì ¯ ¬ïâì ¤«ï åà ¥¨ï á¨á⥬ëå ¨ª®®ª |
|
34 | icon_tl_sys dd 0 ;㪠§ â¥«ì ¯ ¬ïâì ¤«ï åà ¥¨ï á¨á⥬ëå ¨ª®®ª |
34 | run_file_70 FileInfoBlock |
35 | 35 | ||
Line 199... | Line 199... | ||
199 | ;symbol size |
199 | ;symbol size |
200 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_w,ini_def_symbol_w |
200 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_w,ini_def_symbol_w |
201 | mov dword[tedit0.rec.width],eax |
201 | mov dword[tedit0.rec.width],eax |
202 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_h,ini_def_symbol_h |
202 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_symbol_h,ini_def_symbol_h |
203 | mov dword[tedit0.rec.height],eax |
203 | mov dword[tedit0.rec.height],eax |
204 | lea eax,[eax+eax*2] |
204 | ;lea eax,[eax+eax*2] |
205 | mov dword[tedit0.rec.top],eax |
205 | ;mov dword[tedit0.rec.top],eax |
- | 206 | ;font size |
|
- | 207 | stdcall dword[ini_get_int],file_name,ini_sec_window,key_font_s,ini_def_font_s |
|
- | 208 | shl eax,24 |
|
- | 209 | mov dword[tedit0.font_size],eax |
|
206 | ;ä ©«®¢ë¥ à áè¨à¥¨ï |
210 | ;ä ©«®¢ë¥ à áè¨à¥¨ï |
207 | xor edx,edx |
211 | xor edx,edx |
208 | mov ebx,synt_auto_open |
212 | mov ebx,synt_auto_open |
209 | @@: |
213 | @@: |
210 | ;¡¥à¥¬ ¨¬ï ä ©« |
214 | ;¡¥à¥¬ ¨¬ï ä ©« |
Line 576... | Line 580... | ||
576 | wnd_s_pos: ;¬¥áâ® ¤«ï áâ஥ª áâ à⮢®© ¯®§¨æ¨¨ ®ª |
580 | wnd_s_pos: ;¬¥áâ® ¤«ï áâ஥ª áâ à⮢®© ¯®§¨æ¨¨ ®ª |
577 | rq 1 |
581 | rq 1 |
578 | last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤¥£® ¯®¤ª«î祮£® ä ©« á¨â ªá¨á |
582 | last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤¥£® ¯®¤ª«î祮£® ä ©« á¨â ªá¨á |
579 | buf rb BUF_SIZE ;¡ãä¥à ¤«ï ª®¯¨à®¢ ¨ï ¨ ¢áâ ¢ª¨ |
583 | buf rb BUF_SIZE ;¡ãä¥à ¤«ï ª®¯¨à®¢ ¨ï ¨ ¢áâ ¢ª¨ |
580 | buf_find rb 302 ;¡ãä¥à ¤«ï ¯®¨áª ⥪áâ |
584 | buf_find rb 302 ;¡ãä¥à ¤«ï ¯®¨áª ⥪áâ |
581 | run_file_70 FileInfoBlock |
- | |
582 | sc system_colors |
585 | sc system_colors |
583 | rb sizeof.system_colors |
- | |
584 | IncludeUGlobals |
586 | IncludeUGlobals |
585 | align 16 |
587 | align 16 |
586 | procinfo process_information |
588 | procinfo process_information |
587 | rb 1024 |
589 | rb 1024 |
588 | thread: |
590 | thread: |
589 | rb 1024 |
591 | rb 4096 |
- | 592 | align 16 |
|
590 | thread_coords: |
593 | thread_coords: |
591 | rb 4096 |
594 | rb 4096 |
- | 595 | align 16 |
|
592 | stacktop: |
596 | stacktop: |
593 | sys_path: ;¯ãâì ®âªã¤ § ¯ãá⨫áï ¨á¯®«ï¥¬ë© ä ©« |
597 | sys_path: ;¯ãâì ®âªã¤ § ¯ãá⨫áï ¨á¯®«ï¥¬ë© ä ©« |
594 | rb 4096 |
598 | rb 4096 |
595 | file_name: ;¯ à ¬¥âàë § ¯ã᪠|
599 | file_name: ;¯ à ¬¥âàë § ¯ã᪠|
596 | rb 4096 |
600 | rb 4096 |