Changeset 46 for trunk/BOOTCODE/REGULAR/AUXIO.ASM
- Timestamp:
- Apr 12, 2014, 8:23:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/REGULAR/AUXIO.ASM
r45 r46 71 71 72 72 73 ; 74 ; Send the Build Information to the COM-port. 75 ; 76 AuxIO_PrintBuildInfo Proc Near Uses ax cx si di 77 ; Print header. 78 mov si, offset build_info 79 call AuxIO_Print 80 81 ; Prepare info in temorary buffer. 82 mov si,offset bld_level_date_start 83 mov cx,offset bld_level_date_end 84 sub cx,si 85 mov di,offset Scratch 86 cld 87 rep movsb 88 89 ; Fill spaces until assembler specification. 90 mov al,' ' 91 mov cx,37 92 rep stosb 93 94 ; Copy assembler specification. 95 IFDEF JWASM 96 mov al,'[' 97 stosb 98 mov si,offset jwasm_txt 99 ENDIF 100 IFDEF TASM 101 mov al,' ' 102 stosb 103 mov al,'[' 104 stosb 105 mov si,offset tasm_txt 106 ENDIF 107 IFDEF WASM 108 mov al,' ' 109 stosb 110 mov al,'[' 111 stosb 112 mov si,offset wasm_txt 113 ENDIF 114 IFDEF MASM 115 mov al,' ' 116 stosb 117 mov al,'[' 118 stosb 119 mov si,offset masm_txt 120 ELSE 121 mov al,' ' 122 stosb 123 mov al,'[' 124 stosb 125 mov si,offset unknown_txt 126 ENDIF 127 AuxIO_PrintBuildInfo_a1: 128 lodsb 129 test al,al 130 jz AuxIO_PrintBuildInfo_e1 131 stosb 132 jmp AuxIO_PrintBuildInfo_a1 133 AuxIO_PrintBuildInfo_e1: 134 mov al,']' 135 stosb 136 137 ; Insert NULL Terminator. 138 xor al,al 139 stosb 140 141 ; Print Info. 142 mov si, offset Scratch 143 call AuxIO_Print 144 call AuxIO_TeletypeNL 145 ret 146 AuxIO_PrintBuildInfo EndP 147 73 148 74 149 ; Print char to com-port (teletype style)
Note:
See TracChangeset
for help on using the changeset viewer.