Rev 1468 | Rev 1592 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1468 | Rev 1489 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | tc dd ? ; +10 ¢à¥¬. ᮧ¤ ¨ï |
24 | tc dd ? ; +10 ¢à¥¬. ᮧ¤ ¨ï |
25 | td dd ? ; +14 ¢à¥¬. 㤠«¥¨ï |
25 | td dd ? ; +14 ¢à¥¬. 㤠«¥¨ï |
26 | ends |
26 | ends |
Line 27... | Line 27... | ||
27 | 27 | ||
28 | 28 | ||
Line 29... | Line 29... | ||
29 | hed db 'TextEditor 27.05.10',0 ;¯®¤¯¨áì ®ª |
29 | hed db 'TextEditor 09.06.10',0 ;¯®¤¯¨áì ®ª |
30 | sc system_colors |
30 | sc system_colors |
31 | 31 | ||
Line 41... | Line 41... | ||
41 | mov byte[msgbox_3.err],al |
41 | mov byte[msgbox_3.err],al |
42 | stdcall [mb_create],msgbox_3,thread ;message: Can-t open color options file! |
42 | stdcall [mb_create],msgbox_3,thread ;message: Can-t open color options file! |
43 | ret |
43 | ret |
Line 44... | Line -... | ||
44 | - | ||
45 | - | ||
46 | ;----------------------------------------------------------------------------- |
- | |
47 | ;äãªæ¨ï ¤«ï ¢ë¤¥«¥¨ï ¯ ¬ï⨠|
- | |
48 | ;input: |
- | |
49 | ; ecx = size data |
- | |
50 | ;otput: |
- | |
51 | ; eax = pointer to memory |
- | |
52 | align 4 |
- | |
53 | mem_Alloc: |
- | |
54 | push ebx |
- | |
55 | mov eax,68 |
- | |
56 | mov ebx,12 |
- | |
57 | int 0x40 |
- | |
58 | pop ebx |
- | |
59 | ret |
- | |
60 | ;----------------------------------------------------------------------------- |
- | |
61 | ;äãªæ¨ï ¤«ï ®á¢®¡®¦¤¥¨ï ¯ ¬ï⨠|
- | |
62 | ;input: |
- | |
63 | ; ecx = pointer to memory |
- | |
64 | align 4 |
- | |
65 | mem_Free: |
- | |
66 | push eax ebx |
- | |
67 | cmp ecx,0 |
- | |
68 | jz @f |
- | |
69 | mov eax,68 |
- | |
70 | mov ebx,13 |
- | |
71 | int 0x40 |
- | |
72 | @@: |
- | |
73 | pop ebx eax |
- | |
74 | ret |
- | |
75 | 44 | ||
76 | 45 | ||
77 | align 4 |
46 | align 4 |
78 | ted_but_new_file: |
47 | ted_but_new_file: |
79 | push eax ebx |
48 | push eax ebx |