Subversion Repositories Kolibri OS

Rev

Rev 5891 | Rev 5900 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5891 Rev 5892
Line 1... Line 1...
1
use32
1
use32
2
    org     0
2
    org     0
3
    db	    'MENUET01'
3
    db	    'MENUET01'
4
    dd	    1, @entry, @end, @memory, @stack, @params, 0
4
    dd	    1, @ENTRY, @end, @memory, @stack, @params, 0
Line 5... Line 5...
5
 
5
 
-
 
6
    include "../../macros.inc"
6
    include "../../macros.inc"
7
    include "../../cmp.inc"
7
    include "../../proc32.inc"
8
    include "../../proc32.inc"
8
    include "../../dll.inc"
9
    include "../../dll.inc"
9
;    include "../../debug.inc"
-
 
10
 
-
 
11
 macro cmpe a, b, c  {
-
 
12
    cmp     a, b
-
 
13
    je	    c	     }
-
 
14
 
-
 
15
 macro cmpl a, b, c  {
-
 
16
    cmp     a, b
-
 
17
    jl	    c	     }
-
 
18
 
-
 
19
 macro cmpne a, b, c {
-
 
20
    cmp     a, b
10
;    include "../../debug.inc"
21
    jne     c	     }
-
 
22
 
-
 
23
 macro cmple a, b, c {
-
 
24
    cmp     a, b
11
    include "../../notify.inc"
25
    jle     c	     }
-
 
26
 
-
 
27
 macro cmpge a, b, c {
-
 
28
    cmp     a, b
-
 
Line 29... Line 12...
29
    jge     c	     }
12
    include "../../string.inc"
-
 
13
 
30
 
14
 LINEH	    equ 12
Line 31... Line 15...
31
 LINEH	    equ 12
15
 MARGIN     equ 12
32
 ICONS	    equ 11
-
 
33
 
-
 
Line -... Line 16...
-
 
16
 ICONS	    equ 11
-
 
17
 
34
;=====================================================================
18
;-------------------------------------------------------------------------------
Line -... Line 19...
-
 
19
 
35
 
20
 @ENTRY:
36
 @entry:
-
 
37
 
21
;; INIT HEAP
38
  ;; GET PID OF ACTIVE
22
    mcall   68, 11
39
 
-
 
40
    mcall   18, 7
23
 
Line 41... Line 24...
41
 
24
;; SAVE FOCUSED WINDOW
42
    mov     ecx, eax
-
 
43
    mcall   9, buffer
25
    mcall   18, 7
Line 44... Line 26...
44
 
26
    mov     ecx, eax
45
    m2m     dword[prev_pid], dword[buffer + 30]
-
 
46
 
27
    mcall   9, buffer
47
  ;; ALWAYS TOP
28
    m2m     dword [prev_pid], dword [buffer + 30]
48
 
29
 
49
    mcall   18, 25, 2, -1, 1
30
;; MAKE IT ALWAYS ON TOP
-
 
31
    mcall   18, 25, 2, -1, 1
Line 50... Line 32...
50
 
32
 
51
  ;; CHECK FOR PARAMS
-
 
52
 
33
;; SET STD PARAMS, IF IT NEEDS
53
    mov     eax, @params
34
    mov     eax, @params
-
 
35
    cmpne   byte [@params], 0, @f
-
 
36
    mov     eax, sz_std
Line 54... Line 37...
54
    cmpne   [@params], byte 0, @f
37
  @@:
55
    mov     eax, sz_std
-
 
56
  @@:
38
    mov     [params.source], eax
57
 
39
 
Line 58... Line -...
58
  ;; TEXT
-
 
59
 
-
 
60
 parse:
-
 
61
    call    parse_text
40
;; PARSE ARGUMENTS
62
 
-
 
63
 ;; PARAMS
41
    mov     esi, 0
64
 
42
    call    parse_text
65
  .params:
