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/regular/partmain.asm

    r118 r123  
    517517IFDEF   AUX_DEBUG
    518518        IF 0
    519         pushf
    520         pusha
    521             push    si
    522             mov     si, offset $+5
    523             jmp     @F
    524             db      10,'PART_HidePartition:',10,0
    525             @@:
    526             call    AuxIO_Print
    527             pop     si
     519        DBG_TEXT_OUT_AUX    'PART_HidePartition:'
     520        PUSHRF
    528521            ;~ call    DEBUG_DumpRegisters
    529522            ;~ call    AuxIO_DumpParagraph
    530523            ;~ call    AuxIO_TeletypeNL
    531         popa
    532         popf
     524        POPRF
    533525        ENDIF
    534526ENDIF
     
    588580IFDEF   AUX_DEBUG
    589581        IF 0
    590         pushf
    591         pusha
    592             push    si
    593             mov     si, offset $+5
    594             jmp     @F
    595             db      10,'PART_MarkFirstGoodPrimary:',10,0
    596             @@:
    597             call    AuxIO_Print
    598             pop     si
     582        DBG_TEXT_OUT_AUX    'PART_MarkFirstGoodPrimary:'
     583        PUSHRF
    599584            ;~ call    DEBUG_DumpRegisters
    600585            ;~ call    AuxIO_DumpParagraph
    601586            ;~ call    AuxIO_TeletypeNL
    602         popa
    603         popf
     587        POPRF
    604588        ENDIF
    605589ENDIF
     
    987971IFDEF   AUX_DEBUG
    988972        IF 0
    989         pushf
    990         pusha
    991             push    si
    992             mov     si, offset $+5
    993             jmp     @F
    994             db      10,'PART_StartPartition:',10,0
    995             @@:
    996             call    AuxIO_Print
    997             pop     si
     973        DBG_TEXT_OUT_AUX    'PART_StartPartition:'
     974        PUSHRF
    998975            ;~ call    DEBUG_DumpRegisters
    999976            ;~ call    AuxIO_DumpParagraph
    1000977            ;~ call    AuxIO_TeletypeNL
    1001         popa
    1002         popf
     978        POPRF
    1003979        ENDIF
    1004980ENDIF
     
    19731949
    19741950IFDEF   AUX_DEBUG
    1975         IF 1
     1951        IF 0
    19761952        pushf
    19771953        pusha
     
    22402216IFDEF   AUX_DEBUG
    22412217        IF 0
    2242         pushf
    2243         pusha
    2244             push    si
    2245             mov     si, offset $+5
    2246             jmp     @F
    2247             db      10,'PART_IsPrimaryPartition:',10,0
    2248             @@:
    2249             call    AuxIO_Print
    2250             pop     si
     2218        DBG_TEXT_OUT_AUX    'PART_IsPrimaryPartition:'
     2219        PUSHRF
    22512220            ;~ call    DEBUG_DumpRegisters
    22522221            ;~ call    AuxIO_DumpParagraph
    22532222            ;~ call    AuxIO_TeletypeNL
    2254         popa
    2255         popf
     2223        POPRF
    22562224        ENDIF
    22572225ENDIF
Note: See TracChangeset for help on using the changeset viewer.