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

    r108 r142  
    4646        jz      AuxIO_Init_NoLogging
    4747
     48        ; Adjust to valid port range
    4849        dec     dl                            ; adjust port-number
    4950        and     dl,03h                        ; 3 is max value
    50 
    51         ; Initialization message
    52         mov     si,offset AuxInitMsg
    53         call    MBR_Teletype
    54 
    55         ; Port number
    56         call    VideoIO_SyncPos
    57         mov     al,dl
    58         inc     al
    59         call    VideoIO_PrintByteDynamicNumber
    60         xor     si,si
    61         call    MBR_TeletypeNL
    6251
    6352        ; Do the initialization
     
    7564;
    7665AuxIO_PrintBuildInfo    Proc    Near    Uses ax cx si di
    77         ; Print header.
    78         mov     si, offset build_info
    79         call    AuxIO_Print
    80 
    81         ; Prepare info in temorary buffer.
    82         mov     si,offset bld_level_date_start
    83         mov     cx,offset bld_level_date_end
    84         sub     cx,si
    85         mov     di,offset Scratch
    86         cld
    87         rep     movsb
    88 
    89         ; Fill spaces until assembler specification.
    90         mov     al,' '
    91         mov     cx,37
    92         rep     stosb
    93 
    94         ; Copy assembler specification.
    95     IFDEF       JWASM
    96         mov     al,'['
    97         stosb
    98         mov     si,offset jwasm_txt
    99     ELSEIFDEF   TASM
    100         mov     al,' '
    101         stosb
    102         mov     al,'['
    103         stosb
    104         mov     si,offset tasm_txt
    105 
    106     ELSEIFDEF   WASM
    107         mov     al,' '
    108         stosb
    109         mov     al,'['
    110         stosb
    111         mov     si,offset wasm_txt
    112     ELSEIFDEF   MASM
    113         mov     al,' '
    114         stosb
    115         mov     al,'['
    116         stosb
    117         mov     si,offset masm_txt
    118     ELSE
    119         mov     al,' '
    120         stosb
    121         mov     al,'['
    122         stosb
    123         mov     si,offset unknown_txt
    124     ENDIF
    125 
    126     AuxIO_PrintBuildInfo_a1:
    127         lodsb
    128         test    al,al
    129         jz      AuxIO_PrintBuildInfo_e1
    130         stosb
    131         jmp     AuxIO_PrintBuildInfo_a1
    132     AuxIO_PrintBuildInfo_e1:
    133         mov     al,']'
    134         stosb
    135 
    136         ; Insert NULL Terminator.
    137         xor     al,al
    138         stosb
    139 
    140         ; Print Info.
    141         mov     si, offset Scratch
    142         call    AuxIO_Print
    143         call    AuxIO_TeletypeNL
    14466
    14567        ; OS/2 BLDLEVEL information.
     
    435357
    436358
    437 AuxIOHello  db 10,10,10,10,10,'AiR-BOOT com-port debugging',10,0
    438 
    439 
     359AuxIOHello  db 10,10,10,'<<<<< AiR-BOOT SERIAL DEBUGGER ACTIVE >>>>>',10,0
Note: See TracChangeset for help on using the changeset viewer.