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

Updated all debug hooks to use the new macros [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/special/lvm.asm

    r118 r123  
    5959IFDEF   AUX_DEBUG
    6060        IF 0
    61         pushf
    62         pusha
    63             push    si
    64             mov     si, offset $+5
    65             jmp     @F
    66             db      10,'LVM_GetSectorCRC:',10,0
    67             @@:
    68             call    AuxIO_Print
    69             pop     si
     61        DBG_TEXT_OUT_AUX    'LVM_GetSectorCRC:'
     62        PUSHRF
    7063            ;~ call    DEBUG_DumpRegisters
    7164            ;~ call    AuxIO_DumpParagraph
    7265            ;~ call    AuxIO_TeletypeNL
    73         popa
    74         popf
     66        POPRF
    7567        ENDIF
    7668ENDIF
     
    198190IFDEF   AUX_DEBUG
    199191        IF 0
    200         pushf
    201         pusha
    202             push    si
    203             mov     si, offset $+5
    204             jmp     @F
    205             db      10,'LVM_SearchForPartition:',10,0
    206             @@:
    207             call    AuxIO_Print
    208             pop     si
     192        DBG_TEXT_OUT_AUX    'LVM_SearchForPartition:'
     193        PUSHRF
    209194            call    DEBUG_DumpRegisters
    210195            ;~ call    AuxIO_DumpParagraph
    211196            ;~ call    AuxIO_TeletypeNL
    212         popa
    213         popf
     197        POPRF
    214198        ENDIF
    215199ENDIF
     
    247231IFDEF   AUX_DEBUG
    248232        IF 0
    249         pushf
    250         pusha
    251             push    si
    252             mov     si, offset $+5
    253             jmp     @F
    254             db      10,'LVM_GetDriveLetter:',10,0
    255             @@:
    256             call    AuxIO_Print
    257             pop     si
     233        DBG_TEXT_OUT_AUX    'LVM_GetDriveLetter:'
     234        PUSHRF
    258235            ;~ call    DEBUG_DumpRegisters
    259236            ;~ call    AuxIO_DumpParagraph
    260237            ;~ call    AuxIO_TeletypeNL
    261         popa
    262         popf
     238        POPRF
    263239        ENDIF
    264240ENDIF
     
    410386IFDEF   AUX_DEBUG
    411387        IF 0
    412         pusha
    413             push    si
    414             mov     si, offset $+5
    415             jmp     @F
    416             db      10,'LVM_GetDriveLetter:',10,0
    417             @@:
    418             call    AuxIO_Print
    419             pop     si
     388        DBG_TEXT_OUT_AUX    'LVM_GetDriveLetter:'
     389        PUSHRF
    420390            call    DEBUG_DumpRegisters
    421391            call    AuxIO_DumpParagraph
    422392            call    AuxIO_TeletypeNL
    423         popa
     393        POPRF
    424394        ENDIF
    425395ENDIF
     
    482452IFDEF   AUX_DEBUG
    483453        IF 0
    484         pushf
    485         pusha
    486             push    si
    487             mov     si, offset $+5
    488             jmp     @F
    489             db      10,'LVM_SetDriveLetter:',10,0
    490             @@:
    491             call    AuxIO_Print
    492             pop     si
     454        DBG_TEXT_OUT_AUX    'LVM_SetDriveLetter:'
     455        PUSHRF
    493456            ;~ call    DEBUG_DumpRegisters
    494457            ;~ call    AuxIO_DumpParagraph
    495458            ;~ call    AuxIO_TeletypeNL
    496         popa
    497         popf
     459        POPRF
    498460        ENDIF
    499461ENDIF
     
    624586IFDEF   AUX_DEBUG
    625587        IF 0
    626         pushf
    627         pusha
    628             push    si
    629             mov     si, offset $+5
    630             jmp     @F
    631             db      10,'LVM_RemoveVolLetterFromSector:',10,0
    632             @@:
    633             call    AuxIO_Print
    634             pop     si
     588        DBG_TEXT_OUT_AUX    'LVM_RemoveVolLetterFromSector:'
     589        PUSHRF
    635590            ;~ call    DEBUG_DumpRegisters
    636591            ;~ call    AuxIO_DumpParagraph
    637592            ;~ call    AuxIO_TeletypeNL
    638         popa
    639         popf
     593        POPRF
    640594        ENDIF
    641595ENDIF
     
    673627IFDEF   AUX_DEBUG
    674628        IF 0
    675         pushf
    676         pusha
    677             push    si
    678             mov     si, offset $+5
    679             jmp     @F
    680             db      10,'LVM_DoLetterReassignment:',10,0
    681             @@:
    682             call    AuxIO_Print
    683             pop     si
     629        DBG_TEXT_OUT_AUX    'LVM_DoLetterReassignment:'
     630        PUSHRF
    684631            ;~ call    DEBUG_DumpRegisters
    685632            ;~ call    AuxIO_DumpParagraph
    686633            ;~ call    AuxIO_TeletypeNL
    687         popa
    688         popf
     634        POPRF
    689635        ENDIF
    690636ENDIF
Note: See TracChangeset for help on using the changeset viewer.