Subversion Repositories Kolibri OS

Rev

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

Rev 2465 Rev 3626
Line 2... Line 2...
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 6... Line 6...
6
 
6
 
Line 7... Line 7...
7
$Revision: 2465 $
7
$Revision: 3626 $
Line 8... Line 8...
8
 
8
 
9
_esp equ esp
9
_esp equ esp
Line 239... Line 239...
239
;-----------------------------------------------------------------------------
239
;-----------------------------------------------------------------------------
Line 240... Line 240...
240
 
240
 
241
debug_func fdo_debug_outchar
241
debug_func fdo_debug_outchar
242
debug_beginf
242
debug_beginf
243
        pushad
243
        pushad
244
        movzx   ebx, al
244
        movzx   ecx, al
245
        mov     eax, 1
-
 
246
        mov     ecx, sys_msg_board
245
        mov     ebx, 1
247
        call    ecx ; sys_msg_board
246
        call    sys_msg_board
248
        popad
247
        popad
249
        ret
248
        ret
Line 250... Line 249...
250
debug_endf
249
debug_endf
251
 
250
 
252
debug_func fdo_debug_outstr
251
debug_func fdo_debug_outstr
253
debug_beginf
252
debug_beginf
254
        mov     eax, 1
253
        mov     ebx, 1
255
  .l1:
254
  .l1:
256
        dec     esi
255
        dec     esi
257
        js      .l2
256
        js      .l2
258
        movzx   ebx, byte[edx]
257
        movzx   ecx, byte[edx]
259
        or      bl, bl
-
 
260
        jz      .l2
258
        or      cl, cl
261
        mov     ecx, sys_msg_board
259
        jz      .l2
262
        call    ecx ; sys_msg_board
260
        call    sys_msg_board
263
        inc     edx
261
        inc     edx
264
        jmp     .l1
262
        jmp     .l1
265
  .l2:
263
  .l2:
Line 276... Line 274...
276
        push    eax
274
        push    eax
277
        mov     al, '-'
275
        mov     al, '-'
278
        call    fdo_debug_outchar
276
        call    fdo_debug_outchar
279
        pop     eax
277
        pop     eax
280
    @@:
278
    @@:
281
        push    10
-
 
282
        pop     ecx
279
        movi    ecx, 10
283
        push    -'0'
280
        push    -'0'
284
  .l1:
281
  .l1:
285
        xor     edx, edx
282
        xor     edx, edx
286
        div     ecx
283
        div     ecx
287
        push    edx
284
        push    edx