Changeset 142 for trunk/bootcode/regular/auxio.asm
- Timestamp:
- Apr 8, 2017, 12:27:38 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/auxio.asm
r108 r142 46 46 jz AuxIO_Init_NoLogging 47 47 48 ; Adjust to valid port range 48 49 dec dl ; adjust port-number 49 50 and dl,03h ; 3 is max value 50 51 ; Initialization message52 mov si,offset AuxInitMsg53 call MBR_Teletype54 55 ; Port number56 call VideoIO_SyncPos57 mov al,dl58 inc al59 call VideoIO_PrintByteDynamicNumber60 xor si,si61 call MBR_TeletypeNL62 51 63 52 ; Do the initialization … … 75 64 ; 76 65 AuxIO_PrintBuildInfo Proc Near Uses ax cx si di 77 ; Print header.78 mov si, offset build_info79 call AuxIO_Print80 81 ; Prepare info in temorary buffer.82 mov si,offset bld_level_date_start83 mov cx,offset bld_level_date_end84 sub cx,si85 mov di,offset Scratch86 cld87 rep movsb88 89 ; Fill spaces until assembler specification.90 mov al,' '91 mov cx,3792 rep stosb93 94 ; Copy assembler specification.95 IFDEF JWASM96 mov al,'['97 stosb98 mov si,offset jwasm_txt99 ELSEIFDEF TASM100 mov al,' '101 stosb102 mov al,'['103 stosb104 mov si,offset tasm_txt105 106 ELSEIFDEF WASM107 mov al,' '108 stosb109 mov al,'['110 stosb111 mov si,offset wasm_txt112 ELSEIFDEF MASM113 mov al,' '114 stosb115 mov al,'['116 stosb117 mov si,offset masm_txt118 ELSE119 mov al,' '120 stosb121 mov al,'['122 stosb123 mov si,offset unknown_txt124 ENDIF125 126 AuxIO_PrintBuildInfo_a1:127 lodsb128 test al,al129 jz AuxIO_PrintBuildInfo_e1130 stosb131 jmp AuxIO_PrintBuildInfo_a1132 AuxIO_PrintBuildInfo_e1:133 mov al,']'134 stosb135 136 ; Insert NULL Terminator.137 xor al,al138 stosb139 140 ; Print Info.141 mov si, offset Scratch142 call AuxIO_Print143 call AuxIO_TeletypeNL144 66 145 67 ; OS/2 BLDLEVEL information. … … 435 357 436 358 437 AuxIOHello db 10,10,10,10,10,'AiR-BOOT com-port debugging',10,0 438 439 359 AuxIOHello db 10,10,10,'<<<<< AiR-BOOT SERIAL DEBUGGER ACTIVE >>>>>',10,0
Note:
See TracChangeset
for help on using the changeset viewer.