2009-10-17 21:26:18 +02:00
|
|
|
;*****************************************************************************
|
2009-02-23 13:26:32 +01:00
|
|
|
; Example for Box_lib: scrollbar, menubar, dinamic_button
|
2009-10-17 21:26:18 +02:00
|
|
|
; Copyright (c) 2009, Marat Zakiyanov aka Mario79, aka Mario
|
2009-02-23 13:26:32 +01:00
|
|
|
; All rights reserved.
|
|
|
|
;
|
|
|
|
; Redistribution and use in source and binary forms, with or without
|
|
|
|
; modification, are permitted provided that the following conditions are met:
|
2009-10-17 21:26:18 +02:00
|
|
|
; * Redistributions of source code must retain the above copyright
|
|
|
|
; notice, this list of conditions and the following disclaimer.
|
|
|
|
; * Redistributions in binary form must reproduce the above copyright
|
|
|
|
; notice, this list of conditions and the following disclaimer in the
|
|
|
|
; documentation and/or other materials provided with the distribution.
|
|
|
|
; * Neither the name of the <organization> nor the
|
|
|
|
; names of its contributors may be used to endorse or promote products
|
|
|
|
; derived from this software without specific prior written permission.
|
2009-02-23 13:26:32 +01:00
|
|
|
;
|
2009-10-17 21:26:18 +02:00
|
|
|
; THIS SOFTWARE IS PROVIDED BY Marat Zakiyanov ''AS IS'' AND ANY
|
2009-02-23 13:26:32 +01:00
|
|
|
; EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
|
|
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
; DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
|
|
|
|
; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
|
|
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
|
|
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
|
|
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
|
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2009-10-17 21:26:18 +02:00
|
|
|
;******************************************************************************
|
2009-02-23 13:26:32 +01:00
|
|
|
; import_boxlib procedure written by <Lrz>
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
use32
|
|
|
|
org 0x0
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
db 'MENUET01'
|
|
|
|
dd 0x01
|
|
|
|
dd START
|
|
|
|
dd IM_END
|
|
|
|
dd I_END
|
|
|
|
dd stacktop
|
|
|
|
dd 0x0
|
|
|
|
dd path
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-06-03 19:40:06 +02:00
|
|
|
include '../../../../../macros.inc'
|
2009-06-06 20:29:40 +02:00
|
|
|
include '../../load_lib.mac'
|
2009-10-17 21:26:18 +02:00
|
|
|
;include 'macros.inc'
|
|
|
|
;include 'load_lib.mac'
|
|
|
|
@use_library
|
|
|
|
include 'opendial.mac'
|
|
|
|
use_OpenDialog
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
;--- Start of program ----------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
|
|
|
START:
|
2009-05-08 19:45:28 +02:00
|
|
|
mcall 68, 11
|
|
|
|
mcall 66, 1, 1
|
|
|
|
mcall 40, 0x27
|
|
|
|
;---------------------------------------------------------------------
|
2009-10-17 21:26:18 +02:00
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
load_libraries l_libs_start,end_l_libs
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-10-17 21:26:18 +02:00
|
|
|
test eax,eax
|
|
|
|
jnz button.exit
|
2009-05-08 19:45:28 +02:00
|
|
|
|
2009-10-17 21:26:18 +02:00
|
|
|
; unpack deflate
|
|
|
|
mov eax,[unpack_DeflateUnpack2]
|
|
|
|
mov [deflate_unpack],eax
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-10-17 21:26:18 +02:00
|
|
|
;OpenDialog initialisation
|
|
|
|
init_OpenDialog OpenDialog_data
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
|
|
|
|
; mov ebx,icons_file_name
|
|
|
|
; mov esi,path
|
|
|
|
; mov edi,file_name
|
2009-10-17 21:26:18 +02:00
|
|
|
|
|
|
|
copy_path icons_file_name,path,library_path,0
|
2009-05-08 19:45:28 +02:00
|
|
|
|
|
|
|
mcall 70, fileinfo
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
mov [fileinfo+0],dword 0
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
mov ecx,[file_info+32]
|
|
|
|
mov [fileinfo+12],ecx
|
|
|
|
mov [img_size],ecx
|
|
|
|
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
mcall 68, 12
|
2009-02-23 13:26:32 +01:00
|
|
|
|
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
mov [fileinfo+16],eax
|
|
|
|
mov [image_file],eax
|
2009-02-23 13:26:32 +01:00
|
|
|
|
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
mcall 70, fileinfo
|
|
|
|
|
|
|
|
xor eax,eax
|
|
|
|
mov [return_code],eax
|
|
|
|
mov eax,image_file
|
2009-10-17 21:26:18 +02:00
|
|
|
call [cnv_png_import.Start]
|
2009-05-08 19:45:28 +02:00
|
|
|
|
|
|
|
mov ecx,[image_file]
|
|
|
|
mcall 68, 13,
|
|
|
|
|
|
|
|
cmp [return_code],dword 0
|
|
|
|
jne button.exit
|
|
|
|
|
|
|
|
mov ebx,[raw_pointer]
|
|
|
|
mov eax,[ebx+4]
|
|
|
|
; set of button size
|
|
|
|
mov [dinamic_button_data_1.size_x],ax
|
|
|
|
mov [dinamic_button_data_1.size_y],ax
|
|
|
|
mov [dinamic_button_data_2.size_x],ax
|
|
|
|
mov [dinamic_button_data_2.size_y],ax
|
|
|
|
mov eax,[ebx+12]
|
|
|
|
; set of RAW resolution to pixel
|
|
|
|
mov [dinamic_button_data_1.resolution_raw],eax
|
|
|
|
mov [dinamic_button_data_2.resolution_raw],eax
|
|
|
|
mov eax,[ebx+20]
|
|
|
|
add eax,ebx
|
|
|
|
; set RAW palette, use else resolution 8bit or less
|
|
|
|
mov [dinamic_button_data_1.palette_raw],eax
|
|
|
|
mov [dinamic_button_data_2.palette_raw],eax
|
|
|
|
mov eax,[ebx+28]
|
|
|
|
add eax,ebx
|
|
|
|
; set RAW area for passive button
|
|
|
|
mov [dinamic_button_data_1.passive_raw],eax
|
|
|
|
mov [dinamic_button_data_2.passive_raw],eax
|
|
|
|
mov ecx,[ebx+4]
|
|
|
|
imul ecx,[ebx+4]
|
|
|
|
imul ecx,[ebx+12]
|
|
|
|
shr ecx,3
|
|
|
|
add eax,ecx
|
|
|
|
; set RAW area for active button
|
|
|
|
mov [dinamic_button_data_1.active_raw],eax
|
|
|
|
mov [dinamic_button_data_2.active_raw],eax
|
|
|
|
add eax,ecx
|
|
|
|
; RAW area for click button
|
|
|
|
mov [dinamic_button_data_1.click_raw],eax
|
|
|
|
mov [dinamic_button_data_2.click_raw],eax
|
|
|
|
;---------------------------------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
red:
|
2009-05-08 19:45:28 +02:00
|
|
|
call draw_window
|
2009-02-23 13:26:32 +01:00
|
|
|
still:
|
2009-05-08 19:45:28 +02:00
|
|
|
mcall 10
|
2009-02-23 13:26:32 +01:00
|
|
|
|
2009-05-08 19:45:28 +02:00
|
|
|
cmp eax,1
|
|
|
|
je red
|
|
|
|
cmp eax,2
|
|
|
|
je key
|
|
|
|
cmp eax,3
|
|
|
|
je button
|
|
|
|
cmp eax,6
|
|
|
|
je mouse
|
|
|
|
jmp still
|
2009-02-23 13:26:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
key:
|
|
|
|
mcall 2
|
|
|
|
jmp still
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
button:
|
|
|
|
mcall 17
|
|
|
|
cmp ah, 1
|
|
|
|
jne still
|
|
|
|
.exit:
|
|
|
|
mcall -1
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
|
|
|
mouse:
|
|
|
|
;-----------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
cmp [scroll_bar_data_horizontal.delta2],0
|
|
|
|
jne .horizontal
|
2009-02-23 13:26:32 +01:00
|
|
|
.vertical:
|
|
|
|
mov eax,[scroll_bar_data_vertical.max_area]
|
|
|
|
cmp eax,[scroll_bar_data_vertical.cur_area]
|
|
|
|
jbe .horizontal
|
|
|
|
; mouse event for Vertical ScrollBar
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword scroll_bar_data_vertical
|
|
|
|
call [scrollbar_ver_mouse]
|
|
|
|
mov eax,scroll_bar_data_vertical.redraw
|
|
|
|
xor ebx,ebx
|
|
|
|
cmp [eax],ebx
|
|
|
|
je @f
|
|
|
|
mov [eax],ebx
|
|
|
|
jmp .draw_cube
|
2009-02-23 13:26:32 +01:00
|
|
|
@@:
|
2009-05-08 19:45:28 +02:00
|
|
|
cmp [scroll_bar_data_vertical.delta2],0
|
|
|
|
jne still
|
2009-02-23 13:26:32 +01:00
|
|
|
.horizontal:
|
|
|
|
mov eax,[scroll_bar_data_horizontal.max_area]
|
|
|
|
cmp eax,[scroll_bar_data_horizontal.cur_area]
|
|
|
|
jbe .other
|
|
|
|
; mouse event for Horizontal ScrollBar
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword scroll_bar_data_horizontal
|
|
|
|
call [scrollbar_hor_mouse]
|
|
|
|
mov eax,scroll_bar_data_horizontal.redraw
|
|
|
|
xor ebx,ebx
|
|
|
|
cmp [eax],ebx
|
|
|
|
je .other
|
|
|
|
mov [eax],ebx
|
2009-02-23 13:26:32 +01:00
|
|
|
.draw_cube:
|
2009-05-08 19:45:28 +02:00
|
|
|
call draw_cube
|
|
|
|
jmp still
|
2009-02-23 13:26:32 +01:00
|
|
|
.other:
|
2009-05-08 19:45:28 +02:00
|
|
|
cmp [scroll_bar_data_vertical.delta2],0
|
|
|
|
jne still
|
|
|
|
cmp [scroll_bar_data_horizontal.delta2],0
|
|
|
|
jne still
|
2009-02-23 13:26:32 +01:00
|
|
|
;-----------------------------------------------
|
|
|
|
.menu_bar_1:
|
2009-05-08 19:45:28 +02:00
|
|
|
call .set_mouse_flag
|
2009-02-23 13:26:32 +01:00
|
|
|
@@:
|
|
|
|
; mouse event for Menu 1
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword menu_data_1
|
|
|
|
call [menu_bar_mouse]
|
2009-02-23 13:26:32 +01:00
|
|
|
cmp [menu_data_1.click],dword 1
|
2009-05-08 19:45:28 +02:00
|
|
|
jne .menu_bar_2
|
|
|
|
cmp [menu_data_1.cursor_out],dword 0
|
|
|
|
jne analyse_out_menu_1
|
|
|
|
jmp .menu_bar_1
|
2009-02-23 13:26:32 +01:00
|
|
|
;--------------------------------------------
|
|
|
|
.menu_bar_2:
|
|
|
|
; mouse event for Menu 2
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword menu_data_2
|
|
|
|
call [menu_bar_mouse]
|
2009-02-23 13:26:32 +01:00
|
|
|
cmp [menu_data_2.click],dword 1
|
2009-05-08 19:45:28 +02:00
|
|
|
jne .mouse_dinamic_button
|
|
|
|
cmp [menu_data_2.cursor_out],dword 0
|
|
|
|
jne analyse_out_menu_2
|
2009-02-23 13:26:32 +01:00
|
|
|
jmp .menu_bar_1
|
|
|
|
;--------------------------------------------
|
|
|
|
.mouse_dinamic_button:
|
|
|
|
; mouse event for Dinamic Button 1
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword dinamic_button_data_1
|
|
|
|
call [dinamic_button_mouse]
|
|
|
|
mov eax,dinamic_button_data_1.click
|
2009-02-23 13:26:32 +01:00
|
|
|
cmp [eax],dword 1
|
2009-05-08 19:45:28 +02:00
|
|
|
jne @f
|
2009-02-23 13:26:32 +01:00
|
|
|
mov [eax],dword 0
|
2009-05-08 19:45:28 +02:00
|
|
|
jmp about
|
2009-02-23 13:26:32 +01:00
|
|
|
@@:
|
|
|
|
; mouse event for Dinamic Button 2
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword dinamic_button_data_2
|
|
|
|
call [dinamic_button_mouse]
|
|
|
|
mov eax,dinamic_button_data_2.click
|
2009-02-23 13:26:32 +01:00
|
|
|
cmp [eax],dword 1
|
2009-05-08 19:45:28 +02:00
|
|
|
jne still ;@f
|
2009-02-23 13:26:32 +01:00
|
|
|
mov [eax],dword 0
|
2009-05-08 19:45:28 +02:00
|
|
|
jmp button.exit
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
.set_mouse_flag:
|
|
|
|
xor eax,eax
|
|
|
|
inc eax
|
|
|
|
mov [menu_data_1.get_mouse_flag],eax
|
|
|
|
mov [menu_data_2.get_mouse_flag],eax
|
|
|
|
ret
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
|
|
|
analyse_out_menu_1:
|
|
|
|
; analyse result of Menu 1
|
2009-10-17 21:26:18 +02:00
|
|
|
mov eax,[menu_data_1.cursor_out]
|
|
|
|
cmp eax,dword 1
|
2010-02-16 14:39:24 +01:00
|
|
|
je OpenDialog_start_0
|
|
|
|
cmp eax,dword 2
|
|
|
|
je OpenDialog_start_1
|
|
|
|
cmp eax,dword 3
|
|
|
|
je OpenDialog_start_2
|
|
|
|
cmp eax,dword 4
|
|
|
|
je button.exit
|
|
|
|
jmp still
|
2009-05-08 19:45:28 +02:00
|
|
|
|
2009-02-23 13:26:32 +01:00
|
|
|
analyse_out_menu_2:
|
|
|
|
; analyse result of Menu 2
|
2009-05-08 19:45:28 +02:00
|
|
|
cmp [menu_data_2.cursor_out],dword 2
|
|
|
|
je about
|
|
|
|
jmp still
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
about:
|
|
|
|
mcall 51,1,thread3,thread
|
|
|
|
jmp still
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
2010-02-16 14:39:24 +01:00
|
|
|
OpenDialog_start_0:
|
|
|
|
mov [OpenDialog_data.type],0
|
|
|
|
jmp OpenDialog_start
|
|
|
|
OpenDialog_start_1:
|
|
|
|
mov [OpenDialog_data.type],1
|
|
|
|
jmp OpenDialog_start
|
|
|
|
OpenDialog_start_2:
|
|
|
|
mov [OpenDialog_data.type],2
|
2009-10-17 21:26:18 +02:00
|
|
|
OpenDialog_start:
|
|
|
|
; mov ebx,open_dialog_name
|
|
|
|
; mov esi,path
|
|
|
|
; mov edi,library_path
|
|
|
|
; call copy_file_path
|
|
|
|
call get_filter_data
|
|
|
|
|
|
|
|
copy_path open_dialog_name,path,library_path,0
|
|
|
|
|
|
|
|
|
|
|
|
start_OpenDialog OpenDialog_data
|
|
|
|
|
|
|
|
cmp [OpenDialog_data.status],2 ; OpenDialog does not start
|
|
|
|
je still ; some kind of alternative, instead OpenDialog
|
|
|
|
cmp [OpenDialog_data.status],1
|
|
|
|
jne still ; OpenDialog user say cancel
|
|
|
|
; copy path
|
2010-03-15 20:40:50 +01:00
|
|
|
; prepare path - PathShow
|
|
|
|
push dword PathShow_data_1
|
|
|
|
call [PathShow_prepare]
|
|
|
|
|
2009-10-17 21:26:18 +02:00
|
|
|
call draw_window
|
|
|
|
jmp still ; OpenDialog user selected the target file
|
|
|
|
; [OpenDialog_data.openfile_pach] pointer of area the target file
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
get_filter_data:
|
|
|
|
mov edi,[OpenDialog_data.com_area]
|
|
|
|
test edi,edi
|
|
|
|
jnz @f
|
|
|
|
add esp,4
|
|
|
|
jmp still
|
|
|
|
@@:
|
|
|
|
add edi,4096+4
|
|
|
|
mov esi,Filter
|
|
|
|
mov ecx,[esi]
|
|
|
|
inc ecx
|
|
|
|
cld
|
|
|
|
rep movsb
|
|
|
|
mov edi,[OpenDialog_data.com_area]
|
|
|
|
mov [edi+4096],dword 1
|
|
|
|
ret
|
|
|
|
;---------------------------------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
draw_window:
|
2009-05-08 19:45:28 +02:00
|
|
|
mcall 12, 1
|
|
|
|
mcall 0, <0,400>, <0,400>, 0x03AABBCC, 0x805080D0, 0x005080D0
|
|
|
|
mcall 71, 1, header_1
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------
|
|
|
|
; draw for Menu 1
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword menu_data_1
|
|
|
|
call [menu_bar_draw]
|
2009-02-23 13:26:32 +01:00
|
|
|
; draw for Menu 2
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword menu_data_2
|
|
|
|
call [menu_bar_draw]
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------
|
|
|
|
; draw for Dinamic Button 1
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword dinamic_button_data_1
|
|
|
|
call [dinamic_button_draw]
|
2009-02-23 13:26:32 +01:00
|
|
|
; draw for Dinamic Button 2
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword dinamic_button_data_2
|
|
|
|
call [dinamic_button_draw]
|
2009-10-17 21:26:18 +02:00
|
|
|
;---------------------------------------------
|
|
|
|
mcall 13,<170,200>,<25,15>,0xffffb0
|
2010-03-15 20:40:50 +01:00
|
|
|
; mov bx,28
|
|
|
|
; add ebx,2 shl 16
|
|
|
|
; mcall 4,,0xC0000000,text_work_area,,0xffffb0
|
|
|
|
; draw for PathShow
|
|
|
|
push dword PathShow_data_1
|
|
|
|
call [PathShow_draw]
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------
|
|
|
|
; set all_redraw flag for draw all ScrollBar
|
|
|
|
; In some cases it is necessity to draw only the area
|
|
|
|
; of moving of a "runner", for acceleration of output -
|
|
|
|
; in this case the flag needs to be reset to 0 (zero).
|
2009-05-08 19:45:28 +02:00
|
|
|
xor eax,eax
|
|
|
|
inc eax
|
|
|
|
mov [scroll_bar_data_vertical.all_redraw],eax
|
|
|
|
mov [scroll_bar_data_horizontal.all_redraw],eax
|
|
|
|
|
2009-02-23 13:26:32 +01:00
|
|
|
; draw for Vertical ScrollBar
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword scroll_bar_data_vertical
|
|
|
|
call [scrollbar_ver_draw]
|
2009-02-23 13:26:32 +01:00
|
|
|
; draw for Horizontal ScrollBar
|
2009-05-08 19:45:28 +02:00
|
|
|
push dword scroll_bar_data_horizontal
|
|
|
|
call [scrollbar_hor_draw]
|
|
|
|
; reset all_redraw flag
|
|
|
|
xor eax,eax
|
|
|
|
mov [scroll_bar_data_vertical.all_redraw],eax
|
|
|
|
mov [scroll_bar_data_horizontal.all_redraw],eax
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
call draw_cube
|
|
|
|
mcall 12, 2
|
|
|
|
ret
|
2009-02-23 13:26:32 +01:00
|
|
|
;---------------------------------------------------------------------
|
|
|
|
draw_cube:
|
2009-05-08 19:45:28 +02:00
|
|
|
mcall 13,<30,301>,<50,301>,0xafafaf
|
|
|
|
mov ecx,[scroll_bar_data_vertical.position]
|
|
|
|
add ecx,50
|
|
|
|
shl ecx,16
|
|
|
|
mov cx,30
|
|
|
|
mov ebx,[scroll_bar_data_horizontal.position]
|
|
|
|
add ebx,30
|
|
|
|
shl ebx,16
|
|
|
|
mov bx,30
|
|
|
|
mcall 13, , , 0x0
|
|
|
|
ret
|
2009-10-17 21:26:18 +02:00
|
|
|
;---------------------------------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
include 'data.inc'
|
|
|
|
include 'w_about.inc'
|
2009-10-17 21:26:18 +02:00
|
|
|
;---------------------------------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
IM_END:
|
2009-05-08 19:45:28 +02:00
|
|
|
rb 1024
|
2009-02-23 13:26:32 +01:00
|
|
|
thread:
|
2009-10-17 21:26:18 +02:00
|
|
|
;---------------------------------------------------------------------
|
2009-05-08 19:45:28 +02:00
|
|
|
rb 1024
|
2009-02-23 13:26:32 +01:00
|
|
|
stacktop:
|
2009-10-17 21:26:18 +02:00
|
|
|
;---------------------------------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
path:
|
2009-10-17 21:26:18 +02:00
|
|
|
rb 4096
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
openfile_pach:
|
|
|
|
rb 4096
|
|
|
|
;---------------------------------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
file_name:
|
2009-10-17 21:26:18 +02:00
|
|
|
library_path:
|
|
|
|
rb 4096
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
plugin_pach:
|
2009-05-08 19:45:28 +02:00
|
|
|
rb 4096
|
2009-10-17 21:26:18 +02:00
|
|
|
;---------------------------------------------------------------------
|
2010-03-15 20:40:50 +01:00
|
|
|
text_work_area:
|
|
|
|
rb 4096
|
|
|
|
;---------------------------------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
file_info:
|
2009-05-08 19:45:28 +02:00
|
|
|
rb 40
|
2009-10-17 21:26:18 +02:00
|
|
|
;---------------------------------------------------------------------
|
|
|
|
procinfo:
|
|
|
|
rb 1024
|
|
|
|
;---------------------------------------------------------------------
|
2009-02-23 13:26:32 +01:00
|
|
|
I_END:
|
|
|
|
|