43
    call    parse_flags
66
    mov     dl, [eax]
44
    movzx   ebx, [params.icon]
67
 
45
 
-
 
46
;; GET PID
68
    cmpe    dl, 0, .params.end
47
    mcall   9, buffer, -1
69
    cmpe    dl, "d", .set_atcl
48
    mov     eax, dword [buffer + 30]
70
    cmpe    dl, "t", .set_title
-
 
71
    cmpe    dl, "c", .set_ctrl
-
 
72
 
-
 
73
    mov     ebx, 1
-
 
74
    mov     ecx, sz_icons
-
 
75
  @@:
-
 
76
    cmpe    dl, [ecx], .set_icon
-
 
77
    inc     ebx
-
 
78
    inc     ecx
-
 
79
    cmpne   [ecx], byte 0, @b
-
 
Line 80... Line -...
80
 
-
 
81
    jmp     .next_char
49
 
-
 
50
;; CONVERT PID TO STR
82
 
51
    mov     ebx, 10
83
  .set_atcl:
-
 
84
    mov     [params.atcl], byte 1
52
    mov     ecx, 0
85
    jmp     .next_char
53
  @@:
86
 
-
 
87
  .set_title:
-
 
88
    mov     [params.title], byte 1
54
    mov     edx, 0
89
    jmp     .next_char
55
    div     ebx
90
 
-
 
91
  .set_ctrl:
-
 
Line 92... Line 56...
92
    mov     [params.ctrl], byte 1
56
    push    edx
-
 
57
    inc     ecx
Line 93... Line 58...
93
    jmp     .next_char
58
    cmpne   eax, 0, @b
94
 
59
 
Line 95... Line 60...
95
  .set_icon:
60
    mov     ebx, ctrl.name
96
    mov     [params.icon], ebx
-
 
97
 
-
 
98
  .next_char:
61
  @@:
99
    inc     eax
-
 
100
    jmp     .params
62
    pop     eax
101
 
63
    add     al, "0"
-
 
64
    mov     [ebx], al
-
 
65
    inc     ebx
102
  .params.end:
66
    loop    @b
103
 
67
 
Line -... Line 68...
-
 
68
    mov     dword [ebx + 0], "-NOT"
104
 ;----------------------------
69
    mov     dword [ebx + 4], "IFY"
105
 
70
 
106
    mcall   68, 11
-
 
107
    stdcall dll.Load, @imports
71
;; LOAD LIBRARIES
108
 
72
    stdcall dll.Load, @imports
Line -... Line 73...
-
 
73
 
109
    mov     dword [fi + 00], 5
74
;; GET SIZE OF ICONS
110
    mov     dword [fi + 16], buffer
75
    mcall   70, fi
111
    mov     dword [fi + 21], sz_ifile
-
 
112
    mcall   70, fi
-
 
113
 
-
 
114
    mov     edx, dword [buffer + 32]
-
 
115
    shl     edx, 2
-
 
116
    stdcall mem.Alloc, edx
-
 
117
    mov     [img_data.rgb_obj], eax
-
 
118
 
-
 
119
    mov     dword [fi + 00], 0
-
 
120
    mov     dword [fi + 12], edx
-
 
121
    m2m     dword [fi + 16], [img_data.rgb_obj]
-
 
122
    mov     dword [fi + 21], sz_ifile
-
 
123
    mcall   70, fi
-
 
124
 
-
 
125
    stdcall dword [img.decode], dword [img_data.rgb_obj], ebx, 0
-
 
126
    mov     dword [img_data.obj], eax
-
 
127
 
-
 
128
 ;; alpha
-
 
129
    add     eax, 24
76
    mov     edx, dword [buffer + 32]
130
    mov     eax, [eax] ;; eax - data [argb]
77
    shl     edx, 2
Line 131... Line -...
131
 
-
 
Line 132... Line -...
132
    mov     ecx, 24 * 24 * ICONS
