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

Moved the AuxIO initialization to an earlier stage [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

    r141 r142  
    9191IFDEF   AUX_DEBUG
    9292        IF 1
    93         DBG_TEXT_OUT_AUX    'PRECRAP_Main'
     93        DBG_TEXT_OUT_AUX    'PRECRAP_Main:'
    9494        PUSHRF
    9595            ;~ call    DEBUG_DumpRegisters
     
    158158        call    VideoIO_PrintBuildInfo
    159159
    160     IFDEF   AUX_DEBUG
    161         ; Initialize the com-port for debugging
    162         call     AuxIO_Init
    163     ENDIF
     160; Show message if com-port debugging is active
     161IFDEF   AUX_DEBUG
     162        ; Don't show message if com-port debugging is not active
     163        mov     dx, [BIOS_AuxParms]
     164        test    dl, dl
     165        jz      @F
     166
     167        ; Show initialization message
     168        mov     si, offset AuxInitMsg
     169        call    MBR_Teletype
     170
     171        ; Sync output position
     172        call    VideoIO_SyncPos
     173
     174        ; Show port number
     175        mov     al, dl
     176        call    VideoIO_PrintByteDynamicNumber
     177        xor     si, si
     178        call    MBR_TeletypeNL
     179    @@:
     180ENDIF
    164181
    165182        xor     si,si
     
    181198        ;! was loaded from a disk where the MBR cannot be written !
    182199        ;!
    183 
    184 
    185 IFDEF   AUX_DEBUG
    186     IF 1
    187     call     DEBUG_Dump1
    188     ENDIF
    189 ENDIF
    190200
    191201
Note: See TracChangeset for help on using the changeset viewer.