Rev 129 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 129 | Rev 139 | ||
---|---|---|---|
Line 194... | Line 194... | ||
194 | endg |
194 | endg |
Line 195... | Line 195... | ||
195 | 195 | ||
196 | boot_log: |
196 | boot_log: |
Line 197... | Line -... | ||
197 | pushad |
- | |
198 | - | ||
199 | mov edx,esi |
- | |
200 | .bll3: inc edx |
- | |
201 | cmp [edx],byte 0 |
- | |
202 | jne .bll3 |
197 | pushad |
203 | sub edx,esi |
198 | |
204 | mov eax,10*65536 |
199 | mov eax,10*65536 |
205 | mov ax,word [boot_y] |
200 | mov ax,word [boot_y] |
206 | add [boot_y],dword 10 |
201 | add [boot_y],dword 10 |
207 | mov ebx,0xffffff |
202 | mov ebx,0x80ffffff ; ASCIIZ string with white color |
208 | mov ecx,esi |
203 | mov ecx,esi |
Line 209... | Line 204... | ||
209 | mov edi,1 |
204 | mov edi,1 |
Line 1356... | Line 1351... | ||
1356 | 1351 | ||
Line 1357... | Line 1352... | ||
1357 | pushad |
1352 | pushad |
1358 | 1353 | ||
1359 | cmp al,1 ; ecx is a pointer ? |
- | |
1360 | jne displnl1 |
1354 | cmp al,1 ; ecx is a pointer ? |
1361 | mov edi,[0x3010] |
- | |
1362 | mov edi,[edi+TASKDATA.mem_start] |
1355 | jne displnl1 |
1363 | mov ebx,[edi+ebx] |
1356 | mov ebx,[ebx+std_application_base_address] |
Line 1364... | Line 1357... | ||
1364 | displnl1: |
1357 | displnl1: |
1365 | sub esp,64 |
1358 | sub esp,64 |
Line 1456... | Line 1449... | ||
1456 | mov ecx,65 |
1449 | mov ecx,65 |
1457 | sub ecx,eax |
1450 | sub ecx,eax |
1458 | add ecx,esp |
1451 | add ecx,esp |
1459 | add ecx,4 |
1452 | add ecx,4 |
1460 | mov eax,[esp+64+32-8+4] |
1453 | mov eax,[esp+64+32-8+4] |
1461 | mov ebx,[esp+64+32-12+4] |
- | |
1462 | push edx ; add window start x & y |
1454 | push edx ; add window start x & y |
1463 | push ebx |
- | |
1464 | mov edx,[0x3010] |
1455 | mov edx,[0x3010] |
1465 | mov ebx,[edx-twdw+WDATA.box.left] |
1456 | mov ebx,[edx-twdw+WDATA.box.left] |
1466 | shl ebx,16 |
1457 | shl ebx,16 |
1467 | add ebx,[edx-twdw+WDATA.box.top] |
1458 | add ebx,[edx-twdw+WDATA.box.top] |
1468 | add eax,ebx |
1459 | add eax,ebx |
1469 | pop ebx |
- | |
1470 | pop edx |
1460 | pop edx |
1471 | mov edi,0 |
1461 | mov ebx,[esp+64+32-12+4] |
- | 1462 | and ebx, not 0x80000000 ; force counted string |
|
- | 1463 | mov esi, [esp+64+4+4] |
|
1472 | call dtext |
1464 | xor edi,edi |
1473 | - | ||
1474 | ret |
1465 | jmp dtext |
1475 | - | ||
Line 1476... | Line 1466... | ||
1476 | 1466 | ||
Line 1477... | Line 1467... | ||
1477 | read_string: |
1467 | read_string: |
1478 | 1468 | ||
Line 2912... | Line 2902... | ||
2912 | sar ax,1 |
2902 | sar ax,1 |
2913 | adc ax,0 |
2903 | adc ax,0 |
2914 | add ax,[_skinmargins.top] |
2904 | add ax,[_skinmargins.top] |
2915 | add ax,-3 |
2905 | add ax,-3 |
2916 | add eax,ebp |
2906 | add eax,ebp |
2917 | mov ebx,[common_colours+16];0x00FFFFFF |
- | |
2918 | xor edi,edi |
- | |
2919 | call dtext |
- | |
2920 | jmp @f |
2907 | jmp .dodraw |
Line 2921... | Line 2908... | ||
2921 | 2908 | ||
2922 | .not_skinned: |
2909 | .not_skinned: |
2923 | cmp al,1 |
2910 | cmp al,1 |
Line 2934... | Line 2921... | ||
2934 | or eax,eax |
2921 | or eax,eax |
2935 | js @f |
2922 | js @f |
2936 | mov edx,eax |
2923 | mov edx,eax |
2937 | mov eax,0x00080007 |
2924 | mov eax,0x00080007 |
2938 | add eax,ebp |
2925 | add eax,ebp |
- | 2926 | .dodraw: |
|
2939 | mov ebx,[common_colours+16];0x00FFFFFF |
2927 | mov ebx,[common_colours+16];0x00FFFFFF |
- | 2928 | or ebx, 0x80000000 |
|
2940 | xor edi,edi |
2929 | xor edi,edi |
2941 | call dtext |
2930 | call dtext |
2942 | jmp @f |
- | |
Line 2943... | Line 2931... | ||
2943 | 2931 | ||
2944 | @@: |
2932 | @@: |
2945 | ;-------------------------------------------------------------- |
2933 | ;-------------------------------------------------------------- |
2946 | dec [mouse_pause] |
2934 | dec [mouse_pause] |
Line 4823... | Line 4811... | ||
4823 | 4811 | ||
Line 4824... | Line 4812... | ||
4824 | syscall_writetext: ; WriteText |
4812 | syscall_writetext: ; WriteText |
4825 | 4813 | ||
- | 4814 | mov edi,[0x3010] |
|
4826 | mov edi,[0x3010] |
4815 | mov ebp,[edi-twdw+WDATA.box.left] |
4827 | mov ebp,[edi-twdw+WDATA.box.left] |
4816 | push esi |
4828 | mov esi,[0x3000] |
4817 | mov esi,[0x3000] |
4829 | shl esi,8 |
4818 | shl esi,8 |
4830 | add ebp,[esi+0x80000+APPDATA.wnd_clientbox.left] |
4819 | add ebp,[esi+0x80000+APPDATA.wnd_clientbox.left] |
4831 | shl ebp,16 |
4820 | shl ebp,16 |
- | 4821 | add ebp,[edi-twdw+WDATA.box.top] |
|
4832 | add ebp,[edi-twdw+WDATA.box.top] |
4822 | add bp,word[esi+0x80000+APPDATA.wnd_clientbox.top] |
4833 | add bp,word[esi+0x80000+APPDATA.wnd_clientbox.top] |
4823 | pop esi |
4834 | add ecx,[edi+TASKDATA.mem_start] |
4824 | add ecx,[edi+TASKDATA.mem_start] |
4835 | add eax,ebp |
4825 | add eax,ebp |