Rev 2474 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2474 | Rev 7534 | ||
---|---|---|---|
Line 200... | Line 200... | ||
200 | mov ecx, 0x80ffffff |
200 | mov ecx, 0x80ffffff |
201 | mov edx, [test_num] |
201 | mov edx, [test_num] |
202 | mov edx, [test_info + edx*4] |
202 | mov edx, [test_info + edx*4] |
203 | mcall 4 |
203 | mcall 4 |
Line 204... | Line 204... | ||
204 | 204 | ||
205 | add ebx, 8 |
205 | add ebx, 12 |
Line 206... | Line 206... | ||
206 | mcall ,,,press_space |
206 | mcall ,,,press_space |
207 | 207 | ||
Line 216... | Line 216... | ||
216 | ret |
216 | ret |
217 | ;------------------------------------------------------------------------------ |
217 | ;------------------------------------------------------------------------------ |
218 | ; <---- procedures for various tests of display -----> |
218 | ; <---- procedures for various tests of display -----> |
219 | ; in: ebx = screen_width, ecx = screen_height |
219 | ; in: ebx = screen_width, ecx = screen_height |
220 | ;------------------------------------------------------------------------------ |
220 | ;------------------------------------------------------------------------------ |
- | 221 | lsz i_image_size,\ |
|
- | 222 | ru, " §¬¥à ¨§®¡à ¦¥¨ï ¨ à §¬¥é¥¨¥",\ |
|
221 | lsz i_image_size, ru, "Image Size and Placement" |
223 | en, "Image Size and Placement" |
222 | db 0 |
224 | db 0 |
223 | ;------------------------------------------------------------------------------ |
225 | ;------------------------------------------------------------------------------ |
224 | t_image_size: |
226 | t_image_size: |
225 | mov esi, ebx |
227 | mov esi, ebx |
226 | mov edi, ecx |
228 | mov edi, ecx |
Line 256... | Line 258... | ||
256 | mov ecx, edi |
258 | mov ecx, edi |
257 | shl ecx, 16 |
259 | shl ecx, 16 |
258 | mcall |
260 | mcall |
259 | ret |
261 | ret |
260 | ;------------------------------------------------------------------------------ |
262 | ;------------------------------------------------------------------------------ |
261 | lsz i_grid, ru, "Grid" |
263 | lsz i_grid,\ |
- | 264 | ru, "¥âª ",\ |
|
- | 265 | en, "Grid" |
|
262 | db 0 |
266 | db 0 |
263 | ;------------------------------------------------------------------------------ |
267 | ;------------------------------------------------------------------------------ |
264 | t_grid: |
268 | t_grid: |
265 | ; á¥âª à §¬¥à®¬ ¢ 64 ¯¨ªá¥« |
269 | ; á¥âª à §¬¥à®¬ ¢ 64 ¯¨ªá¥« |
266 | mov eax, 38 |
270 | mov eax, 38 |
Line 294... | Line 298... | ||
294 | jnae grid_next_x |
298 | jnae grid_next_x |
295 | sub ebx, 0x00010001 |
299 | sub ebx, 0x00010001 |
296 | mcall |
300 | mcall |
297 | ret |
301 | ret |
298 | ;------------------------------------------------------------------------------ |
302 | ;------------------------------------------------------------------------------ |
- | 303 | lsz i_horstr,\ |
|
- | 304 | ru, "®à¨§®â «ìë¥ ¯àï¬ë¥ «¨¨¨",\ |
|
299 | lsz i_horstr, ru, "Horizontal Straightness" |
305 | en, "Horizontal Straightness" |
300 | db 0 |
306 | db 0 |
301 | ;------------------------------------------------------------------------------ |
307 | ;------------------------------------------------------------------------------ |
302 | t_horstr: |
308 | t_horstr: |
303 | mov eax, 38 |
309 | mov eax, 38 |
304 | mov edi, ecx |
310 | mov edi, ecx |
Line 321... | Line 327... | ||
321 | add ecx, ebp |
327 | add ecx, ebp |
322 | cmp cx, di |
328 | cmp cx, di |
323 | jnae hor_next_y |
329 | jnae hor_next_y |
324 | ret |
330 | ret |
325 | ;------------------------------------------------------------------------------ |
331 | ;------------------------------------------------------------------------------ |
- | 332 | lsz i_vertstr,\ |
|
- | 333 | ru, "¥à⨪ «ìë¥ ¯àï¬ë¥ «¨¨¨",\ |
|
326 | lsz i_vertstr, ru, "Vertical Straightness",0 |
334 | en, "Vertical Straightness" |
327 | db 0 |
335 | db 0 |
328 | ;------------------------------------------------------------------------------ |
336 | ;------------------------------------------------------------------------------ |
329 | t_vertstr: |
337 | t_vertstr: |
330 | mov eax, 38 |
338 | mov eax, 38 |
331 | mov edx, 0xffffff |
339 | mov edx, 0xffffff |
Line 346... | Line 354... | ||
346 | add ebx, ebp |
354 | add ebx, ebp |
347 | cmp bx, si |
355 | cmp bx, si |
348 | jnae vert_next_x |
356 | jnae vert_next_x |
349 | ret |
357 | ret |
350 | ;------------------------------------------------------------------------------ |
358 | ;------------------------------------------------------------------------------ |
- | 359 | lsz i_distort,\ |
|
- | 360 | ru, "஢¥àª ¨áª ¦¥¨ï",\ |
|
351 | lsz i_distort, ru, "Distortion",0 |
361 | en, "Distortion", |
352 | db 0 |
362 | db 0 |
353 | ;------------------------------------------------------------------------------ |
363 | ;------------------------------------------------------------------------------ |
354 | t_distort: |
364 | t_distort: |
355 | mov edx, 0xffffff |
365 | mov edx, 0xffffff |
356 | mov esi, ebx |
366 | mov esi, ebx |
Line 393... | Line 403... | ||
393 | pop ebp |
403 | pop ebp |
394 | dec ebp |
404 | dec ebp |
395 | jnz dist_next |
405 | jnz dist_next |
396 | ret |
406 | ret |
397 | ;------------------------------------------------------------------------------ |
407 | ;------------------------------------------------------------------------------ |
- | 408 | lsz i_horres,\ |
|
- | 409 | ru, " §à¥è¥¨¥ ¯® £®à¨§®â «¨",\ |
|
398 | lsz i_horres, ru, "Horizontal Resolution",0 |
410 | en, "Horizontal Resolution", |
399 | db 0 |
411 | db 0 |
400 | ;------------------------------------------------------------------------------ |
412 | ;------------------------------------------------------------------------------ |
401 | t_horres: |
413 | t_horres: |
402 | mov eax, 38 |
414 | mov eax, 38 |
403 | mov edx, 0xffffff |
415 | mov edx, 0xffffff |
Line 426... | Line 438... | ||
426 | 438 | ||
427 | cmp bx, si |
439 | cmp bx, si |
428 | jna horres_next |
440 | jna horres_next |
429 | ret |
441 | ret |
- | 442 | ;------------------------------------------------------------------------------ |
|
- | 443 | lsz i_vertres,\ |
|
430 | ;------------------------------------------------------------------------------ |
444 | ru, " §à¥è¥¨¥ ¯® ¢¥à⨪ «¨",\ |
431 | lsz i_vertres, ru, "Vertical Resolution",0 |
445 | en, "Vertical Resolution", |
432 | db 0 |
446 | db 0 |
433 | ;------------------------------------------------------------------------------ |
447 | ;------------------------------------------------------------------------------ |
434 | t_vertres: |
448 | t_vertres: |
435 | mov eax, 38 |
449 | mov eax, 38 |
Line 460... | Line 474... | ||
460 | add ecx, 0x00540054 |
474 | add ecx, 0x00540054 |
461 | cmp cx, di |
475 | cmp cx, di |
462 | jna vertres_next |
476 | jna vertres_next |
463 | ret |
477 | ret |
464 | ;------------------------------------------------------------------------------ |
478 | ;------------------------------------------------------------------------------ |
- | 479 | lsz i_moire,\ |
|
- | 480 | ru, " ¡«®ë ã à ",\ |
|
465 | lsz i_moire, ru, "Moire Patterns",0 |
481 | en, "Moire Patterns", |
466 | db 0 |
482 | db 0 |
467 | ;------------------------------------------------------------------------------ |
483 | ;------------------------------------------------------------------------------ |
468 | t_moire: |
484 | t_moire: |
469 | mov eax, 38 |
485 | mov eax, 38 |
470 | mov edx, 0xffffff |
486 | mov edx, 0xffffff |
Line 479... | Line 495... | ||
479 | add ebx, ebp |
495 | add ebx, ebp |
480 | cmp bx, si |
496 | cmp bx, si |
481 | jna moire_next |
497 | jna moire_next |
482 | ret |
498 | ret |
483 | ;------------------------------------------------------------------------------ |
499 | ;------------------------------------------------------------------------------ |
- | 500 | lsz i_revsharp,\ |
|
- | 501 | ru, "¥¢¥àᨢ ï १ª®áâì ¢¨¤¥®",\ |
|
484 | lsz i_revsharp, ru, "Reverse Video Sharpness",0 |
502 | en, "Reverse Video Sharpness", |
485 | db 0 |
503 | db 0 |
486 | ;------------------------------------------------------------------------------ |
504 | ;------------------------------------------------------------------------------ |
487 | t_revsharp: |
505 | t_revsharp: |
488 | mov esi, ebx |
506 | mov esi, ebx |
489 | mov edi, ecx |
507 | mov edi, ecx |
Line 513... | Line 531... | ||
513 | 531 | ||
514 | cmp bx, si |
532 | cmp bx, si |
515 | jna revsharp_next |
533 | jna revsharp_next |
516 | ret |
534 | ret |
- | 535 | ;------------------------------------------------------------------------------ |
|
- | 536 | lsz i_flicker,\ |
|
517 | ;------------------------------------------------------------------------------ |
537 | ru, "஢¥ì ¬¥àæ ¨ï",\ |
518 | lsz i_flicker, ru, "Flicker Severity",0 |
538 | en, "Flicker Severity", |
519 | db 0 |
539 | db 0 |
520 | ;------------------------------------------------------------------------------ |
540 | ;------------------------------------------------------------------------------ |
521 | t_flicker: |
541 | t_flicker: |
522 | mcall 13,,,0xffffff |
542 | mcall 13,,,0xffffff |
523 | ret |
543 | ret |
- | 544 | ;------------------------------------------------------------------------------ |
|
- | 545 | lsz i_glare,\ |
|
524 | ;------------------------------------------------------------------------------ |
546 | ru, "஢¥ì ¡«¨ª®¢ ¯®¤á¢¥âª¨",\ |
525 | lsz i_glare, ru, "Glare Severity",0 |
547 | en, "Glare Severity", |
526 | db 0 |
548 | db 0 |
527 | ;------------------------------------------------------------------------------ |
549 | ;------------------------------------------------------------------------------ |
528 | t_glare: ; ®¯â¨¬¨§¨à®¢ âì ¥ç¥£® |
550 | t_glare: ; ®¯â¨¬¨§¨à®¢ âì ¥ç¥£® |
529 | ret |
551 | ret |
- | 552 | ;------------------------------------------------------------------------------ |
|
- | 553 | lsz i_interlace,\ |
|
530 | ;------------------------------------------------------------------------------ |
554 | ru, "¡ à㦥¨¥ ¨â¥à«¥©á¨£ ",\ |
531 | lsz i_interlace, ru, "Interlacing Detection",0 |
555 | en, "Interlacing Detection", |
532 | db 0 |
556 | db 0 |
533 | ;------------------------------------------------------------------------------ |
557 | ;------------------------------------------------------------------------------ |
534 | t_interlace: |
558 | t_interlace: |
535 | mov edi, ecx |
559 | mov edi, ecx |
Line 543... | Line 567... | ||
543 | mcall |
567 | mcall |
544 | cmp cx, di |
568 | cmp cx, di |
545 | jna interlace_next |
569 | jna interlace_next |
546 | ret |
570 | ret |
547 | ;------------------------------------------------------------------------------ |
571 | ;------------------------------------------------------------------------------ |
- | 572 | lsz i_scrreg,\ |
|
- | 573 | ru, "¥£ã«¨à®¢ª íªà ",\ |
|
548 | lsz i_scrreg, ru, "Screen Regulation",0 |
574 | en, "Screen Regulation", |
549 | db 0 |
575 | db 0 |
550 | ;------------------------------------------------------------------------------ |
576 | ;------------------------------------------------------------------------------ |
551 | t_scrreg: |
577 | t_scrreg: |
552 | add ebx, 0x0018FFCD ; +25 ª ç «ã ¨ -50 ®â ¤«¨ë |
578 | add ebx, 0x0018FFCD ; +25 ª ç «ã ¨ -50 ®â ¤«¨ë |
553 | shr ecx, 1 |
579 | shr ecx, 1 |
554 | add ecx, 0x0013FFEC ; +19 ª ç «ã ¨ -19 ®â ¤«¨ë |
580 | add ecx, 0x0013FFEC ; +19 ª ç «ã ¨ -19 ®â ¤«¨ë |
555 | mcall 13,,,0xffffff |
581 | mcall 13,,,0xffffff |
556 | ret |
582 | ret |
557 | ;------------------------------------------------------------------------------ |
583 | ;------------------------------------------------------------------------------ |
- | 584 | lsz i_pricol,\ |
|
- | 585 | ru, "¨áâ®â ®á®¢ëå 梥⮢",\ |
|
558 | lsz i_pricol, ru, "Primary Color Purity" |
586 | en, "Primary Color Purity", |
559 | db 0 |
587 | db 0 |
560 | ;------------------------------------------------------------------------------ |
588 | ;------------------------------------------------------------------------------ |
561 | t_pricol: |
589 | t_pricol: |
562 | mov esi, ebx |
590 | mov esi, ebx |
563 | mov edi, ecx |
591 | mov edi, ecx |
Line 584... | Line 612... | ||
584 | add ebx, ebp |
612 | add ebx, ebp |
585 | shr edx, 8 |
613 | shr edx, 8 |
586 | mcall |
614 | mcall |
587 | ret |
615 | ret |
588 | ;------------------------------------------------------------------------------ |
616 | ;------------------------------------------------------------------------------ |
- | 617 | lsz i_colint,\ |
|
- | 618 | ru, "à ¤¨¥â ¨â¥á¨¢®á⨠梥â ",\ |
|
589 | lsz i_colint, ru, "Color Intensity Gradient" |
619 | en, "Color Intensity Gradient", |
590 | db 0 |
620 | db 0 |
591 | ;------------------------------------------------------------------------------ |
621 | ;------------------------------------------------------------------------------ |
592 | t_colint: |
622 | t_colint: |
Line 593... | Line 623... | ||
593 | 623 | ||
Line 674... | Line 704... | ||
674 | inc dword [color_index] |
704 | inc dword [color_index] |
675 | cmp dword [color_index], 7 |
705 | cmp dword [color_index], 7 |
676 | jb colint_next |
706 | jb colint_next |
677 | ret |
707 | ret |
678 | ;------------------------------------------------------------------------------ |
708 | ;------------------------------------------------------------------------------ |
- | 709 | lsz i_colalign,\ |
|
- | 710 | ru, "¢¥â®¢®¥ ¢ëà ¢¨¢ ¨¥",\ |
|
679 | lsz i_colalign, ru, "Color Alignment Grid" |
711 | en, "Color Alignment Grid", |
680 | db 0 |
712 | db 0 |
681 | ;------------------------------------------------------------------------------ |
713 | ;------------------------------------------------------------------------------ |
682 | t_colalign: |
714 | t_colalign: |
683 | ; ªà á ï á¥âª |
715 | ; ªà á ï á¥âª |
684 | inc ebx ; ⠪ 㦮 |
716 | inc ebx ; ⠪ 㦮 |
Line 807... | Line 839... | ||
807 | ;add ebx, ebp |
839 | ;add ebx, ebp |
808 | ;cmp bx, si |
840 | ;cmp bx, si |
809 | ;jnae ggrid_last_xy |
841 | ;jnae ggrid_last_xy |
810 | ret |
842 | ret |
811 | ;------------------------------------------------------------------------------ |
843 | ;------------------------------------------------------------------------------ |
- | 844 | lsz i_colsyn,\ |
|
- | 845 | ru, "¨åந§ æ¨ï 梥â ",\ |
|
812 | lsz i_colsyn, ru, "Color Synchronization" |
846 | en, "Color Synchronization", |
813 | db 0 |
847 | db 0 |
814 | ;------------------------------------------------------------------------------ |
848 | ;------------------------------------------------------------------------------ |
815 | t_colsyn: |
849 | t_colsyn: |
816 | inc ebx |
850 | inc ebx |
817 | inc ecx |
851 | inc ecx |
Line 856... | Line 890... | ||
856 | test_info dd i_image_size, i_grid, i_horstr, i_vertstr, \ |
890 | test_info dd i_image_size, i_grid, i_horstr, i_vertstr, \ |
857 | i_distort, i_horres, i_vertres, i_moire, i_revsharp, \ |
891 | i_distort, i_horres, i_vertres, i_moire, i_revsharp, \ |
858 | i_flicker, i_glare, i_interlace, i_scrreg, i_pricol, \ |
892 | i_flicker, i_glare, i_interlace, i_scrreg, i_pricol, \ |
859 | i_colint, i_colalign, i_colsyn, 0 |
893 | i_colint, i_colalign, i_colsyn, 0 |
Line -... | Line 894... | ||
- | 894 | ||
860 | 895 | lsz press_space,\ |
|
- | 896 | ru, " ¦¬¨â¥ ¯à®¡¥« ¤«ï ¯à®¤®«¦¥¨ï,",\ |
|
- | 897 | en, "Press 'Space' key to continue", |
|
- | 898 | db 0 |
|
- | 899 | ||
- | 900 | lsz press_i,\ |
|
- | 901 | ru, "I ¤«ï ¯¥à¥ª«î票ï ᢥ¤¥¨©,",\ |
|
861 | lsz press_space, ru, " ¦¬¨â¥ ¯à®¡¥« ¤«ï ¯à®¤®«¦¥¨ï," |
902 | en, "I to turn details on and off ", |
- | 903 | db 0 |
|
- | 904 | ||
862 | db 0 |
905 | lsz press_c,\ |
- | 906 | ru, "¨ C ¤«ï ¯¥à¥ª«îç¥¨ï ªãàá®à ",\ |
|
863 | lsz press_i, ru, "I ¤«ï ¯¥à¥ª«î票ï ᢥ¤¥¨©," |
907 | en, "and C to show and hide cursor", |
- | 908 | db 0 |
|
- | 909 | ||
- | 910 | lsz header,\ |
|
- | 911 | ru, "¥áâ ¬®¨â®à ",\ |
|
- | 912 | en, "Display test", |
|
- | 913 | db 0 |
|
- | 914 | ||
864 | db 0 |
915 | lsz test_finish,\ |
- | 916 | ru, "®¥æ â¥áâ . ¦¬¨â¥ ESC.",\ |
|
865 | lsz press_c, ru, "¨ C ¤«ï ¯¥à¥ª«îç¥¨ï ªãàá®à " |
917 | en, "Test has been finished. Press ESC.", |
866 | db 0 |
- | |
867 | lsz header, ru, "¥áâ ¬®¨â®à " |
- | |
Line 868... | Line 918... | ||
868 | lsz test_finish, ru, "®¥æ â¥áâ . ¦¬¨â¥ ESC." |
918 | db 0 |
Line 869... | Line 919... | ||
869 | 919 | ||
870 | cursor dd 32*32 dup(0x00000000) ; ¢á¥ à ¢® ᮦ¬¥âáï |
920 | cursor dd 32*32 dup(0x00000000) ; ¢á¥ à ¢® ᮦ¬¥âáï |