Subversion Repositories Kolibri OS

Rev

Rev 9981 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9981 Rev 9992
Line 221... Line 221...
221
 
221
 
222
        mov     al, ' '
222
        mov     al, ' '
Line 223... Line 223...
223
        call    print_char
223
        call    print_char
224
 
-
 
225
        pop     esi
224
 
226
        push    esi
-
 
227
        call    print_asciiz
-
 
Line 228... Line 225...
228
        pop     esi
225
        pop     esi
229
 
226
        call    print_asciiz
Line 230... Line 227...
230
 
227
 
Line 528... Line 525...
528
        mov     ax, ' :'
525
        mov     ax, ' :'
529
        stosw
526
        stosw
530
        mov     al, 0x01
527
        mov     al, 0x01
531
        stosb
528
        stosb
Line 532... Line 529...
532
 
529
 
Line 533... Line 530...
533
        push edi esi
530
        push    esi
534
 
531
 
535
; copy the message itself
532
; copy the message itself
536
  @@:
533
  @@:
Line 548... Line 545...
548
; end of message
545
; end of message
549
        mov     al, 0x01
546
        mov     al, 0x01
550
        stosb
547
        stosb
551
        mov     ax, 0x0a0d
548
        mov     ax, 0x0a0d
552
        stosw
549
        stosw
553
        mov     byte[edi], 0
-
 
Line 554... Line 550...
554
 
550
 
555
; now print to the window
551
; now print to the window
556
        if TIMESTAMP
552
        if TIMESTAMP
557
        call    print_timestamp
553
        call    print_timestamp
Line 558... Line 554...
558
        end if
554
        end if
559
 
555
 
Line 560... Line 556...
560
        mov     esi, ctcp_header
556
        mov     esi, ctcp_header
561
        call    print_asciiz
557
        call    print_asciiz
562
 
558
 
Line 563... Line 559...
563
        mov     esi, packetbuf+8
559
        mov     esi, user_command+6
564
        mov     bl, ' '
560
        mov     bl, ' '
Line 570... Line 566...
570
        mov     al, ' '
566
        mov     al, ' '
571
        call    print_char
567
        call    print_char
Line 572... Line 568...
572
 
568
 
573
        pop     esi
569
        pop     esi
574
        call    print_asciiz
-
 
Line -... Line 570...
-
 
570
        call    print_asciiz
-
 
571
 
Line 575... Line 572...
575
        pop     esi
572
        mov     al, 10
576
 
573
        call    print_char
577
 
574
 
578
; now send it away
-
 
579
        lea     esi, [edi - packetbuf]                  ; calculate length
575
; now send it away
Line 580... Line 576...
580
        mcall   send, [socketnum], packetbuf, , 0       ; and finally send to server
576
        lea     esi, [edi - packetbuf]                  ; calculate length