Changeset 117 for trunk/bootcode/regular/other.asm
- Timestamp:
- Apr 8, 2017, 12:27:15 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/other.asm
r111 r117 167 167 168 168 ; Copyright 169 mov si, offset Copyright169 mov si, [offset Copyright] 170 170 call MBR_Teletype 171 171 xor si,si … … 198 198 mov ah, 03h 199 199 int 13h 200 ;! 201 ;! TODO: Check success 202 ;! Yes, we should check for errors here, coz it would mean AirBoot 203 ;! was loaded from a disk where the MBR cannot be written ! 204 ;! 200 205 201 206 ; ============================================================================= … … 227 232 pushf 228 233 229 mov bx, offset [TrueSecs] 230 add bx,cx 231 add bx,cx 232 add bx,cx 233 add bx,cx 234 mov bx, offset [TrueSecs] 235 add bx,cx 236 add bx,cx 237 add bx,cx 238 add bx,cx 239 240 IFDEF AUX_DEBUG 241 IF 0 242 pushf 243 pusha 244 mov al, '#' 245 call AuxIO_Teletype 246 mov ax, [bx] 247 call AuxIO_TeletypeHexWord 248 mov al, '#' 249 call AuxIO_Teletype 250 call AuxIO_TeletypeNL 251 popa 252 popf 253 ENDIF 254 ENDIF 255 234 256 popf 235 257 … … 276 298 ; ============================================================================= 277 299 278 279 ; Write some debug-info to the com-port280 300 IFDEF AUX_DEBUG 301 IF 1 302 call DEBUG_Dump1 281 303 ENDIF 304 ENDIF 282 305 283 306 ;~ jz NoValidMasterLVM … … 299 322 ; call AuxIO_TeletypeNL 300 323 301 324 ;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 302 325 303 326 ; Huge Disk indicator … … 392 415 call PRECRAP_CheckConfiguration 393 416 417 418 IFDEF AUX_DEBUG 419 IF 1 420 mov dl, [BIOS_BootDisk] 421 ;~ mov dl, 81h 422 call DriveIO_LocateMasterLVMSector 423 call DEBUG_DumpRegisters 424 mov si, offset [TmpSector] 425 call AuxIO_DumpSector 426 ENDIF 427 ENDIF 394 428 395 429 ; =======================================
Note:
See TracChangeset
for help on using the changeset viewer.