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/other.asm

    r121 r123  
    8484
    8585
    86 
    8786;
    8887; DO PREPARING STUFF.
     
    9190
    9291IFDEF   AUX_DEBUG
    93         IF 0
    94         pushf
    95         pusha
    96             push    si
    97             mov     si, offset $+5
    98             jmp     @F
    99             db      10,'PRECRAP_Main:',10,0
    100             @@:
    101             call    AuxIO_Print
    102             pop     si
     92        IF 1
     93        DBG_TEXT_OUT_AUX    'PRECRAP_Main'
     94        PUSHRF
    10395            ;~ call    DEBUG_DumpRegisters
    10496            ;~ call    AuxIO_DumpParagraph
    10597            ;~ call    AuxIO_TeletypeNL
    106         popa
    107         popf
     98        POPRF
    10899        ENDIF
    109100ENDIF
     
    475466IFDEF   AUX_DEBUG
    476467        IF 0
    477         pushf
    478         pusha
    479             push    si
    480             mov     si, offset $+5
    481             jmp     @F
    482             db      10,'AFTERCRAP_Main:',10,0
    483             @@:
    484             call    AuxIO_Print
    485             pop     si
     468        DBG_TEXT_OUT_AUX    'AFTERCRAP_Main:'
     469        PUSHRF
    486470            ;~ call    DEBUG_DumpRegisters
    487471            ;~ call    AuxIO_DumpParagraph
    488472            ;~ call    AuxIO_TeletypeNL
    489         popa
    490         popf
     473        POPRF
    491474        ENDIF
    492475ENDIF
     
    512495IFDEF   AUX_DEBUG
    513496        IF 0
    514         pushf
    515         pusha
    516             push    si
    517             mov     si, offset $+5
    518             jmp     @F
    519             db      10,'PRECRAP_CheckConfiguration:',10,0
    520             @@:
    521             call    AuxIO_Print
    522             pop     si
     497        DBG_TEXT_OUT_AUX    'PRECRAP_CheckConfiguration:'
     498        PUSHRF
    523499            ;~ call    DEBUG_DumpRegisters
    524500            ;~ call    AuxIO_DumpParagraph
    525501            ;~ call    AuxIO_TeletypeNL
    526         popa
    527         popf
     502        POPRF
    528503        ENDIF
    529504ENDIF
Note: See TracChangeset for help on using the changeset viewer.