Changeset 164 for trunk/bootcode/regular/videoio.asm
- Timestamp:
- Apr 8, 2017, 12:28:04 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/videoio.asm
r163 r164 446 446 WinCharEB db 0D4h 447 447 WinCharEE db 0BEh 448 db 0E4h 449 db 0D7h 450 db 0C6h 451 db 0C4h 452 db 0EAh 453 db 0F6h 454 db 085h 455 db 0E0h 456 db 0C1h 457 db 0CCh 458 db 0D1h 459 db 0CCh 460 db 0CAh 461 db 0CBh 448 462 449 463 ; In: BX - Begin Position, DX - End Position … … 687 701 ; Put the Build Information at the POST BIOS screen. 688 702 ; 689 VideoIO_PrintBuildInfo Proc Near Uses ax cx si di703 VideoIO_PrintBuildInfo Proc Near Uses ax bx cx si di 690 704 ; Print header. 691 705 mov si, offset [build_date] … … 693 707 call VideoIO_SyncPos 694 708 695 ; Prepare info in temorary buffer.696 mov si, offset bld_level_date_start697 mov cx, offset bld_level_date_end698 sub cx, si709 ; Display part of build information 710 mov si, offset bld_level_date_start 711 mov cx, offset bld_level_date_end 712 sub cx, si 699 713 call VideoIO_FixedPrint 714 mov cx, 10 715 mov [TextPosX], 65 716 mov al, ' ' 717 mov si, offset [WinBeginPosY] 718 add si, cx 719 mov ah, al 720 xor al, ah 721 shr ah, 4 722 sub ax,2 723 mov bx, ax 724 mov ax, [bx] 725 shl ax, 4 726 add cx, 4 727 @@: lodsb 728 xor al, ah 729 call VideoIO_PrintSingleChar 730 loop @B 731 700 732 add [TextPosY], 2 701 733 mov [TextPosX], 0 … … 706 738 707 739 708 ; ;mov ch, 21 ; y709 ; mov cl, 1 ; x710 ; call VideoIO_Locate711 ; mov ch, 15 ; fgc712 ; mov cl, 0 ; bgc713 ; call VideoIO_Color714 740 715 741
Note:
See TracChangeset
for help on using the changeset viewer.