-
 
Line -... Line 78...
-
 
78
 
133
 alpha:
79
;; ALLOCATE MEMORY FOR THIS
134
    mov     ebx, [eax]
80
    stdcall mem.Alloc, edx
135
    shr     ebx, 24
81
    mov     [img_data.rgb_obj], eax
136
    cmpne   bl, 0x00, @f
82
 
Line -... Line 83...
-
 
83
;; READ ICONS
-
 
84
    mov     dword [fi + 00], 0
-
 
85
    mov     dword [fi + 12], edx
-
 
86
    mov     dword [fi + 16], eax
-
 
87
    mcall   70, fi
-
 
88
 
-
 
89
;; DECODE ICONS
137
    mov     [eax], dword 0x222222
90
    stdcall dword [img.decode], dword [img_data.rgb_obj], ebx, 0
-
 
91
    mov     dword [img_data.obj], eax
138
 
92
    stdcall dword [img.to_rgb], dword [img_data.obj], dword [img_data.rgb_obj]
139
  @@:
93
    stdcall dword [img.destroy], dword [img_data.obj]
140
    add     eax, 4
-
 
141
    loop    alpha
94
 
142
 
-
 
143
 ;; end alpha
-
 
144
 
95
 
Line 145... Line 96...
145
    stdcall dword [img.to_rgb], dword [img_data.obj], dword [img_data.rgb_obj]
96
 
146
    stdcall dword [img.destroy], dword [img_data.obj]
97
;; CALC HEIGHT
147
 
98
    mov     eax, [text.lines]
148
 ;----------------------------
99
    add     eax, 2
149
 
100
    imul    eax, LINEH
150
    mov     [text.offset], LINEH
101
    mov     [window.height], eax
151
 
102
 
152
    mov     eax, [text.lines]
103
;; CALC OFFSET OF TEXT
153
    add     eax, 2
104
    mov     dword [text.offset], MARGIN
Line 154... Line 105...
154
    imul    eax, LINEH
105
    cmpe    byte [params.icon], 0, @f
155
    mov     [window.height], eax
-
 
156
 
106
    add     dword [text.offset], MARGIN + 24
157
    mov     eax, [text.max_len]
107
  @@:
158
    imul    eax, 6
108
 
Line 159... Line 109...
159
    add     eax, LINEH * 2
109
;; CALC WIDTH
160
    cmpe    [params.icon], dword 0, @f
110
    mov     eax, [text.max_len]
Line 239... Line 189...
239
    inc     eax
189
    inc     eax
240
    loop    @b
190
    loop    @b
Line 241... Line 191...
241
 
191
 
Line -... Line 192...
-
 
192
 ;----------------------------
-
 
193
 
-
 
194
;; SET EVENT MASK
-
 
195
    mcall   40, 101b
242
 ;----------------------------
196
 
243
 
197
;; INIT TIMER
244
    mov     eax, 60
198
    mov     eax, 60
245
    imul    eax, [text.lines]
-
 
246
    mov     [timer], eax
199
    imul    eax, [text.lines]
247
 
200
    mov     [timer], eax
248
    mov     [timer.step], dword 1
201
    mov     dword [timer.step], 1
249
    cmpne   [params.atcl], byte 1, @f
202
    cmpne   byte [params.atcl], 1, @f
Line 250... Line 203...
250
    mov     [timer.step], dword 0
203
    mov     dword [timer.step], 0
251
  @@:
-
 
252
 
204
  @@:
Line -... Line 205...
-
 
205
 
253
 ;----------------------------
206
;; INIT WINDOW
254
 
207
    call    init_window
255
    call    init_window
208
 
Line 256... Line 209...
256
 
209
;; RESTORE FOCUS
Line 263... Line 216...
263
 ;----------------------------
216
 ;----------------------------
Line 264... Line 217...
264
 
217
 
265
 update:
218
 update:
