Subversion Repositories Kolibri OS

Rev

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

Rev 3504 Rev 3507
Line 69... Line 69...
69
format binary as "mnt"
69
format binary as "mnt"
Line 70... Line 70...
70
 
70
 
71
include 'macros.inc'
71
include 'macros.inc'
Line 72... Line 72...
72
include 'struct.inc'
72
include 'struct.inc'
Line 73... Line 73...
73
 
73
 
Line 74... Line 74...
74
$Revision: 3504 $
74
$Revision: 3507 $
75
 
75
 
-
 
76
 
-
 
77
USE_COM_IRQ     equ 1      ; make irq 3 and irq 4 available for PCI devices
Line 76... Line 78...
76
 
78
 
77
USE_COM_IRQ     equ 1      ; make irq 3 and irq 4 available for PCI devices
79
; Enabling the next line will enable serial output console
78
 
80
;debug_com_base  equ 0x3f8  ; 0x3f8 is com1, 0x2f8 is com2, 0x3e8 is com3, 0x2e8 is com4, no irq's are used
Line 4667... Line 4669...
4667
        pop     ax dx
4669
        pop     ax dx
Line 4668... Line 4670...
4668
 
4670
 
Line 4669... Line 4671...
4669
end if
4671
end if
-
 
4672
 
-
 
4673
        mov     [msg_board_data+ecx], bl
-
 
4674
if debug_direct_print
-
 
4675
        pusha
-
 
4676
iglobal
-
 
4677
msg_board_pos   dd      234*65536+10
-
 
4678
endg
-
 
4679
        lea     edx, [msg_board_data+ecx]
-
 
4680
        mov     ecx, 0x40FFFFFF
-
 
4681
        mov     ebx, [msg_board_pos]
-
 
4682
        mov     edi, 1
-
 
4683
        mov     esi, 1
-
 
4684
        call    dtext
-
 
4685
        popa
-
 
4686
        add     word [msg_board_pos+2], 6
-
 
4687
        cmp     bl, 10
-
 
4688
        jnz     @f
-
 
4689
        mov     word [msg_board_pos+2], 234
-
 
4690
        add     word [msg_board_pos], 10
-
 
4691
        mov     ax, [Screen_Max_Y]
-
 
4692
        cmp     word [msg_board_pos], ax
-
 
4693
        jbe     @f
-
 
4694
        mov     word [msg_board_pos], 10
4670
 
4695
@@:
4671
        mov     [msg_board_data+ecx], bl
4696
end if
4672
        inc     ecx
4697
        inc     ecx
4673
        and     ecx, msg_board_data_size - 1
4698
        and     ecx, msg_board_data_size - 1
4674
        mov     [msg_board_count], ecx
4699
        mov     [msg_board_count], ecx