Ignore:
Timestamp:
Apr 8, 2017, 12:28:04 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Flushed changes in local cache (debugging state) [v1.1.1-testing]

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/airboot.asm

    r162 r164  
    11211121
    11221122
    1123 ;!
    1124 ;! DEBUG_BLOCK
    1125 ;! Dump the registers at this point.
    1126 ;!
    1127 IFDEF   AUX_DEBUG
    1128         IF 0
    1129         pushf
    1130         pusha
    1131             ;~ call    DEBUG_DumpRegisters
    1132             ;~ call    DEBUG_DumpDriveLetters
    1133             ;~ call    DEBUG_DumpVolumeLetters
    1134             ;~ call    DEBUG_DumpPartitionXref
    1135         popa
    1136         popf
    1137         ENDIF
    1138 ENDIF
    11391123
    11401124; -----------------------------------------------------------------------------
     
    11581142        ;!
    11591143
     1144
     1145
    11601146; -----------------------------------------------------------------------------
    11611147;                                                                   SCAN DISKS
    11621148; -----------------------------------------------------------------------------
    11631149
     1150;!
     1151;! DEBUG_BLOCK
     1152;! Dump the registers at this point.
     1153;!
     1154IFDEF   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
     1163ENDIF
     1164
     1165
    11641166                ;
    11651167                ; Scan disks for information like size etc.
     
    11671169                call    DriveIO_ScanDisks
    11681170
     1171;!
     1172;! DEBUG_BLOCK
     1173;! Dump the registers at this point.
     1174;!
     1175IFDEF   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
     1184ENDIF
    11691185
    11701186
     
    11811197                ; Internal Partition Table is now populated.
    11821198                ;
    1183 
    11841199
    11851200;!
    11861201;! DEBUG_BLOCK
    11871202;! Dump various tables.
    1188 ;! Uncomment below to activate.
    11891203;!
    11901204IFDEF   AUX_DEBUG
    11911205        IF 0
    1192         pushf
    1193         pusha
     1206        PUSHRF
    11941207            ;~ call    DEBUG_DumpIPT
    11951208            ;~ call    DEBUG_DumpPartitionPointers
     
    11991212            ;~ call    DEBUG_DumpVolumeLetters
    12001213            ;~ call    DEBUG_DumpPartitionXref
    1201         popa
    1202         popf
     1214        POPRF
    12031215        ENDIF
    12041216ENDIF
     
    12251237IFDEF   AUX_DEBUG
    12261238        IF 0
    1227         pushf
    1228         pusha
     1239        PUSHRF
    12291240            ;~ call    DEBUG_DumpIPT
    12301241            ;~ call    DEBUG_DumpPartitionPointers
     
    12341245            ;~ call    DEBUG_DumpVolumeLetters
    12351246            ;~ call    DEBUG_DumpPartitionXref
    1236         popa
    1237         popf
     1247        POPRF
    12381248        ENDIF
    12391249ENDIF
     
    12771287
    12781288; -----------------------------------------------------------------------------
    1279 ;                                                     eComStation PHASE1 CHECK
     1289;                                                            OS/2 PHASE1 CHECK
    12801290; -----------------------------------------------------------------------------
    12811291
     
    13121322IFDEF   AUX_DEBUG
    13131323        IF 0
    1314         pushf
    1315         pusha
     1324        PUSHRF
    13161325            ;~ call    DEBUG_DumpIPT
    13171326            ;~ call    DEBUG_DumpPartitionPointers
     
    13191328            ;~ call    DEBUG_DumpNewPartTable
    13201329            ;~ call    DEBUG_DumpDriveLetters
    1321         popa
    1322         popf
     1330        POPRF
    13231331        ENDIF
    13241332ENDIF
     
    13411349IFDEF   AUX_DEBUG
    13421350        IF 0
    1343         pushf
    1344         pusha
     1351        PUSHRF
    13451352            ;~ call    DEBUG_DumpIPT
    13461353            ;~ call    DEBUG_DumpPartitionPointers
     
    13481355            ;~ call    DEBUG_DumpNewPartTable
    13491356            ;~ call    DEBUG_DumpDriveLetters
    1350         popa
    1351         popf
     1357        POPRF
    13521358        ENDIF
    13531359ENDIF
     
    13901396
    13911397
     1398
    13921399                ;
    13931400                ; Debug stop.
     
    15151522            ENDIF
    15161523
     1524IFDEF   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
     1534ENDIF
    15171535                ; BOOKMARK: Display bye-screen and start selected partition
    15181536                call    BOOTMENU_BuildGoodBye
     
    15481566IFDEF   AUX_DEBUG
    15491567        IF 0
    1550         pushf
    1551         pusha
     1568        PUSHRF
    15521569            ;~ call    DEBUG_DumpIPT
    15531570            ;~ call    DEBUG_DumpPartitionPointers
    15541571            ;~ call    DEBUG_DumpPartitionXref
    15551572            ;~ call    DEBUG_DumpNewPartTable
    1556         popa
    1557         popf
     1573        POPRF
    15581574        ENDIF
    15591575ENDIF
Note: See TracChangeset for help on using the changeset viewer.