266
    mcall   23, 10
219
    mcall   23, 10
267
    cmpe    al, EV_REDRAW, redraw
220
    cmpe    al, EV_REDRAW, redraw
-
 
221
    cmpe    al, EV_BUTTON, button
-
 
222
 
-
 
223
    mov     edi, update
-
 
224
 
-
 
225
;; TRY OPEN CONTROLLER
-
 
226
    cmpe    byte [params.ctrl], 1, .fail_controller_open
-
 
227
    mcall   68, 22, ctrl.name, , 0x01
-
 
228
    cmpe    eax, 0, .fail_controller_open
-
 
229
    mov     byte [params.ctrl], 1
-
 
230
    mov     [ctrl.addr], eax
-
 
231
 
-
 
232
;; COPY TEXT TO CTRL
-
 
233
    add     eax, NTCTRL_TEXT
-
 
234
    mov     ebx, text.buffer
-
 
235
    mov     ecx, [text.lines]
-
 
236
 .copy_start:
-
 
237
    cmpe     ecx, 0, .copy_end
-
 
238
    mov      dl, [ebx]
-
 
239
    cmpne    dl, 0, @f
-
 
240
    mov      dl, "|"
-
 
241
    dec      ecx
-
 
242
  @@:
-
 
243
    mov      [eax], dl
-
 
244
    inc      eax
-
 
245
    inc      ebx
-
 
246
    jmp      .copy_start
-
 
247
 .copy_end:
-
 
248
    mov      byte [eax - 1], 0
-
 
249
 
-
 
250
;; COPY FLAGS TO CTRL
-
 
251
    mov      eax, [ctrl.addr]
-
 
252
    add      eax, NTCTRL_ICON
-
 
253
    mov      dl, [params.icon]
-
 
254
    mov      [eax], dl
-
 
255
 
-
 
256
    mov      eax, [ctrl.addr]
-
 
257
    add      eax, NTCTRL_TITLE
-
 
258
    mov      dl,  [params.title]
-
 
259
    mov      [eax], dl
-
 
260
 
-
 
261
;; SET CONTROLLER READY
-
 
262
    mov     eax, [ctrl.addr]
-
 
263
    add     eax, NTCTRL_READY
-
 
264
    mov     byte [eax], 1
-
 
265
 .fail_controller_open:
-
 
266
 
-
 
267
 
-
 
268
    cmpe    [params.ctrl], 0, .no_ctrl
-
 
269
;; TEST TEXT
-
 
270
    mov     eax, [ctrl.addr]
-
 
271
    add     eax, NTCTRL_APPLY_TEXT
-
 
272
    cmpne   byte [eax], 1, @f
-
 
273
    mov     byte [eax], 0
-
 
274
    mov     eax, [ctrl.addr]
-
 
275
    add     eax, NTCTRL_TEXT
-
 
276
    mov     esi, 1
-
 
277
    call    parse_text
-
 
278
    mov     edi, redraw
-
 
279
  @@:
-
 
280
 
-
 
281
;; TEST ICON
-
 
282
    mov     eax, [ctrl.addr]
-
 
283
    add     eax, NTCTRL_APPLY_ICON
-
 
284
    cmpne   byte [eax], 1, @f
-
 
285
    mov     eax, [ctrl.addr]
-
 
286
    add     eax, NTCTRL_ICON
-
 
287
    mov     dl, [eax]
-
 
288
    mov     [params.icon], dl
-
 
289
  @@:
-
 
290
 
-
 
291
;; TEST TITLE
-
 
292
    mov     eax, [ctrl.addr]
-
 
293
    add     eax, NTCTRL_APPLY_TITLE
-
 
294
    cmpne   byte [eax], 1, @f
-
 
295
    mov     eax, [ctrl.addr]
-
 
296
    add     eax, NTCTRL_TITLE
-
 
297
    mov     dl, [eax]
-
 
298
    mov     [params.title], dl
