Rev 275 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 275 | Rev 304 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | jz kill_active_application |
52 | jz kill_active_application |
53 | cmp al, 71 |
53 | cmp al, 71 |
54 | jz page_list_next |
54 | jz page_list_next |
55 | cmp al, 72 |
55 | cmp al, 72 |
56 | jz page_list_prev |
56 | jz page_list_prev |
57 | ; this is hotkey Ctrl+Shift or LShift+RShift |
57 | ; this is hotkey Ctrl+Shift ;or LShift+RShift |
58 | mov ebx, setup_exec |
58 | mov ebx, setup_exec |
59 | test ah, 001100b |
59 | ; test ah, 001100b |
60 | jnz change_key_lang |
60 | ; jz change_sys_lang |
- | 61 | change_key_lang: |
|
61 | mov dword [ebx+8], syslang |
62 | mov dword [ebx+8], chlang |
62 | mcall 70 |
63 | mcall 70 |
63 | call syslang_music |
64 | call chlang_music |
64 | ; mcall 5, 25 |
65 | ; mcall 5, 25 |
65 | begin_1: |
66 | begin_1: |
66 | mov ecx,[active_process] |
67 | mov ecx,[active_process] |
67 | mcall 18, 3 |
68 | mcall 18, 3 |
68 | mcall 5, 25 |
69 | mcall 5, 25 |
69 | .ret: |
70 | .ret: |
70 | ret |
71 | ret |
Line 71... | Line 72... | ||
71 | 72 | ||
72 | change_key_lang: |
73 | ;change_sys_lang: |
73 | mov dword [ebx+8], chlang |
74 | ; mov dword [ebx+8], syslang |
74 | mcall 70 |
75 | ; mcall 70 |
75 | call chlang_music |
76 | ; call syslang_music |
76 | ; mcall 5, 25 |
77 | ;; mcall 5, 25 |
Line 77... | Line 78... | ||
77 | jmp begin_1 |
78 | ; jmp begin_1 |
78 | 79 | ||
79 | start_end_application: |
80 | start_end_application: |
80 | mov dword [ebx+21], end_name |
81 | mov dword [ebx+21], end_name |
Line 127... | Line 128... | ||
127 | mcall 55,eax, , ,sysmetermusic |
128 | mcall 55,eax, , ,sysmetermusic |
128 | ret |
129 | ret |
129 | button_music: |
130 | button_music: |
130 | mcall 55,eax, , ,buttonmusic |
131 | mcall 55,eax, , ,buttonmusic |
131 | ret |
132 | ret |
132 | syslang_music: |
133 | ;syslang_music: |
133 | mcall 55, eax, , , syslangmusic |
134 | ; mcall 55, eax, , , syslangmusic |
134 | ret |
135 | ; ret |
135 | chlang_music: |
136 | chlang_music: |
136 | mcall 55, eax, , , chlangmusic |
137 | mcall 55, eax, , , chlangmusic |
137 | ret |
138 | ret |
138 | menu_music: |
139 | menu_music: |
139 | mcall 55,eax, , ,menumusic |
140 | mcall 55,eax, , ,menumusic |
140 | ret |
141 | ret |
Line 141... | Line 142... | ||
141 | 142 | ||
Line 142... | Line 143... | ||
142 | chlangmusic: db 0x82,0x60,0x83,0x65,0x82,0x60,0 |
143 | chlangmusic: db 0x82,0x60,0x83,0x65,0x82,0x60,0 |
Line 143... | Line 144... | ||
143 | 144 | ||
Line 144... | Line 145... | ||
144 | syslangmusic: db 0x82,0x65,0x83,0x70,0x82,0x65,0 |
145 | ;syslangmusic: db 0x82,0x65,0x83,0x70,0x82,0x65,0 |
Line 313... | Line 314... | ||
313 | call chlang_music |
314 | call chlang_music |
314 | mcall 5, 25 |
315 | mcall 5, 25 |
315 | jmp still |
316 | jmp still |
Line 316... | Line 317... | ||
316 | 317 | ||
317 | noid16: |
318 | noid16: |
318 | cmp ah,17 |
319 | ; cmp ah,17 |
319 | jne noid17 |
320 | ; jne noid17 |
320 | mov ebx, setup_exec |
321 | ; mov ebx, setup_exec |
321 | mov dword [ebx+8], syslang |
322 | ; mov dword [ebx+8], syslang |
322 | mov eax, 70 |
323 | ; mov eax, 70 |
323 | int 0x40 |
324 | ; int 0x40 |
324 | call syslang_music |
325 | ; call syslang_music |
325 | mcall 5, 25 |
326 | ; mcall 5, 25 |
326 | jmp still |
327 | ; jmp still |
327 | 328 | ; |
|
328 | noid17: |
329 | ; noid17: |
329 | cmp ah,18 |
330 | cmp ah,18 |
330 | jne noid18 |
331 | jne noid18 |
331 | mov dword [ebx+21], sysmeter_name |
332 | mov dword [ebx+21], sysmeter_name |
332 | mov eax, 70 |
333 | mov eax, 70 |
Line 1468... | Line 1469... | ||
1468 | mov eax,4 |
1469 | mov eax,4 |
1469 | mov esi,1 |
1470 | mov esi,1 |
1470 | int 0x40 |
1471 | int 0x40 |
Line 1471... | Line 1472... | ||
1471 | 1472 | ||
1472 | 1473 | ||
1473 | mov eax,26 ; check for change in time or country |
1474 | ; mov eax,26 ; check for change in time or country |
1474 | mov ebx,5 |
1475 | ; mov ebx,5 |
1475 | int 0x40 |
1476 | ; int 0x40 |
1476 | mov edx,eax |
1477 | ; mov edx,eax |
1477 | mov eax,26 |
1478 | mov eax,26 |
1478 | mov ebx,2 |
1479 | mov ebx,2 |
1479 | mov ecx,9 |
1480 | mov ecx,9 |
- | 1481 | int 0x40 |
|
1480 | int 0x40 |
1482 | ; add edx,eax |
1481 | add edx,eax |
1483 | mov edx,eax |
1482 | mov eax,3 |
1484 | mov eax,3 |
1483 | int 0x40 |
1485 | int 0x40 |
1484 | and eax,0xffff |
1486 | and eax,0xffff |
Line 1520... | Line 1522... | ||
1520 | mov edx,16+0x20000000 ;button 16 |
1522 | mov edx,16+0x20000000 ;button 16 |
1521 | mov esi,[wcolor] |
1523 | mov esi,[wcolor] |
1522 | int 0x40 |
1524 | int 0x40 |
1523 | sub ebx,17 shl 16 |
1525 | sub ebx,17 shl 16 |
1524 | inc edx ;button 17 |
1526 | inc edx ;button 17 |
1525 | int 0x40 |
1527 | ; int 0x40 |
1526 | add ebx,33 shl 16 |
1528 | add ebx,33 shl 16 |
1527 | mov bx,8 |
1529 | mov bx,8 |
1528 | inc edx ;button 18 |
1530 | inc edx ;button 18 |
1529 | int 0x40 |
1531 | int 0x40 |
1530 | sub ebx,47 shl 16 |
1532 | sub ebx,30 shl 16 |
1531 | mov bx,10 |
1533 | mov bx,10 |
1532 | inc edx ;button 19 |
1534 | inc edx ;button 19 |
1533 | int 0x40 |
1535 | int 0x40 |
1534 | sub ebx,14 shl 16 |
1536 | sub ebx,14 shl 16 |
1535 | inc edx ;button 20 |
1537 | inc edx ;button 20 |
Line 1543... | Line 1545... | ||
1543 | inc edx ;button 22 |
1545 | inc edx ;button 22 |
1544 | int 0x40 |
1546 | int 0x40 |
Line 1545... | Line 1547... | ||
1545 | 1547 | ||
Line 1546... | Line 1548... | ||
1546 | ; flags |
1548 | ; flags |
1547 | 1549 | ||
1548 | mov eax,26 |
1550 | ; mov eax,26 |
1549 | mov ebx,5 |
1551 | ; mov ebx,5 |
1550 | int 0x40 |
1552 | ; int 0x40 |
1551 | mov ebx,eax |
1553 | ; mov ebx,eax |
1552 | 1554 | ; |
|
1553 | mov eax,1 |
1555 | ; mov eax,1 |
Line 1554... | Line 1556... | ||
1554 | mov [type_lang],al |
1556 | ; mov [type_lang],al |
1555 | call draw_flag |
1557 | ; call draw_flag |
1556 | 1558 | ||
1557 | mov eax,26 |
1559 | mov eax,26 |
Line 1566... | Line 1568... | ||
1566 | 1568 | ||
1567 | mcall 18,8,1 |
1569 | mcall 18,8,1 |
Line 1568... | Line 1570... | ||
1568 | mov [sound_flag],al |
1570 | mov [sound_flag],al |
1569 | 1571 | ||
1570 | mov ebx,[maxx] |
1572 | mov ebx,[maxx] |
1571 | sub ebx,109 ;112 ;28 |
1573 | sub ebx,92 ;109 ;112 ;28 |
1572 | shl ebx,16 |
1574 | shl ebx,16 |
1573 | mov bx,12 |
1575 | mov bx,12 |
1574 | mov ecx, 4*65536+13 |
1576 | mov ecx, 4*65536+13 |
Line 1621... | Line 1623... | ||
1621 | int 0x40 |
1623 | int 0x40 |
Line 1622... | Line 1624... | ||
1622 | 1624 | ||
Line 1623... | Line 1625... | ||
1623 | dalshe: |
1625 | dalshe: |
1624 | 1626 | ||
1625 | mov ebx,[maxx] |
1627 | mov ebx,[maxx] |
1626 | sub ebx,123 |
1628 | sub ebx,106;123 |
1627 | shl ebx,16 |
1629 | shl ebx,16 |
1628 | mov bx,12 |
1630 | mov bx,12 |
1629 | mov ecx, 4*65536+13 |
1631 | mov ecx, 4*65536+13 |
Line 1635... | Line 1637... | ||
1635 | mov ecx,5 shl 16+11 |
1637 | mov ecx,5 shl 16+11 |
1636 | mov edx,0xffcc00 |
1638 | mov edx,0xffcc00 |
1637 | int 0x40 |
1639 | int 0x40 |
1638 | mov eax,4 |
1640 | mov eax,4 |
1639 | mov ebx,[maxx] |
1641 | mov ebx,[maxx] |
1640 | sub ebx,121 |
1642 | sub ebx,104;121 |
1641 | shl ebx,16 |
1643 | shl ebx,16 |
1642 | mov bx,7 |
1644 | mov bx,7 |
1643 | mov ecx,0x10000000 |
1645 | mov ecx,0x10000000 |
1644 | mov edx,file_sys |
1646 | mov edx,file_sys |
1645 | mov esi,1 |
1647 | mov esi,1 |
Line 1648... | Line 1650... | ||
1648 | int 0x40 |
1650 | int 0x40 |
Line 1649... | Line 1651... | ||
1649 | 1651 | ||
1650 | mov edx,0 |
1652 | mov edx,0 |
1651 | mov eax,13 |
1653 | mov eax,13 |
1652 | mov ebx,[maxx] |
1654 | mov ebx,[maxx] |
1653 | sub ebx,134 |
1655 | sub ebx,117;134 |
1654 | shl ebx,16 |
1656 | shl ebx,16 |
1655 | mov bx,9 |
1657 | mov bx,9 |
1656 | mov ecx,6 shl 16+11 |
1658 | mov ecx,6 shl 16+11 |
1657 | int 0x40 |
1659 | int 0x40 |
Line 1666... | Line 1668... | ||
1666 | int 0x40 |
1668 | int 0x40 |
Line 1667... | Line 1669... | ||
1667 | 1669 | ||
1668 | mov eax,4 |
1670 | mov eax,4 |
1669 | mov edx,page_a1 |
1671 | mov edx,page_a1 |
1670 | mov ebx,[maxx] |
1672 | mov ebx,[maxx] |
1671 | sub ebx,150 |
1673 | sub ebx,133;150 |
1672 | shl ebx,16 |
1674 | shl ebx,16 |
1673 | mov bx,8 |
1675 | mov bx,8 |
1674 | mov esi,4 |
1676 | mov esi,4 |
1675 | int 0x40 |
1677 | int 0x40 |
Line 1678... | Line 1680... | ||
1678 | 1680 | ||
1679 | mov eax,47 |
1681 | mov eax,47 |
1680 | mov ebx,0x10100 |
1682 | mov ebx,0x10100 |
1681 | mov ecx,[page_list] |
1683 | mov ecx,[page_list] |
1682 | mov edx,[maxx] |
1684 | mov edx,[maxx] |
1683 | sub edx,141 |
1685 | sub edx,124;141 |
1684 | shl edx,16 |
1686 | shl edx,16 |
1685 | mov dx,7 |
1687 | mov dx,7 |
1686 | mov esi,0xffffff |
1688 | mov esi,0xffffff |
Line 1930... | Line 1932... | ||
1930 | 1932 | ||
1931 | turn_text db '><' |
1933 | turn_text db '><' |
Line 1932... | Line 1934... | ||
1932 | gpl db 'GPL' |
1934 | gpl db 'GPL' |
1933 | 1935 | ||
Line 1934... | Line 1936... | ||
1934 | chlang db 'LANG',0 |
1936 | chlang db 'LANG',0 |
Line 1935... | Line 1937... | ||
1935 | syslang db 'SLAN',0 |
1937 | ;syslang db 'SLAN',0 |
1936 | 1938 |