Rev 5162 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5162 | Rev 7628 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;============================================================================= |
1 | ;============================================================================= |
2 | ; Kolibri Graphics Benchmark 0.82 |
2 | ; Kolibri Graphics Benchmark 0.9 |
3 | ;-------------------------------------- |
3 | ;-------------------------------------- |
4 | ; MGB - Menuet Graphics Benchmark 0.3 |
4 | ; MGB - Menuet Graphics Benchmark 0.3 |
5 | ; Compile with FASM |
5 | ; Compile with FASM |
6 | ; |
6 | ; |
7 | ;============================================================================= |
7 | ;============================================================================= |
- | 8 | ; version: 0.9 |
|
- | 9 | ; last update: 15/04/2019 |
|
- | 10 | ; written by: Kiril Lipatov aka Leency |
|
- | 11 | ; changes: use big fonts, editing two comments, improve UI, show delta % |
|
- | 12 | ; Russian translation by Daniel Ovchinnikov |
|
- | 13 | ;--------------------------------------------------------------------- |
|
8 | ; version: 0.82 |
14 | ; version: 0.82 |
9 | ; last update: 03/11/2014 |
15 | ; last update: 03/11/2014 |
10 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
16 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
11 | ; changes: fix "benchmark GS selector" for 16bpp (support SVN r.5154) |
17 | ; changes: fix "benchmark GS selector" for 16bpp (support SVN r.5154) |
12 | ;--------------------------------------------------------------------- |
18 | ;--------------------------------------------------------------------- |
Line 73... | Line 79... | ||
73 | dd stacktop ;0x07FFF0 |
79 | dd stacktop ;0x07FFF0 |
74 | dd fname_buf |
80 | dd fname_buf |
75 | dd cur_dir_path |
81 | dd cur_dir_path |
Line 76... | Line 82... | ||
76 | 82 | ||
77 | include '../../../config.inc' ;for nightbuild |
83 | include '../../../config.inc' ;for nightbuild |
78 | include '..\..\..\macros.inc' |
84 | include '../../../macros.inc' |
79 | include '..\..\..\proc32.inc' |
85 | include '../../../proc32.inc' |
80 | ;include '..\..\..\debug.inc' |
86 | ;include '../../../debug.inc' |
81 | include '../../../develop/libraries/box_lib/trunk/box_lib.mac' |
87 | include '../../../develop/libraries/box_lib/trunk/box_lib.mac' |
82 | include '../../../develop/libraries/box_lib/load_lib.mac' |
88 | include '../../../develop/libraries/box_lib/load_lib.mac' |
83 | include 'lang.inc' ;language support |
89 | include 'lang.inc' ;language support |
84 | @use_library |
90 | @use_library |
Line 150... | Line 156... | ||
150 | mcall 2 |
156 | mcall 2 |
151 | cmp ah,'t' |
157 | cmp ah,'t' |
152 | jz ActionTest |
158 | jz ActionTest |
153 | cmp ah,'c' |
159 | cmp ah,'c' |
154 | jz ActionComment |
160 | jz ActionComment |
155 | cmp ah,'p' |
161 | cmp ah,'m' |
156 | jz ActionPattern |
162 | jz ActionPatternMove |
157 | cmp ah,'o' |
163 | cmp ah,'o' |
158 | jz ActionOpen |
164 | jz ActionOpen |
159 | cmp ah,'s' |
165 | cmp ah,'s' |
160 | jz ActionSave |
166 | jz ActionSave |
161 | jmp still |
167 | jmp still |
Line 183... | Line 189... | ||
183 | jnz still |
189 | jnz still |
184 | mcall 51,1,thread_comment,thread_stack2 |
190 | mcall 51,1,thread_comment,thread_stack2 |
185 | jmp still |
191 | jmp still |
186 | ;--------------------------------------------------------------------- |
192 | ;--------------------------------------------------------------------- |
187 | NotComment: |
193 | NotComment: |
188 | cmp ah,4 |
194 | cmp ah,6 |
189 | jnz NotPattern |
195 | jnz NotPatternCopy |
190 | ActionPattern: |
196 | ActionPatternMove: |
191 | test dword [wFlags],1 |
197 | test dword [wFlags],1 |
192 | jnz still |
198 | jnz still |
193 | mov esi,results_table |
199 | mov esi,results_table |
194 | cld |
200 | cld |
195 | @@: |
201 | @@: |
Line 202... | Line 208... | ||
202 | mov edi,comment_string_2 |
208 | mov edi,comment_string_2 |
203 | call copy_str_1 |
209 | call copy_str_1 |
204 | call DrawBars |
210 | call DrawBars |
205 | jmp still |
211 | jmp still |
206 | ;--------------------------------------------------------------------- |
212 | ;--------------------------------------------------------------------- |
207 | NotPattern: |
213 | NotPatternCopy: |
208 | cmp ah,5 |
214 | cmp ah,4 |
209 | jnz NotOpen |
215 | jnz NotOpen |
210 | ActionOpen: |
216 | ActionOpen: |
211 | test dword [wFlags],1 |
217 | test dword [wFlags],1 |
212 | jnz still |
218 | jnz still |
213 | mov [OpenDialog_data.type],0 ; open |
219 | mov [OpenDialog_data.type],0 ; open |
Line 224... | Line 230... | ||
224 | call [OpenDialog_Start] |
230 | call [OpenDialog_Start] |
225 | cmp [OpenDialog_data.status],1 |
231 | cmp [OpenDialog_data.status],1 |
226 | ret |
232 | ret |
227 | ;--------------------------------------------------------------------- |
233 | ;--------------------------------------------------------------------- |
228 | NotOpen: |
234 | NotOpen: |
229 | cmp ah,6 |
235 | cmp ah,5 |
230 | jnz still |
236 | jnz still |
231 | ActionSave: |
237 | ActionSave: |
232 | test dword [wFlags],1 |
238 | test dword [wFlags],1 |
233 | jnz still |
239 | jnz still |
234 | mov [OpenDialog_data.type],1 ; save |
240 | mov [OpenDialog_data.type],1 ; save |
Line 278... | Line 284... | ||
278 | mcall -1 |
284 | mcall -1 |
279 | ;--------------------------------------------------------------------- |
285 | ;--------------------------------------------------------------------- |
280 | draw_window: |
286 | draw_window: |
281 | mcall 12,1 |
287 | mcall 12,1 |
282 | mcall 48,4 |
288 | mcall 48,4 |
283 | mov ebx,100*65536+72*5+14 |
289 | mov ebx,460*65536+(LINE_DESCRIPTION_CHARS+5)*8+16 |
284 | mov ecx,80*65536+TESTS_NUM*LINE_HEIGHT+15+20+35 |
290 | mov ecx,80*65536+TESTS_NUM*(LINE_HEIGHT+2)+15+38 |
285 | add cx,ax |
291 | add cx,ax |
286 | xor eax,eax |
292 | xor eax,eax |
287 | xor esi,esi |
293 | xor esi,esi |
288 | mcall ,,,34000000h,,aCaption |
294 | mcall ,,,34000000h,,aCaption |
Line 289... | Line 295... | ||
289 | 295 | ||
290 | mov eax,8 |
296 | mov eax,8 |
291 | mov ebx,050036h+12 |
297 | mov ebx,20*65536+84 |
292 | mov ecx,5*65536+20 |
298 | mov ecx,4*65536+24 |
293 | mov edx,2 |
299 | mov edx,2 |
294 | mov esi,0x00007F7F |
300 | mov esi,0x00007F7F |
295 | @@: |
301 | @@: |
296 | mcall |
302 | mcall |
297 | add ebx,72*65536 |
303 | add ebx,96*65536 |
298 | inc edx |
304 | inc edx |
299 | cmp edx,7 |
305 | cmp edx,7 |
Line 300... | Line 306... | ||
300 | jb @r |
306 | jb @r |
301 | 307 | ||
302 | mov ecx,31 |
308 | mov ecx,33 |
303 | mov edx,0x00007F7F |
309 | mov edx,0x00007F7F |
Line 304... | Line 310... | ||
304 | mov esi,(72*5)/2 |
310 | mov esi,(LINE_DESCRIPTION_CHARS*8)/2+20 |
305 | call drawSeparator |
311 | call drawSeparator |
Line 306... | Line 312... | ||
306 | 312 | ||
307 | mcall 4,<27,12>,0x80DDEEFF,aButtonsText |
313 | mcall 4,<46,9>,0x90DDEEFF,aButtonsText |
308 | call DrawBars |
314 | call DrawBars |
309 | 315 | ||
310 | mov ecx,TESTS_NUM*LINE_HEIGHT+15+21 |
316 | mov ecx,TESTS_NUM*LINE_HEIGHT+15+23 |
311 | mov edx,0x00007F7F |
317 | mov edx,0x00007F7F |
312 | mov esi,(72*5)/2 |
318 | mov esi,(LINE_DESCRIPTION_CHARS*8)/2+20 |
313 | call drawSeparator |
319 | call drawSeparator |
Line 582... | Line 588... | ||
582 | push ebx |
588 | push ebx |
583 | movzx ecx,bx |
589 | movzx ecx,bx |
584 | add ecx,-2 |
590 | add ecx,-2 |
585 | shl ecx,16 |
591 | shl ecx,16 |
586 | mov cx,LINE_HEIGHT |
592 | mov cx,LINE_HEIGHT |
587 | mov ebx,0*65536+72*5+5 |
593 | mov ebx,0*65536+LINE_DESCRIPTION_CHARS*8+5 |
588 | xor edx,edx |
594 | xor edx,edx |
589 | mcall 13 |
595 | mcall 13 |
590 | pop ebx |
596 | pop ebx |
Line 591... | Line 597... | ||
591 | 597 | ||
592 | and ebx,0x0000FFFF |
598 | and ebx,0x0000FFFF |
593 | or ebx,5*65536 |
599 | or ebx,5*65536 |
594 | mov edx,[edi+TEST_REC_SIZE-4] |
600 | mov edx,[edi+TEST_REC_SIZE-4] |
Line 595... | Line 601... | ||
595 | mcall 4,,0x8000CCCC |
601 | mcall 4,,0x9000CCCC |
596 | 602 | ||
597 | push '=' 0x00FFFF00 0x00FFFF7F 0x00FFFF7F |
603 | push '=' 0x00FFFF00 0x00FFFF7F 0x00FFFF7F |
598 | mov eax,[edi+0] |
604 | mov eax,[edi+0] |
Line 610... | Line 616... | ||
610 | mov dword[esp+8],0x00FF0000 |
616 | mov dword[esp+8],0x00FF0000 |
611 | mov byte[esp+12],'<' |
617 | mov byte[esp+12],'<' |
612 | @@: |
618 | @@: |
613 | pop ecx |
619 | pop ecx |
614 | call int2str |
620 | call int2str |
615 | add ebx,(72*5-6*8*2-6-10-5)*65536 ; 196 |
621 | add ebx,(LINE_DESCRIPTION_CHARS*8-8*8*2-20)*65536 ; 196 |
- | 622 | add ecx,0x10000000 ;big font |
|
616 | mcall 4,,,textarea,8 |
623 | mcall 4,,,textarea,8 |
Line 617... | Line 624... | ||
617 | 624 | ||
618 | pop ecx |
625 | pop ecx |
619 | mov eax,[edi+4] |
626 | mov eax,[edi+4] |
620 | call int2str |
627 | call int2str |
- | 628 | add ebx,(6*8+26)*65536 |
|
621 | add ebx,(6*8+6+10)*65536 |
629 | add ecx,0x10000000 ;big font |
Line -... | Line 630... | ||
- | 630 | mcall 4 |
|
- | 631 | ||
- | 632 | ;pop ecx |
|
- | 633 | ;add ebx,(-15)*65536 |
|
- | 634 | ;mov edx,esp |
|
- | 635 | ;mov esi,1 |
|
- | 636 | ;add ecx,0x10000000 ;big font |
|
- | 637 | ;mcall |
|
- | 638 | ||
622 | mcall 4 |
639 | |
- | 640 | ; draw difference |
|
- | 641 | pop ecx |
|
- | 642 | add ecx,0x10000000 ;big font |
|
- | 643 | ||
- | 644 | pusha |
|
- | 645 | mov esi,ecx |
|
- | 646 | mov eax,[edi+0] |
|
- | 647 | mov ecx,[edi+4] |
|
- | 648 | cmp ecx,0 |
|
- | 649 | je .difference_end ; no div by zero |
|
- | 650 | imul eax,100 |
|
- | 651 | xor edx,edx |
|
- | 652 | div ecx |
|
- | 653 | mov ecx, eax |
|
- | 654 | sub ecx,100 |
|
- | 655 | mov [sign],'+' |
|
- | 656 | cmp ecx,0 |
|
- | 657 | jge @f ; no need to invert positive rumber |
|
- | 658 | neg ecx |
|
- | 659 | mov [sign],'-' |
|
- | 660 | @@: |
|
- | 661 | cmp ecx,1 ; do not show <=1% results |
|
- | 662 | jle .difference_end |
|
- | 663 | cmp ecx,100 ; do not show >=100% results |
|
- | 664 | je .difference_end |
|
623 | 665 | ||
624 | pop ecx |
666 | push ecx esi |
- | 667 | add ebx,(10*8)*65536 |
|
625 | add ebx,(-6-5)*65536 |
668 | mov ecx,esi |
626 | mov edx,esp |
669 | mov edx,sign |
- | 670 | mov esi,1 |
|
- | 671 | mcall 4 |
|
- | 672 | pop esi ecx |
|
- | 673 | ||
- | 674 | add ebx,(1*8)*65536 |
|
- | 675 | mov edx,ebx |
|
- | 676 | mcall 47, 10000000000001000000000000000000b |
|
- | 677 | ||
- | 678 | .difference_end: |
|
627 | mov esi,1 |
679 | popa |
Line 628... | Line 680... | ||
628 | mcall |
680 | |
629 | add esp,4 |
681 | add esp,4 |
630 | 682 | ||
631 | add edi,TEST_REC_SIZE |
683 | add edi,TEST_REC_SIZE |
- | 684 | add bx,LINE_HEIGHT |
|
- | 685 | jmp .next_result |
|
632 | add bx,LINE_HEIGHT |
686 | .exit: |
633 | jmp .next_result |
687 | |
634 | .exit: |
688 | |
635 | mov ebx, 0*65536+72*5+5 |
689 | mov ebx, 0*65536+LINE_DESCRIPTION_CHARS*8+5 |
Line 636... | Line 690... | ||
636 | mov ecx, (TESTS_NUM*LINE_HEIGHT+15+25)*65536+26 |
690 | mov ecx, (TESTS_NUM*LINE_HEIGHT+15+27)*65536+LINE_HEIGHT*2 |
637 | xor edx, edx |
691 | xor edx, edx |
Line 638... | Line 692... | ||
638 | mcall 13 |
692 | mcall 13 |
639 | 693 | ||
Line 640... | Line 694... | ||
640 | mov ebx, 5*65536+(TESTS_NUM*LINE_HEIGHT+15+27) |
694 | mov ebx, 5*65536+(TESTS_NUM*LINE_HEIGHT+15+27) |
641 | mcall 4,,0x8000CCCC,aLeft |
695 | mcall 4,,0x9000CCCC,aLeft |
Line 642... | Line 696... | ||
642 | 696 | ||
643 | add ebx, (6*10)*65536 |
697 | add ebx, (8*10)*65536 |
644 | mcall ,,0x80FFFF00,comment_string_1 |
698 | mcall ,,0x90FFFF00,comment_string_1 |
645 | 699 | ||
646 | mov ebx, 5*65536+(TESTS_NUM*LINE_HEIGHT+15+27+12) |
700 | mov ebx, 5*65536+(TESTS_NUM*LINE_HEIGHT+15+27+LINE_HEIGHT) |
647 | mcall ,,0x8000CCCC,aRight |
701 | mcall ,,0x9000CCCC,aRight |
648 | 702 | ||
Line 680... | Line 734... | ||
680 | mov eax,esi |
734 | mov eax,esi |
681 | dec eax |
735 | dec eax |
682 | mov edi, edit1 |
736 | mov edi, edit1 |
683 | mov [edi+48], eax ;ed_size |
737 | mov [edi+48], eax ;ed_size |
684 | mov [edi+52], eax ;ed_pos |
738 | mov [edi+52], eax ;ed_pos |
- | 739 | ||
- | 740 | mov esi,comment_string_2 |
|
- | 741 | cld |
|
- | 742 | @@: |
|
- | 743 | lodsb |
|
- | 744 | test al,al |
|
- | 745 | jne @r |
|
- | 746 | sub esi,comment_string_2 |
|
- | 747 | mov eax,esi |
|
- | 748 | dec eax |
|
- | 749 | mov edi, edit2 |
|
- | 750 | mov [edi+48], eax ;ed_size |
|
- | 751 | mov [edi+52], eax ;ed_pos |
|
- | 752 | ||
685 | ;--------------------------------------------------------------------- |
753 | ;--------------------------------------------------------------------- |
686 | .red: |
754 | .red: |
687 | call .draw_window |
755 | call .draw_window |
688 | .still: |
756 | .still: |
689 | mcall 10 ; wait here for event |
757 | mcall 10 ; wait here for event |
Line 692... | Line 760... | ||
692 | cmp eax,2 ; key in buffer ? |
760 | cmp eax,2 ; key in buffer ? |
693 | je .key |
761 | je .key |
694 | cmp eax,3 ; button in buffer ? |
762 | cmp eax,3 ; button in buffer ? |
695 | je .button |
763 | je .button |
Line -... | Line 764... | ||
- | 764 | ||
- | 765 | push dword edit1 |
|
696 | 766 | call [edit_box_mouse] |
|
697 | push dword name_editboxes |
767 | push dword edit2 |
698 | call [edit_box_mouse] |
768 | call [edit_box_mouse] |
699 | jmp .still |
769 | jmp .still |
700 | ;--------------------------------------------------------------------- |
770 | ;--------------------------------------------------------------------- |
701 | .key: ; key |
771 | .key: ; key |
702 | mcall 2 |
772 | mcall 2 |
703 | cmp ah,13 |
773 | cmp ah,13 |
704 | je .close ;.close_with_open_file |
774 | je .close ;.close_with_open_file |
705 | cmp ah,27 |
775 | cmp ah,27 |
Line -... | Line 776... | ||
- | 776 | je .close |
|
- | 777 | ||
706 | je .close |
778 | push dword edit1 |
707 | 779 | call [edit_box_key] |
|
708 | push dword name_editboxes |
780 | push dword edit2 |
709 | call [edit_box_key] |
781 | call [edit_box_key] |
710 | jmp .still |
782 | jmp .still |
711 | ;--------------------------------------------------------------------- |
783 | ;--------------------------------------------------------------------- |
Line 719... | Line 791... | ||
719 | ;--------------------------------------------------------------------- |
791 | ;--------------------------------------------------------------------- |
720 | .draw_window: |
792 | .draw_window: |
721 | mcall 12,1 |
793 | mcall 12,1 |
722 | xor eax,eax |
794 | xor eax,eax |
723 | xor esi,esi |
795 | xor esi,esi |
724 | mcall ,<100,300>,<100,80>,0x34780078,,aComment |
796 | mcall ,<110,300>,<120,120>,0x34C0C0C0,,aCommentT ; 0x34780078 |
725 | push dword name_editboxes |
797 | push dword edit1 |
- | 798 | call [edit_box_draw] |
|
- | 799 | push dword edit2 |
|
726 | call [edit_box_draw] |
800 | call [edit_box_draw] |
727 | mcall 12,2 |
801 | mcall 12,2 |
728 | ret |
802 | ret |
729 | ;--------------------------------------------------------------------- |
803 | ;--------------------------------------------------------------------- |
730 | locLoadFile: |
804 | locLoadFile: |
Line 747... | Line 821... | ||
747 | ret |
821 | ret |
748 | ;--------------------------------------------------------------------- |
822 | ;--------------------------------------------------------------------- |
749 | locSaveFile: |
823 | locSaveFile: |
750 | mov [stFileInfoBlock], 2 |
824 | mov [stFileInfoBlock], 2 |
751 | or dword [wFlags],1 |
825 | or dword [wFlags],1 |
752 | mov esi,results_table+4 |
826 | mov esi,results_table ;+4 to save Right Bar |
753 | mov edi,mgb_data |
827 | mov edi,mgb_data |
754 | cld |
828 | cld |
755 | @@: |
829 | @@: |
756 | cmp dword[esi+TEST_REC_SIZE-8],0 |
830 | cmp dword[esi+TEST_REC_SIZE-8],0 |
757 | je @f |
831 | je @f |
Line 791... | Line 865... | ||
791 | ?,?,testDrawText2m,aDrawingText2m,\ |
865 | ?,?,testDrawText2m,aDrawingText2m,\ |
792 | ?,?,testDrawNumber,aDrawingNumber,\ |
866 | ?,?,testDrawNumber,aDrawingNumber,\ |
793 | ?,?,testDrawPixel,aDrawingPixel,\ |
867 | ?,?,testDrawPixel,aDrawingPixel,\ |
794 | 0,0,0,0 |
868 | 0,0,0,0 |
795 | ;--------------------------------------------------------------------- |
869 | ;--------------------------------------------------------------------- |
796 | LINE_HEIGHT = 13 |
870 | LINE_HEIGHT = 17 |
797 | TEST_REC_SIZE = 16 |
871 | TEST_REC_SIZE = 16 |
- | 872 | LINE_DESCRIPTION_CHARS = 58 |
|
798 | TESTS_NUM = ($ - results_table) / TEST_REC_SIZE - 1 |
873 | TESTS_NUM = ($ - results_table) / TEST_REC_SIZE - 1 |
799 | ;--------------------------------------------------------------------- |
874 | ;--------------------------------------------------------------------- |
800 | if lang eq it |
875 | if lang eq it |
801 | aDrawingWindow db 'Window Of Type #3, 325x400 px',0 |
876 | aDrawingWindow db 'Window Of Type #3, 325x400 px',0 |
802 | aDrawingBar db 'Filled Rectangle, 100x250 px',0 |
877 | aDrawingBar db 'Filled Rectangle, 100x250 px',0 |
Line 813... | Line 888... | ||
813 | aDrawingText2m db 'Proportional Text(m), 34 chars',0 |
888 | aDrawingText2m db 'Proportional Text(m), 34 chars',0 |
814 | aDrawingNumber db 'Decimal Number, 8 digits',0 |
889 | aDrawingNumber db 'Decimal Number, 8 digits',0 |
815 | aDrawingPixel db 'Singolo pixel',0 |
890 | aDrawingPixel db 'Singolo pixel',0 |
Line 816... | Line 891... | ||
816 | 891 | ||
817 | aTestText db 'This is a 34-charachters test text' |
892 | aTestText db 'This is a 34-charachters test text' |
818 | aButtonsText db 'Test Commenti Pattern+ Apri Salva',0 |
893 | aButtonsText db 'Test Commenti Apri Salva Move >',0 |
Line 819... | Line 894... | ||
819 | aCaption db 'Kolibri Graphical Benchmark 0.82',0 |
894 | aCaption db 'Kolibri Graphical Benchmark 0.9',0 |
820 | 895 | ||
Line 821... | Line 896... | ||
821 | aLeft db 'Sinistra:',0 |
896 | aLeft db 'Sinistra:',0 |
822 | aRight db 'Destra :',0 |
897 | aRight db 'Destra :',0 |
823 | 898 | ||
- | 899 | aComment1 db 'Attuale test',0 |
|
- | 900 | aComment2 db 'previous test',0 |
|
- | 901 | aCommentT db 'Commenti',0 |
|
- | 902 | else if lang eq ru |
|
- | 903 | aDrawingWindow db '¨á⥬®¥ ®ª® ᮠ᪨®¬, 325x400 px',0 |
|
- | 904 | aDrawingBar db ' ªà è¥ë© ¯àאַ㣮«ì¨ª, 100x250 px',0 |
|
- | 905 | aDrawingPicture db ' à⨪ , 90x123, px',0 |
|
- | 906 | aDrawingPictF73 db ' à⨪ ¤«ï ¡«¨ââ¥à , 90x123, px',0 |
|
- | 907 | aGetScreenF36 db '⥨¥ íªà ¨§ ¢¨¤¥®¯ ¬ïâ¨, 90x123, px',0 |
|
- | 908 | aGetScreen_GS db '⥨¥ íªà ¨§ ¢¨¤¥®ª àâë, 90x123, px',0 |
|
- | 909 | aDrawingVLine db '®«ì訩 ª â¥â, 350 px',0 |
|
- | 910 | aDrawingHLine db '¥ì訩 ª â¥â, 270 px',0 |
|
- | 911 | aDrawingFLine db '¨¯®â¥ã§ , 350 px',0 |
|
- | 912 | aDrawingText1 db '¨áâ¥¬ë© â¥ªáâ ¬ «¥ìª¨©, 34 § ª ',0 |
|
- | 913 | aDrawingText1m db '¨áâ¥¬ë© â¥ªáâ ¬ «¥ìª¨© (¡ãä), 34 § ª ',0 |
|
- | 914 | aDrawingText2 db '¨áâ¥¬ë© â¥ªáâ ¡®«ì让, 34 § ª ',0 |
|
- | 915 | aDrawingText2m db '¨áâ¥¬ë© â¥ªáâ ¡®«ì让 (¡ãä), 34 § ª ',0 |
|
- | 916 | aDrawingNumber db '¥áïâ¨ç®¥ ç¨á«®, 8 æ¨äà',0 |
|
- | 917 | aDrawingPixel db '¤¨®çë© ¯¨ªá¥«ì',0 |
|
- | 918 | ||
- | 919 | aTestText db 'This is a 34-charachters test text' |
|
- | 920 | aButtonsText db '¥áâ §¢ ¨ï § ä ©« ä ©« ¯à ¢® >',0 |
|
- | 921 | aCaption db 'à ä¨ç¥áª¨© ¡¥ç¬ ઠ¤«ï ®«¨¡à¨ v0.9',0 |
|
- | 922 | ||
- | 923 | aLeft db '«¥¢ :',0 |
|
- | 924 | aRight db '¯à ¢ :',0 |
|
- | 925 | ||
824 | aComment1 db 'Attuale ',0 |
926 | aComment1 db 'íâ®â â¥áâ',0 |
825 | aComment2 db 'no pattern',0 |
927 | aComment2 db '¯à¥¤ë¤ã騩 â¥áâ',0 |
826 | aComment db 'Commento',0 |
928 | aCommentT db '¥¤ ªâ¨à®¢ âì ª®¬¬¥â ਨ',0 |
827 | else |
929 | else |
828 | aDrawingWindow db 'Window Of Type #3, 325x400 px',0 |
930 | aDrawingWindow db 'Window Of Type #3, 325x400 px',0 |
Line 833... | Line 935... | ||
833 | aGetScreen_GS db 'Get a piece of screen GS, 90x123, px',0 |
935 | aGetScreen_GS db 'Get a piece of screen GS, 90x123, px',0 |
834 | aDrawingVLine db 'Vertical Line, 350 px',0 |
936 | aDrawingVLine db 'Vertical Line, 350 px',0 |
835 | aDrawingHLine db 'Horizontal Line, 270 px',0 |
937 | aDrawingHLine db 'Horizontal Line, 270 px',0 |
836 | aDrawingFLine db 'Free-angled Line, 350 px',0 |
938 | aDrawingFLine db 'Free-angled Line, 350 px',0 |
837 | aDrawingText1 db 'Fixed-width Text, 34 chars',0 |
939 | aDrawingText1 db 'Fixed-width Text, 34 chars',0 |
838 | aDrawingText1m db 'Fixed-width Text(m), 34 chars',0 |
940 | aDrawingText1m db 'Fixed-width Text(mem), 34 chars',0 |
839 | aDrawingText2 db 'Proportional Text, 34 chars',0 |
941 | aDrawingText2 db 'Proportional Text, 34 chars',0 |
840 | aDrawingText2m db 'Proportional Text(m), 34 chars',0 |
942 | aDrawingText2m db 'Proportional Text(mem), 34 chars',0 |
841 | aDrawingNumber db 'Decimal Number, 8 digits',0 |
943 | aDrawingNumber db 'Decimal Number, 8 digits',0 |
842 | aDrawingPixel db 'Single Pixel',0 |
944 | aDrawingPixel db 'Single Pixel',0 |
Line 843... | Line 945... | ||
843 | 945 | ||
844 | aTestText db 'This is a 34-charachters test text' |
946 | aTestText db 'This is a 34-charachters test text' |
845 | aButtonsText db 'Test Comment+ Pattern+ Open Save',0 |
947 | aButtonsText db 'Test Comments Open Save Move >',0 |
Line 846... | Line 948... | ||
846 | aCaption db 'Kolibri Graphical Benchmark 0.82',0 |
948 | aCaption db 'Kolibri Graphical Benchmark 0.9',0 |
847 | 949 | ||
Line 848... | Line 950... | ||
848 | aLeft db 'Left :',0 |
950 | aLeft db 'Left :',0 |
849 | aRight db 'Right :',0 |
951 | aRight db 'Right :',0 |
850 | 952 | ||
851 | aComment1 db 'current',0 |
953 | aComment1 db 'current test',0 |
852 | aComment2 db 'no pattern',0 |
954 | aComment2 db 'previous test',0 |
853 | aComment db 'Comment',0 |
955 | aCommentT db 'Edit comments',0 |
854 | end if |
956 | end if |
855 | ;--------------------------------------------------------------------- |
957 | ;--------------------------------------------------------------------- |
Line 917... | Line 1019... | ||
917 | .1: |
1019 | .1: |
918 | db 'MGB',0 |
1020 | db 'MGB',0 |
919 | .end: |
1021 | .end: |
920 | db 0 |
1022 | db 0 |
Line -... | Line 1023... | ||
- | 1023 | ||
- | 1024 | sign db ?,0 |
|
921 | 1025 | ||
Line 922... | Line 1026... | ||
922 | start_temp_file_name: db 'pattern.mgb',0 |
1026 | start_temp_file_name: db 'results.mgb',0 |
923 | 1027 | ||
924 | path4 db '/rd/1/pattern.mgb',0 |
1028 | path4 db '/rd/1/results.mgb',0 |
925 | ;--------------------------------------------------------------------- |
1029 | ;--------------------------------------------------------------------- |
926 | align 4 |
1030 | align 4 |
927 | params_f73: |
1031 | params_f73: |
Line 1035... | Line 1139... | ||
1035 | ;sz_PathShow_draw db 'PathShow_draw',0 |
1139 | ;sz_PathShow_draw db 'PathShow_draw',0 |
1036 | ;szVersion_path_show db 'version_PathShow',0 |
1140 | ;szVersion_path_show db 'version_PathShow',0 |
1037 | ;--------------------------------------------------------------------- |
1141 | ;--------------------------------------------------------------------- |
1038 | ; for EDITBOX |
1142 | ; for EDITBOX |
1039 | align 4 |
1143 | align 4 |
1040 | name_editboxes: |
1144 | editboxes: |
1041 | edit1 edit_box 200,10,30,0xffffff,0xbbddff,0,0,0,255,comment_string_1,mouse_dd,ed_focus+ed_always_focus,0 |
1145 | edit1 edit_box 260,12,15,0xffffff,0xbbddff,0xFF00FF,0x7F7F7F,\ |
- | 1146 | 0x90000000,43,comment_string_1,0,ed_focus,0 |
|
- | 1147 | edit2 edit_box 260,12,50,0xffffff,0xbbddff,0xFF00FF,0x7F7F7F,\ |
|
- | 1148 | 0x90000000,43,comment_string_2,0,0,0 |
|
1042 | name_editboxes_end: |
1149 | editboxes_end: |
1043 | ;--------------------------------------------------------------------- |
1150 | ;--------------------------------------------------------------------- |
Line 1044... | Line 1151... | ||
1044 | 1151 | ||
1045 | IM_END: |
1152 | IM_END: |
1046 | align 4 |
- | |
1047 | mouse_dd rd 1 |
1153 | align 4 |
1048 | area_for_f36 rd 1 |
1154 | area_for_f36 rd 1 |
1049 | dwTestEndTime rd 1 |
1155 | dwTestEndTime rd 1 |
1050 | dwMainPID rd 1 |
1156 | dwMainPID rd 1 |
1051 | ;----------------------------------------------------------------------------- |
1157 | ;----------------------------------------------------------------------------- |