Changeset 111 for trunk/bootcode/regular/other.asm
- Timestamp:
- Apr 8, 2017, 12:27:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/other.asm
r105 r111 89 89 ; 90 90 PRECRAP_Main Proc Near 91 92 IFDEF AUX_DEBUG 93 IF 0 94 pushf 95 pusha 96 push si 97 mov si, offset $+5 98 jmp @F 99 db 10,'PRECRAP_Main:',10,0 100 @@: 101 call AuxIO_Print 102 pop si 103 ;~ call DEBUG_DumpRegisters 104 ;~ call AuxIO_DumpParagraph 105 ;~ call AuxIO_TeletypeNL 106 popa 107 popf 108 ENDIF 109 ENDIF 91 110 92 111 ; First initialize Variable-Area (everything with NUL) … … 180 199 int 13h 181 200 201 ; ============================================================================= 182 202 183 203 ; Start with disk at index 0 … … 206 226 207 227 pushf 208 209 ;~ mov al,'#'210 ;~ pushf211 ;~ call VideoIO_PrintSingleChar212 ;~ popf213 ;~ mov al,0214 ;~ rcl al,1215 ;~ call VideoIO_PrintHexByte216 ;~ mov al,'#'217 ;~ call VideoIO_PrintSingleChar218 228 219 229 mov bx, offset [TrueSecs] … … 264 274 jb PRECRAP_Main_next_disk 265 275 266 276 ; ============================================================================= 267 277 268 278 IFDEF AUX_DEBUG … … 292 302 293 303 ; Huge Disk indicator 294 mov si, offset [HugeBootDisk]295 call MBR_Teletype296 mov al,[HugeDisk]297 mov si, offset [No]298 test al,al299 jz MBR_HugeDriveIndicator300 mov si, offset [Yes]304 ;~ mov si, offset [HugeBootDisk] 305 ;~ call MBR_Teletype 306 ;~ mov al,[HugeDisk] 307 ;~ mov si, offset [No] 308 ;~ test al,al 309 ;~ jz MBR_HugeDriveIndicator 310 ;~ mov si, offset [Yes] 301 311 302 312 MBR_HugeDriveIndicator: 303 call MBR_Teletype304 xor si,si305 call MBR_TeletypeNL313 ;~ call MBR_Teletype 314 ;~ xor si,si 315 ;~ call MBR_TeletypeNL 306 316 307 317 … … 323 333 call MBR_TeletypeNL 324 334 335 ; ============================================================================= 325 336 326 337 ; Calculate Cooper-Bar Tables … … 438 449 439 450 AFTERCRAP_Main Proc Near 451 452 IFDEF AUX_DEBUG 453 IF 0 454 pushf 455 pusha 456 push si 457 mov si, offset $+5 458 jmp @F 459 db 10,'AFTERCRAP_Main:',10,0 460 @@: 461 call AuxIO_Print 462 pop si 463 ;~ call DEBUG_DumpRegisters 464 ;~ call AuxIO_DumpParagraph 465 ;~ call AuxIO_TeletypeNL 466 popa 467 popf 468 ENDIF 469 ENDIF 470 440 471 ; =================================================== 441 472 ; Now get volume label of FloppyDrive, if wanted... … … 455 486 ; Checks Configuration CheckSum...Displays message, if failed. 456 487 PRECRAP_CheckConfiguration Proc Near Uses ds si es di 488 489 IFDEF AUX_DEBUG 490 IF 0 491 pushf 492 pusha 493 push si 494 mov si, offset $+5 495 jmp @F 496 db 10,'PRECRAP_CheckConfiguration:',10,0 497 @@: 498 call AuxIO_Print 499 pop si 500 ;~ call DEBUG_DumpRegisters 501 ;~ call AuxIO_DumpParagraph 502 ;~ call AuxIO_TeletypeNL 503 popa 504 popf 505 ENDIF 506 ENDIF 507 457 508 mov si, offset Configuration 458 509 xor bx, bx
Note:
See TracChangeset
for help on using the changeset viewer.