Subversion Repositories Kolibri OS

Rev

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

Rev 6261 Rev 6311
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
 
74
$Revision: 6261 $
74
$Revision: 6311 $
Line 1098... Line 1098...
1098
        mov     eax, 0xDEADBEEF      ; otherwise halt
1098
        mov     eax, 0xDEADBEEF      ; otherwise halt
1099
        hlt
1099
        hlt
Line 1100... Line 1100...
1100
 
1100
 
Line 1101... Line -...
1101
first_app_found:
-
 
1102
 
-
 
1103
        mov     ecx, bios_fb
-
 
1104
        call    set_framebuffer
1101
first_app_found:
Line 1105... Line 1102...
1105
 
1102
 
1106
; START MULTITASKING
1103
; START MULTITASKING
1107
 
1104
 
Line 1630... Line 1627...
1630
        shl     eax, 16
1627
        shl     eax, 16
1631
        add     eax, [ecx-twdw+WDATA.box.top]
1628
        add     eax, [ecx-twdw+WDATA.box.top]
1632
        add     eax, [edi+SLOT_BASE+APPDATA.wnd_clientbox.top]
1629
        add     eax, [edi+SLOT_BASE+APPDATA.wnd_clientbox.top]
1633
        add     ebx, eax
1630
        add     ebx, eax
1634
        mov     ecx, [esp+64+32-12+4]
1631
        mov     ecx, [esp+64+32-12+4]
1635
        and     ecx, not 0x80000000     ; force counted string
-
 
1636
        mov     eax, [esp+64+8]         ; background color (if given)
1632
        mov     eax, [esp+64+8]         ; background color (if given)
1637
        mov     edi, [esp+64+4]
1633
        mov     edi, [esp+64+4]
-
 
1634
        and     ecx, 5FFFFFFFh
-
 
1635
        bt      ecx, 27
-
 
1636
        jnc     @f
-
 
1637
        mov     edi, eax
-
 
1638
@@:
1638
        jmp     dtext
1639
        jmp     dtext
1639
;-----------------------------------------------------------------------------
1640
;-----------------------------------------------------------------------------
1640
iglobal
1641
iglobal
1641
midi_base dw 0
1642
midi_base dw 0
1642
endg
1643
endg