Changeset 163
- Timestamp:
- Apr 8, 2017, 12:28:03 AM (8 years ago)
- Location:
- trunk/bootcode/regular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/std_text.asm
r161 r163 104 104 105 105 ; Build Information string. 106 build_ infodb 'Build Date: ',0106 build_date db 'Build Date: ',0 107 107 jwasm_txt db 'JWasm',0 108 108 masm_txt db 'Masm',0 -
trunk/bootcode/regular/videoio.asm
r162 r163 689 689 VideoIO_PrintBuildInfo Proc Near Uses ax cx si di 690 690 ; Print header. 691 mov si, offset build_info691 mov si, offset [build_date] 692 692 call MBR_Teletype 693 call VideoIO_SyncPos 693 694 694 695 ; Prepare info in temorary buffer. … … 696 697 mov cx,offset bld_level_date_end 697 698 sub cx,si 698 mov di,offset Scratch 699 cld 700 rep movsb 701 702 ; Fill spaces until assembler specification. 703 mov al,' ' 704 mov cx,37 705 rep stosb 706 707 ; Copy assembler specification. 708 IFDEF JWASM 709 mov al,'[' 710 stosb 711 mov si,offset jwasm_txt 712 ELSEIFDEF TASM 713 mov al,' ' 714 stosb 715 mov al,'[' 716 stosb 717 mov si,offset tasm_txt 718 719 ELSEIFDEF WASM 720 mov al,' ' 721 stosb 722 mov al,'[' 723 stosb 724 mov si,offset wasm_txt 725 ELSEIFDEF MASM 726 mov al,' ' 727 stosb 728 mov al,'[' 729 stosb 730 mov si,offset masm_txt 731 ELSE 732 mov al,' ' 733 stosb 734 mov al,'[' 735 stosb 736 mov si,offset unknown_txt 737 ENDIF 738 739 VideoIO_PrintBuildInfo_a1: 740 lodsb 741 test al,al 742 jz VideoIO_PrintBuildInfo_e1 743 stosb 744 jmp VideoIO_PrintBuildInfo_a1 745 VideoIO_PrintBuildInfo_e1: 746 mov al,']' 747 stosb 748 749 ; Insert NULL Terminator. 750 xor al,al 751 stosb 752 753 ; Print Info. 754 mov si, offset Scratch 755 call MBR_TeletypeNL 699 call VideoIO_FixedPrint 700 add [TextPosY], 2 701 mov [TextPosX], 0 702 call MBR_TeletypeSyncPos 703 756 704 ret 757 705 VideoIO_PrintBuildInfo EndP
Note:
See TracChangeset
for help on using the changeset viewer.