-
 
299
  @@:
-
 
300
 
-
 
301
;; TEST CLOSE
-
 
302
    mov     eax, [ctrl.addr]
268
    cmpe    al, EV_KEY, key
303
    add     eax, NTCTRL_CLOSE
-
 
304
    cmpe    byte [eax], 1, exit
-
 
305
 
Line 269... Line 306...
269
    cmpe    al, EV_BUTTON, exit
306
 .no_ctrl:
270
 
307
 
271
    mov     eax, [timer.step]
308
    mov     eax, [timer.step]
-
 
309
    sub     [timer], eax
Line 272... Line 310...
272
    sub     [timer], eax
310
    cmpe    [timer], dword 0, exit
Line 273... Line 311...
273
    cmpne   [timer], dword 0, update
311
    jmp     edi
274
 
312
 
Line 287... Line 325...
287
 
325
 
Line 288... Line 326...
288
    mcall   -1
326
    mcall   -1
Line 289... Line 327...
289
 
327
 
290
 ;----------------------------
328
 ;----------------------------
291
 
329
 
292
 key:
330
 button:
Line 293... Line 331...
293
    mcall   2
331
    mcall   17
Line 294... Line 332...
294
    cmpne   ah, 27, update
332
    cmpe    byte [params.clcl], 0, exit
295
    jmp     exit
333
    jmp     update
Line 305... Line 343...
305
 ;----------------------------
343
 ;----------------------------
Line 306... Line 344...
306
 
344
 
307
 draw_window:
345
 draw_window:
Line 308... Line 346...
308
    call    init_window
346
    call    init_window
309
 
347
 
310
    and     ebx, 0xFFFF
348
    movzx   ebx, bx
311
    and     ecx, 0xFFFF
349
    movzx   ecx, cx
312
    inc     ebx
350
    inc     ebx
Line 313... Line 351...
313
    inc     ecx
351
    inc     ecx
Line 413... Line 451...
413
    pop     edx
451
    pop     edx
414
    mcall   , 0
452
    mcall   , 0
Line 415... Line 453...
415
 
453
 
Line 416... Line 454...
416
 ;-----
454
 ;-----
417
 
-
 
418
    cmpe    [params.icon], dword 0, @f
455
 
419
 
456
    cmpe    byte [params.icon], 0, @f
420
    mov     ebx, [params.icon]
457
    movzx   ebx, byte [params.icon]
421
    dec     ebx
458
    dec     ebx
Line 422... Line 459...
422
    imul    ebx, 24 * 24 * 3
459
    imul    ebx, 24 * 24 * 3
423
    add     ebx, [img_data.rgb_obj]
460
    add     ebx, [img_data.rgb_obj]
424
 
461
 
425
    mov     edx, [window.height]
462
    mov     edx, [window.height]
Line 426... Line 463...
426
    shr     edx, 1
463
    shr     edx, 1
427
    sub     edx, 12
-
 
428
    add     edx, LINEH shl 16
464
    sub     edx, 12
Line 429... Line 465...
429
 
465
    add     edx, LINEH shl 16
Line 430... Line 466...
430
    mcall   7, , <24, 24>
466
 
Line 474... Line 510...
474
    inc     edx
510
    inc     edx
475
    jmp     .draw_lines
511
    jmp     .draw_lines
Line 476... Line 512...
476
 
512
 
Line 477... Line 513...
477
  .draw_lines.end:
513
 .draw_lines.end:
478
 
514
 
479
    cmpne   [params.title], byte 1, @f
515
    cmpne   byte [params.title], 1, @f
480
    mov     edx, text.buffer
516
    mov     edx, text.buffer
481
    mov     ecx, 0x80111111
517
    mov     ecx, 0x80111111
482
    and     ebx, 0xFFFF0000
518
    and     ebx, 0xFFFF0000
Line 509... Line 545...
509
    mov     ebx, text.buffer
