Subversion Repositories Kolibri OS

Rev

Rev 485 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 485 Rev 661
Line 21... Line 21...
21
DEBUGGING_ENABLED           equ     1
21
DEBUGGING_ENABLED           equ     1
22
DEBUGGING_DISABLED          equ     0
22
DEBUGGING_DISABLED          equ     0
23
DEBUGGING_STATE             equ     DEBUGGING_DISABLED
23
DEBUGGING_STATE             equ     DEBUGGING_DISABLED
Line 24... Line 24...
24
 
24
 
25
use32
25
use32
26
 org	0x0
26
 org    0x0
27
 db	'MENUET01'    ; header
27
 db     'MENUET01'    ; header
28
 dd	0x01	      ; header version
28
 dd     0x01          ; header version
29
 dd	START	      ; entry point
29
 dd     START         ; entry point
30
 dd	I_END	      ; image size
30
 dd     I_END         ; image size
31
 dd	0x100000      ; required memory
31
 dd     0x100000      ; required memory
32
 dd	0x100000      ; esp
32
 dd     0x100000      ; esp
Line 33... Line 33...
33
 dd	0x0 , 0x0     ; I_Param , I_Path
33
 dd     0x0 , 0x0     ; I_Param , I_Path
34
 
34
 
35
include 'lang.inc'
35
include 'lang.inc'
Line 36... Line 36...
36
include '..\..\..\macros.inc'
36
include 'macros.inc'
Line 37... Line 37...
37
;include "DEBUG.INC"
37
;include "DEBUG.INC"
Line 1390... Line 1390...
1390
 
1390
 
1391
                                   ; DRAW WINDOW
1391
                                   ; DRAW WINDOW
1392
    mov     eax,0                     ; function 0 : define and draw window
1392
    mov     eax,0                     ; function 0 : define and draw window
1393
    mov     ebx,50*65536+550          ; [x start] *65536 + [x size]
1393
    mov     ebx,50*65536+550          ; [x start] *65536 + [x size]
1394
    mov     ecx,50*65536+400          ; [y start] *65536 + [y size]
1394
    mov     ecx,50*65536+400          ; [y start] *65536 + [y size]
1395
    mov     edx,0x13ffffff            ; color of work area RRGGBB,8->color gl
1395
    mov     edx,0x14ffffff            ; color of work area RRGGBB,8->color gl
1396
    mov     edi,title                 ; WINDOW LABEL
1396
    mov     edi,title                 ; WINDOW LABEL
Line 1397... Line 1397...
1397
    mcall
1397
    mcall
1398
 
1398
 
1399
                                   
1399
 
1400
    mov     esi, URLMAXLEN            ; URL
1400
    mov     esi, URLMAXLEN            ; URL
1401
    mov     eax,4                     ; function 4 : write text to window
1401
    mov     eax,4                     ; function 4 : write text to window
1402
    mov     ebx,30*65536+38           ; [x start] *65536 + [y start]
1402
    mov     ebx,30*65536+38           ; [x start] *65536 + [y start]