Changeset 164
- Timestamp:
- Apr 8, 2017, 12:28:04 AM (8 years ago)
- Location:
- trunk/bootcode
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/airboot.asm
r162 r164 1121 1121 1122 1122 1123 ;!1124 ;! DEBUG_BLOCK1125 ;! Dump the registers at this point.1126 ;!1127 IFDEF AUX_DEBUG1128 IF 01129 pushf1130 pusha1131 ;~ call DEBUG_DumpRegisters1132 ;~ call DEBUG_DumpDriveLetters1133 ;~ call DEBUG_DumpVolumeLetters1134 ;~ call DEBUG_DumpPartitionXref1135 popa1136 popf1137 ENDIF1138 ENDIF1139 1123 1140 1124 ; ----------------------------------------------------------------------------- … … 1158 1142 ;! 1159 1143 1144 1145 1160 1146 ; ----------------------------------------------------------------------------- 1161 1147 ; SCAN DISKS 1162 1148 ; ----------------------------------------------------------------------------- 1163 1149 1150 ;! 1151 ;! DEBUG_BLOCK 1152 ;! Dump the registers at this point. 1153 ;! 1154 IFDEF AUX_DEBUG 1155 IF 0 1156 PUSHRF 1157 call DEBUG_DumpRegisters 1158 ;~ call DEBUG_DumpDriveLetters 1159 ;~ call DEBUG_DumpVolumeLetters 1160 ;~ call DEBUG_DumpPartitionXref 1161 POPRF 1162 ENDIF 1163 ENDIF 1164 1165 1164 1166 ; 1165 1167 ; Scan disks for information like size etc. … … 1167 1169 call DriveIO_ScanDisks 1168 1170 1171 ;! 1172 ;! DEBUG_BLOCK 1173 ;! Dump the registers at this point. 1174 ;! 1175 IFDEF AUX_DEBUG 1176 IF 0 1177 PUSHRF 1178 call DEBUG_DumpRegisters 1179 ;~ call DEBUG_DumpDriveLetters 1180 ;~ call DEBUG_DumpVolumeLetters 1181 ;~ call DEBUG_DumpPartitionXref 1182 POPRF 1183 ENDIF 1184 ENDIF 1169 1185 1170 1186 … … 1181 1197 ; Internal Partition Table is now populated. 1182 1198 ; 1183 1184 1199 1185 1200 ;! 1186 1201 ;! DEBUG_BLOCK 1187 1202 ;! Dump various tables. 1188 ;! Uncomment below to activate.1189 1203 ;! 1190 1204 IFDEF AUX_DEBUG 1191 1205 IF 0 1192 pushf 1193 pusha 1206 PUSHRF 1194 1207 ;~ call DEBUG_DumpIPT 1195 1208 ;~ call DEBUG_DumpPartitionPointers … … 1199 1212 ;~ call DEBUG_DumpVolumeLetters 1200 1213 ;~ call DEBUG_DumpPartitionXref 1201 popa 1202 popf 1214 POPRF 1203 1215 ENDIF 1204 1216 ENDIF … … 1225 1237 IFDEF AUX_DEBUG 1226 1238 IF 0 1227 pushf 1228 pusha 1239 PUSHRF 1229 1240 ;~ call DEBUG_DumpIPT 1230 1241 ;~ call DEBUG_DumpPartitionPointers … … 1234 1245 ;~ call DEBUG_DumpVolumeLetters 1235 1246 ;~ call DEBUG_DumpPartitionXref 1236 popa 1237 popf 1247 POPRF 1238 1248 ENDIF 1239 1249 ENDIF … … 1277 1287 1278 1288 ; ----------------------------------------------------------------------------- 1279 ; eComStationPHASE1 CHECK1289 ; OS/2 PHASE1 CHECK 1280 1290 ; ----------------------------------------------------------------------------- 1281 1291 … … 1312 1322 IFDEF AUX_DEBUG 1313 1323 IF 0 1314 pushf 1315 pusha 1324 PUSHRF 1316 1325 ;~ call DEBUG_DumpIPT 1317 1326 ;~ call DEBUG_DumpPartitionPointers … … 1319 1328 ;~ call DEBUG_DumpNewPartTable 1320 1329 ;~ call DEBUG_DumpDriveLetters 1321 popa 1322 popf 1330 POPRF 1323 1331 ENDIF 1324 1332 ENDIF … … 1341 1349 IFDEF AUX_DEBUG 1342 1350 IF 0 1343 pushf 1344 pusha 1351 PUSHRF 1345 1352 ;~ call DEBUG_DumpIPT 1346 1353 ;~ call DEBUG_DumpPartitionPointers … … 1348 1355 ;~ call DEBUG_DumpNewPartTable 1349 1356 ;~ call DEBUG_DumpDriveLetters 1350 popa 1351 popf 1357 POPRF 1352 1358 ENDIF 1353 1359 ENDIF … … 1390 1396 1391 1397 1398 1392 1399 ; 1393 1400 ; Debug stop. … … 1515 1522 ENDIF 1516 1523 1524 IFDEF AUX_DEBUG 1525 IF 0 1526 DBG_TEXT_OUT_AUX 'HALTING' 1527 PUSHRF 1528 ;~ call DEBUG_DumpRegisters 1529 ;~ call AuxIO_DumpParagraph 1530 ;~ call AuxIO_TeletypeNL 1531 @@: jmp @B 1532 POPRF 1533 ENDIF 1534 ENDIF 1517 1535 ; BOOKMARK: Display bye-screen and start selected partition 1518 1536 call BOOTMENU_BuildGoodBye … … 1548 1566 IFDEF AUX_DEBUG 1549 1567 IF 0 1550 pushf 1551 pusha 1568 PUSHRF 1552 1569 ;~ call DEBUG_DumpIPT 1553 1570 ;~ call DEBUG_DumpPartitionPointers 1554 1571 ;~ call DEBUG_DumpPartitionXref 1555 1572 ;~ call DEBUG_DumpNewPartTable 1556 popa 1557 popf 1573 POPRF 1558 1574 ENDIF 1559 1575 ENDIF -
trunk/bootcode/regular/driveio.asm
r157 r164 111 111 DBG_TEXT_OUT_AUX 'DriveIO_SaveConfiguration:' 112 112 PUSHRF 113 ;~call DEBUG_DumpRegisters113 call DEBUG_DumpRegisters 114 114 ;~ call AuxIO_DumpParagraph 115 115 ;~ call AuxIO_TeletypeNL … … 227 227 pop ds 228 228 mov si, 0075h 229 mov dh, ds:[si] ; 40:75 -> POST: Total Harddiscs == D L229 mov dh, ds:[si] ; 40:75 -> POST: Total Harddiscs == DH 230 230 pop si 231 231 pop ds … … 297 297 mov wptr cs:[CurPartition_Location+4], dx 298 298 mov wptr cs:[CurPartition_Location+6], cx ; Saves the location 299 mov si, offset PartitionSector; DS:SI - ExecBase299 mov si, offset [PartitionSector] ; DS:SI - ExecBase 300 300 301 301 … … 335 335 DBG_TEXT_OUT_AUX 'DriveIO_SavePartition:' 336 336 PUSHRF 337 ;~call DEBUG_DumpRegisters337 call DEBUG_DumpRegisters 338 338 ;~ call AuxIO_DumpParagraph 339 339 ;~ call AuxIO_TeletypeNL … … 456 456 457 457 IFDEF AUX_DEBUG 458 IF 1458 IF 0 459 459 DBG_TEXT_OUT_AUX 'DriveIO_LoadLVMSectorXBR:' 460 460 PUSHRF … … 492 492 493 493 IFDEF AUX_DEBUG 494 IF 1494 IF 0 495 495 DBG_TEXT_OUT_AUX 'LVMSecLoaded' 496 496 PUSHRF … … 616 616 617 617 IFDEF AUX_DEBUG 618 IF 1618 IF 0 619 619 DBG_TEXT_OUT_AUX 'DriveIO_SaveLVMSectorXBR:' 620 620 PUSHRF … … 658 658 659 659 IFDEF AUX_DEBUG 660 IF 1660 IF 0 661 661 DBG_TEXT_OUT_AUX 'LVMSecSaved' 662 662 PUSHRF … … 1108 1108 1109 1109 IFDEF AUX_DEBUG 1110 IF 11110 IF 0 1111 1111 DBG_TEXT_OUT_AUX 'DriveIO_LocateMasterLVMSector:' 1112 1112 PUSHRF … … 1338 1338 DBG_TEXT_OUT_AUX 'DriveIO_SaveSector:' 1339 1339 PUSHRF 1340 ;~call DEBUG_DumpRegisters1340 call DEBUG_DumpRegisters 1341 1341 ;~ call AuxIO_DumpParagraph 1342 1342 ;~ call AuxIO_TeletypeNL … … 1606 1606 1607 1607 IFDEF AUX_DEBUG 1608 IF 11608 IF 0 1609 1609 DBG_TEXT_OUT_AUX 'DriveIO_GatherDiskInfo:' 1610 1610 PUSHRF … … 1811 1811 1812 1812 IFDEF AUX_DEBUG 1813 IF 11813 IF 0 1814 1814 DBG_TEXT_OUT_AUX '[DISKINFO]' 1815 1815 PUSHRF … … 1861 1861 1862 1862 IFDEF AUX_DEBUG 1863 IF 11863 IF 0 1864 1864 DBG_TEXT_OUT_AUX 'DriveIO_ScanDisks:' 1865 1865 PUSHRF -
trunk/bootcode/regular/other.asm
r145 r164 90 90 91 91 IFDEF AUX_DEBUG 92 IF 192 IF 0 93 93 DBG_TEXT_OUT_AUX 'PRECRAP_Main:' 94 94 PUSHRF -
trunk/bootcode/regular/partmain.asm
r159 r164 980 980 981 981 IFDEF AUX_DEBUG 982 IF 1982 IF 0 983 983 DBG_TEXT_OUT_AUX 'PART_StartPartition:' 984 984 PUSHRF -
trunk/bootcode/regular/partscan.asm
r146 r164 411 411 mov bx, wptr [si+LocBRPT_RelativeBegin+2] 412 412 413 414 415 416 413 add ax, wptr [CurPartition_Location+0] ; +Partition-Absolute 417 414 adc bx, wptr [CurPartition_Location+2] ; sectors 418 419 415 420 416 ; Load the partition sector … … 520 516 pop di 521 517 522 523 524 518 IFDEF AUX_DEBUG 525 519 IF 0 526 DBG_TEXT_OUT_AUX ' LVMSector-2'520 DBG_TEXT_OUT_AUX 'Name' 527 521 PUSHRF 528 522 mov si, di … … 535 529 ENDIF 536 530 ENDIF 537 538 531 539 532 ; Check if this is an IBM-BM partition -
trunk/bootcode/regular/videoio.asm
r163 r164 446 446 WinCharEB db 0D4h 447 447 WinCharEE db 0BEh 448 db 0E4h 449 db 0D7h 450 db 0C6h 451 db 0C4h 452 db 0EAh 453 db 0F6h 454 db 085h 455 db 0E0h 456 db 0C1h 457 db 0CCh 458 db 0D1h 459 db 0CCh 460 db 0CAh 461 db 0CBh 448 462 449 463 ; In: BX - Begin Position, DX - End Position … … 687 701 ; Put the Build Information at the POST BIOS screen. 688 702 ; 689 VideoIO_PrintBuildInfo Proc Near Uses ax cx si di703 VideoIO_PrintBuildInfo Proc Near Uses ax bx cx si di 690 704 ; Print header. 691 705 mov si, offset [build_date] … … 693 707 call VideoIO_SyncPos 694 708 695 ; Prepare info in temorary buffer.696 mov si, offset bld_level_date_start697 mov cx, offset bld_level_date_end698 sub cx, si709 ; Display part of build information 710 mov si, offset bld_level_date_start 711 mov cx, offset bld_level_date_end 712 sub cx, si 699 713 call VideoIO_FixedPrint 714 mov cx, 10 715 mov [TextPosX], 65 716 mov al, ' ' 717 mov si, offset [WinBeginPosY] 718 add si, cx 719 mov ah, al 720 xor al, ah 721 shr ah, 4 722 sub ax,2 723 mov bx, ax 724 mov ax, [bx] 725 shl ax, 4 726 add cx, 4 727 @@: lodsb 728 xor al, ah 729 call VideoIO_PrintSingleChar 730 loop @B 731 700 732 add [TextPosY], 2 701 733 mov [TextPosX], 0 … … 706 738 707 739 708 ; ;mov ch, 21 ; y709 ; mov cl, 1 ; x710 ; call VideoIO_Locate711 ; mov ch, 15 ; fgc712 ; mov cl, 0 ; bgc713 ; call VideoIO_Color714 740 715 741 -
trunk/bootcode/special/lvm.asm
r158 r164 231 231 232 232 IFDEF AUX_DEBUG 233 IF 0233 IF 1 234 234 DBG_TEXT_OUT_AUX 'LVM_GetDriveLetter:' 235 235 PUSHRF … … 330 330 331 331 IFDEF AUX_DEBUG 332 IF 0332 IF 1 333 333 DBG_TEXT_OUT_AUX 'LVM_RemoveVolLetterFromSector:' 334 334 PUSHRF … … 371 371 372 372 IFDEF AUX_DEBUG 373 IF 0373 IF 1 374 374 DBG_TEXT_OUT_AUX 'LVM_DoLetterReassignment:' 375 375 PUSHRF
Note:
See TracChangeset
for help on using the changeset viewer.