545
    mov     ebx, text.buffer
510
    mov     ecx, 0
546
    mov     ecx, 0
511
    mov     dl, 0
547
    mov     dl, 0
512
    mov     dh, 0
548
    mov     dh, 0
Line -... Line 549...
-
 
549
 
513
 
550
    cmpe    esi, 1, .parse_loop
514
    cmpne   byte [eax], "'", @f
551
    cmpne   byte [eax], "'", @f
515
    mov     dl, "'"
552
    mov     dl, "'"
516
    mov     dh, 1
553
    mov     dh, 1
517
  @@:
554
  @@:
Line 524... Line 561...
524
  @@:
561
  @@:
Line 525... Line 562...
525
 
562
 
526
  .parse_loop:
563
 .parse_loop:
527
    cmpe    byte [eax],  0, .parse_loop.end
564
    cmpe    byte [eax],  0, .parse_loop.end
528
    cmpe    byte [eax], dl, .parse_loop.end
-
 
Line 529... Line 565...
529
    mov     dh, [eax]
565
    cmpe    byte [eax], dl, .parse_loop.end
-
 
566
 
-
 
567
    cmpe    byte [eax], 10, .newline
-
 
568
    cmpe    esi, 1, .next_set_char
-
 
569
    cmpne   byte [eax], "\", @f
-
 
570
    cmpe    byte [eax + 1], dl, .quote
Line -... Line 571...
-
 
571
    cmpe    byte [eax + 1], "n", .newline_esc
530
 
572
    jmp     @f
531
    cmpe    byte [eax], 10, .newline
573
 
-
 
574
 .quote:
-
 
575
    inc     eax
532
 
576
    jmp     .next_set_char
Line 533... Line 577...
533
    cmpne   byte [eax + 0], "\", @f
577
 
534
    cmpne   byte [eax + 1], "n", @f
578
 .newline_esc:
535
    inc     eax
579
    inc     eax
Line 542... Line 586...
542
    mov     ecx, 0
586
    mov     ecx, 0
543
    inc     dword [text.lines]
587
    inc     dword [text.lines]
544
    jmp     .next
588
    jmp     .next
545
  @@:
589
  @@:
Line -... Line 590...
-
 
590
 
-
 
591
 .next_set_char:
546
 
592
    mov     dh, [eax]
Line 547... Line 593...
547
    mov     [ebx], dh
593
    mov     [ebx], dh
548
 
594
 
549
  .next:
595
 .next:
Line 565... Line 611...
565
 
611
 
Line 566... Line 612...
566
    ret
612
    ret
Line -... Line 613...
-
 
613
 
-
 
614
 ;----------------------------
-
 
615
 
-
 
616
 parse_flags:
-
 
617
    mov     byte [params.atcl], 0
-
 
618
    mov     byte [params.title], 0
-
 
619
    mov     byte [params.icon], 0
-
 
620
 
-
 
621
 .loop:
-
 
622
    mov     dl, [eax]
-
 
623
 
-
 
624
    cmpe    dl, 0, .exit
-
 
625
    cmpe    dl, "d", .set_atcl
-
 
626
    cmpe    dl, "c", .set_clcl
-
 
627
    cmpe    dl, "t", .set_title
-
 
628
 
-
 
629
    mov     bl, 1
-
 
630
    mov     ecx, sz_icons
-
 
631
  @@:
-
 
632
    cmpe    dl, [ecx], .set_icon
-
 
633
    inc     bl
-
 
634
    inc     ecx
-
 
635
    cmpne   [ecx], byte 0, @b
-
 
636
    jmp     .next_char
-
 
637
 
-
 
638
 .set_atcl:
-
 
639
    mov     byte [params.atcl], 1
-
 
640
    jmp     .next_char
-
 
641
 
-
 
642
 .set_clcl:
-
 
643
    mov     byte [params.clcl], 1
-
 
