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

Updated debug hooks (debugging) [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/regular/debug.asm

    r107 r111  
    108108; Dump the geometry.
    109109;
    110 IF  0
     110IF 0
    111111DEBUG_DumpGeo   Proc
    112112        pushf
     
    168168; Dump the internal partition table.
    169169;
    170 IF  0
     170IF 0
    171171DEBUG_DumpIPT   Proc
    172172        pushf
     
    194194; Dump the new  partitions table.
    195195;
    196 IF  0
     196IF 0
    197197DEBUG_DumpNewPartTable  Proc
    198198        pushf
     
    218218; Dump the partition pointers table.
    219219;
    220 IF  0
     220IF 0
    221221DEBUG_DumpPartitionPointers     Proc
    222222        pushf
     
    249249; Dump the partition x-ref table.
    250250;
    251 IF  0
     251IF 0
    252252xrt     db  10,'XrefTable:',10,0
    253253DEBUG_DumpPartitionXref     Proc
     
    283283; Dump the dl-feature drive-letters.
    284284;
    285 IF  0
     285IF 0
    286286ddl     db  10,'Driveletters:',10,0
    287287DEBUG_DumpDriveLetters      Proc
     
    326326; Dump some disk information.
    327327;
    328 IF  1
     328IF 0
    329329ddi     db  10,'DumpDiskInfo:',10,0
    330330DEBUG_DumpDiskInfo          Proc
     
    375375; Dump the lvm volume drive-letters.
    376376;
    377 IF  0
     377IF 0
    378378dvl     db  10,'VolumeLetters:',10,0
    379379DEBUG_DumpVolumeLetters     Proc
     
    408408; Dump the registers and flags.
    409409;
    410 IF  1
     410IF 1
    411411regAX   db  'AX:',0
    412412regBX   db  ' BX:',0
     
    562562; Dump CHS values.
    563563;
    564 IF  0
     564IF 0
    565565DEBUG_DumpCHS   Proc    Near
    566566        pushf
     
    607607; Dump BSS.
    608608;
    609 IF  0
     609IF 0
    610610DEBUG_DumpBSSSectors    Proc    Near
    611611        pushf
     
    648648; Dump 6-bit packed hide partition table.
    649649;
    650 IF  0
     650IF 0
    651651DEBUG_DumpHidePartTables    Proc    Near
    652652        pushf
     
    697697; if its 'IF' directive is 0.
    698698;
    699 IF  1
     699IF 1
    700700DEBUG_Test  Proc
    701701    pushf
     
    764764; Test the simple 32-bit math functions.
    765765;
    766 IF  0
     766IF 0
    767767db_testmul32   db "## TEST MUL32 ##",10,0
    768768DEBUG_Test_MATH_Mul32   Proc    Near
     
    852852; Test the bitfield routines.
    853853;
    854 IF  0
     854IF 0
    855855DEBUG_TestBitFieldFunctions Proc
    856856        pushf
     
    947947; Dump information before the partition is booted.
    948948;
    949 IF  0
     949IF 0
    950950DEBUG_Dump2     Proc  Near
    951951        pushf
     
    10421042dbp     db  '>---------->> DebugProbe: ',0
    10431043DEBUG_Probe     Proc
    1044 IF  0
     1044IF 0
    10451045        push    bp
    10461046        mov     bp,sp
     
    10711071; Toggle display of debug video page.
    10721072;
    1073 IF  0
     1073IF 0
    10741074DEBUG_DebugScreenToggle Proc
    10751075        pushf
     
    12191219; is enabled.
    12201220;
    1221 dlra    db  10,'LVM_DoLetterReassignment: ',0
     1221;~ dlra    db  10,'LVM_DoLetterReassignment: ',0
    12221222ptetb   db  10,'Partition Table Entry to boot',10,0
    12231223bios_reg    db  10,'Registers passed by BIOS:',10,0
    12241224;~ diopmbr db  10,'DriveIO_ProtectMBR',10,0
    1225 dioss   db  10,'DriveIO_SaveSector',10,0
    12261225
    12271226
Note: See TracChangeset for help on using the changeset viewer.