26,7 → 26,7 |
ends |
|
|
hed db 'TextEditor 27.05.10',0 ;¯®¤¯¨áì ®ª |
hed db 'TextEditor 09.06.10',0 ;¯®¤¯¨áì ®ª |
sc system_colors |
|
fn_icon db 'te_icon.bmp',0 |
43,38 → 43,7 |
ret |
|
|
;----------------------------------------------------------------------------- |
;äãªæ¨ï ¤«ï ¢ë¤¥«¥¨ï ¯ ¬ï⨠|
;input: |
; ecx = size data |
;otput: |
; eax = pointer to memory |
align 4 |
mem_Alloc: |
push ebx |
mov eax,68 |
mov ebx,12 |
int 0x40 |
pop ebx |
ret |
;----------------------------------------------------------------------------- |
;äãªæ¨ï ¤«ï ®á¢®¡®¦¤¥¨ï ¯ ¬ï⨠|
;input: |
; ecx = pointer to memory |
align 4 |
mem_Free: |
push eax ebx |
cmp ecx,0 |
jz @f |
mov eax,68 |
mov ebx,13 |
int 0x40 |
@@: |
pop ebx eax |
ret |
|
|
align 4 |
ted_but_new_file: |
push eax ebx |
stdcall [ted_can_save], tedit0 |