644
    jmp     .next_char
-
 
645
 
-
 
646
 .set_title:
-
 
647
    mov     byte [params.title], 1
-
 
648
    jmp     .next_char
-
 
649
 
-
 
650
 .set_icon:
-
 
651
    mov     [params.icon], bl
-
 
652
 
-
 
653
 .next_char:
-
 
654
    inc     eax
-
 
655
    jmp     .loop
-
 
656
 
-
 
657
 .exit:
-
 
658
    ret
567
 
659
 
568
 ;----------------------------
660
 ;----------------------------
569
 
-
 
570
 @imports:
661
 
571
    library img, "libimg.obj"
662
 @imports:
572
    import  img, img.init,    "lib_init",     \
663
    library img, "libimg.obj"
Line 573... Line 664...
573
		 img.to_rgb,  "img_to_rgb2",  \
664
    import  img, img.to_rgb,  "img_to_rgb2", \
Line 574... Line 665...
574
		 img.decode,  "img_decode",   \
665
		 img.decode,  "img_decode",  \
575
		 img.destroy, "img_destroy"
666
		 img.destroy, "img_destroy"
576
 
667
 
577
 ;----------------------------
668
 ;----------------------------
578
 
669
 
-
 
670
 sz_icons   db "AEWONIFCMDS", 0
579
 sz_icons   db "AEWONIFCMDS", 0
671
 sz_ifile   db "/sys/notify3.png", 0
580
 sz_ifile   db "/sys/notify3.png", 0
672
 sz_shname  db "notify-mem-v01", 0
581
 sz_shname  db "notify-mem-v01", 0
673
 sz_std     db "'NOTIFY 3\n",                 \
582
 sz_std     db "'NOTIFY 3\n",                \
674
	       "d - disable auto-closing\n",  \
583
	       "d - disable auto-closing\n", \
675
	       "c - disable click-closing\n", \
Line 595... Line 687...
595
	       "M - mail\n",		     \
687
	       "M - mail\n",		      \
596
	       "D - download\n",	     \
688
	       "D - download\n",	      \
597
	       "S - audio player",	     \
689
	       "S - audio player",	      \
598
	       "' -td", 0
690
	       "' -td", 0
Line -... Line 691...
-
 
691
 
-
 
692
 fi:
-
 
693
	    dd 5
-
 
694
	    dd 0, 0, 0
-
 
695
	    dd buffer
-
 
696
	    db 0
-
 
697
	    dd sz_ifile
599
 
698
 
Line 600... Line 699...
600
 ;----------------------------
699
 ;----------------------------
Line 601... Line 700...
601
 
700
 
Line 618... Line 717...
618
  .lines    rd 1
717
 .lines    rd 1
619
  .max_len  rd 1
718
 .max_len  rd 1
620
  .offset   rd 1
719
 .offset   rd 1
Line 621... Line 720...
621
 
720
 
-
 
721
 params:
622
 params:
722
 .source   rd 1
-
 
723
 .atcl	   rb 1
623
  .atcl     rb 1
724
 .clcl	   rb 1
624
  .title    rb 1
725
 .title    rb 1
625
  .icon     rd 1
726
 .icon	   rb 1
Line 626... Line 727...
626
  .ctrl     rb 1
727
 .ctrl	   rb 1
627
 
728
 
628
 img_data:
729
 img_data:
Line 635... Line 736...
635
 
736
 
636
 shm:
737
 shm:
637
  .addr     rd 1
738
 .addr	   rd 1
Line -... Line 739...
-
 
739
 .our	   rd 1
638
  .our	    rd 1
740
 
-
 
741
 ctrl:
-
 
742
 .name	   rb 31
639
 
743
 .addr	   rd 1
640
 fi	    rb 26
744
 
641
 buffer     rb 1024
745
 buffer     rb 1024
Line 642... Line 746...
642
 first_draw rb 1
746
 first_draw rb 1