Changeset 142
- Timestamp:
- Apr 8, 2017, 12:27:38 AM (8 years ago)
- Location:
- trunk/bootcode
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/airboot.asm
r141 r142 1005 1005 xor ax, ax 1006 1006 call FillMemBlock 1007 1008 ; Initialize the com-port for debugging 1009 IFDEF AUX_DEBUG 1010 PUSHRF 1011 ; Init com-port 1012 call AuxIO_Init 1013 ; Hello message 1014 mov si, offset [AuxIOHello] 1015 call AuxIO_Print 1016 ; Show Build Info 1017 call AuxIO_PrintBuildInfo 1018 call AuxIO_TeletypeNL 1019 POPRF 1020 ENDIF 1021 1022 ; Dump debug information 1023 IFDEF AUX_DEBUG 1024 IF 1 1025 call DEBUG_Dump1 1026 ENDIF 1027 ENDIF 1007 1028 1008 1029 ; Verify we still got the BIOS disk in DL -
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 -
trunk/bootcode/regular/debug.asm
r127 r142 908 908 pusha 909 909 910 ; Hello message911 mov si, offset AuxIOHello912 call AuxIO_Print913 914 ; Build Info915 ;~ mov si, offset BUILD_DATE916 ;~ call AuxIO_Print917 call AuxIO_PrintBuildInfo918 919 ; Start new line920 call AuxIO_TeletypeNL921 ;~ call AuxIO_TeletypeNL922 923 910 ;~ call DEBUG_DumpHidePartTables 924 911 ;~ call DEBUG_CheckMath -
trunk/bootcode/regular/other.asm
r141 r142 91 91 IFDEF AUX_DEBUG 92 92 IF 1 93 DBG_TEXT_OUT_AUX 'PRECRAP_Main '93 DBG_TEXT_OUT_AUX 'PRECRAP_Main:' 94 94 PUSHRF 95 95 ;~ call DEBUG_DumpRegisters … … 158 158 call VideoIO_PrintBuildInfo 159 159 160 IFDEF AUX_DEBUG 161 ; Initialize the com-port for debugging 162 call AuxIO_Init 163 ENDIF 160 ; Show message if com-port debugging is active 161 IFDEF AUX_DEBUG 162 ; Don't show message if com-port debugging is not active 163 mov dx, [BIOS_AuxParms] 164 test dl, dl 165 jz @F 166 167 ; Show initialization message 168 mov si, offset AuxInitMsg 169 call MBR_Teletype 170 171 ; Sync output position 172 call VideoIO_SyncPos 173 174 ; Show port number 175 mov al, dl 176 call VideoIO_PrintByteDynamicNumber 177 xor si, si 178 call MBR_TeletypeNL 179 @@: 180 ENDIF 164 181 165 182 xor si,si … … 181 198 ;! was loaded from a disk where the MBR cannot be written ! 182 199 ;! 183 184 185 IFDEF AUX_DEBUG186 IF 1187 call DEBUG_Dump1188 ENDIF189 ENDIF190 200 191 201
Note:
See TracChangeset
for help on using the changeset viewer.