Subversion Repositories Kolibri OS

Rev

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

Rev 6592 Rev 7425
Line 182... Line 182...
182
;------------------------------------------------------------------------------
182
;------------------------------------------------------------------------------
183
key:
183
key:
184
        mcall   2
184
        mcall   2
185
        cmp     ah, ' '
185
        cmp     ah, ' '
186
        je      button.noclose
186
        je      button.noclose
-
 
187
        cmp     ah, 51 ; F2
-
 
188
        je      open_boardlog
187
        jmp     still
189
        jmp     still
-
 
190
open_boardlog:
-
 
191
		mcall 70, open_log_in_tinypad
-
 
192
        jmp     red
-
 
193
		
188
;------------------------------------------------------------------------------
194
;------------------------------------------------------------------------------
189
button:
195
button:
190
        mcall   17                        ; get id
196
        mcall   17                        ; get id
191
        cmp     ah, 1                     ; button id=1 ?
197
        cmp     ah, 1                     ; button id=1 ?
192
        jne     .noclose
198
        jne     .noclose
Line 441... Line 447...
441
        dd      ?       ; number of bytes to read
447
        dd      ?       ; number of bytes to read
442
        dd      ?       ; pointer to the buffer to write data
448
        dd      ?       ; pointer to the buffer to write data
443
        db      ?
449
        db      ?
444
        dd      ?       ; pointer to the filename
450
        dd      ?       ; pointer to the filename
Line -... Line 451...
-
 
451
 
-
 
452
open_log_in_tinypad:
-
 
453
        dd      7
-
 
454
        dd      0
-
 
455
        dd      filename
-
 
456
        dd      0
-
 
457
        dd      0
-
 
458
        db      '/sys/tinypad',0
445
 
459
 
446
buffer_length   rb  3
460
buffer_length   rb  3
447
process_count   dd  ?
461
process_count   dd  ?
448
krnl_cnt        dd  ?
462
krnl_cnt        dd  ?
449
pid_tid         dd  ?
463
pid_tid         dd  ?