Subversion Repositories Kolibri OS

Rev

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

Rev 2914 Rev 3251
Line 91... Line 91...
91
;
91
;
92
;-----------------------------------------------------------------
92
;-----------------------------------------------------------------
93
align 4
93
align 4
94
LOOP_output:
94
LOOP_output:
Line 95... Line 95...
95
 
95
 
Line 96... Line 96...
96
        DEBUGF  1,"LOOP_output: "
96
        DEBUGF  1,"LOOP_output\n"
97
 
97
 
Line 98... Line 98...
98
        push    ecx
98
        push    ecx
Line 112... Line 112...
112
        pop     ecx
112
        pop     ecx
113
        lea     edx, [ecx + 2]  ; Set edx to complete buffer size
113
        lea     edx, [ecx + 2]  ; Set edx to complete buffer size
114
        mov     ebx, LOOPBACK_DEVICE
114
        mov     ebx, LOOPBACK_DEVICE
Line 115... Line 115...
115
 
115
 
116
  .done:
116
  .done:
117
        DEBUGF  1,"ptr=%x size=%u\n", eax, edx
117
        DEBUGF  2,"LOOP_output: ptr=%x size=%u\n", eax, edx
Line 118... Line 118...
118
        ret
118
        ret
119
 
119
 
120
  .out_of_ram:
120
  .out_of_ram:
121
        DEBUGF  2,"error\n"
121
        DEBUGF  2,"LOOP_output: failed\n"
122
        add     esp, 2+4
122
        add     esp, 2+4