Changeset 245 for trunk/bootcode/regular/videoio.asm
- Timestamp:
- Jul 10, 2018, 2:05:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/videoio.asm
r244 r245 460 460 db 0CAh 461 461 db 0CBh 462 db 085h 463 db 0D5h 464 db 0C4h 465 db 0D7h 466 db 0C4h 467 db 085h 462 468 463 469 ; In: BX - Begin Position, DX - End Position … … 701 707 ; Put the Build Information at the POST BIOS screen. 702 708 ; 703 VideoIO_PrintBuildInfo Proc Near Uses ax bx cx si di709 VideoIO_PrintBuildInfo Proc Near Uses ax bx dx cx si di 704 710 ; Print header. 705 711 mov si, offset [build_date] … … 713 719 call VideoIO_FixedPrint 714 720 mov cx, 10 721 xor dx, dx 715 722 mov [TextPosX], 65 716 723 mov al, ' ' … … 729 736 push [si+bx+02] 730 737 push [si+bx+04] 738 mov dx, 5 731 739 mov di, si 732 740 add di, bx 733 741 add si, 17 734 742 mov cx, 7 743 add cx, dx 744 inc cx 735 745 cld 736 746 rep movsb 737 747 xchg bx, cx 738 mov al, 085h739 stosb740 748 pop [di+bx+04] 741 749 pop [di+bx+02] 742 750 pop [di+bx+00] 743 751 pop si 752 sub [TextPosX], dl 744 753 xchg ah, al 745 754 @@: … … 753 762 shl ax, 4 754 763 add cx, 4 764 add cx, dx 755 765 @@: lodsb 756 766 xor al, ah 757 767 call VideoIO_PrintSingleChar 758 768 loop @B 759 760 769 add [TextPosY], 2 761 770 mov [TextPosX], 0 762 771 call MBR_TeletypeSyncPos 763 764 772 ret 765 773 VideoIO_PrintBuildInfo EndP
Note:
See TracChangeset
for help on using the changeset viewer.