Ignore:
Timestamp:
Apr 12, 2014, 8:23:32 AM (11 years ago)
Author:
Ben Rietbroek
Message:

Various Changes [2012-04-14]

WARNING!!

All commits upto and including the commit of [2012-05-13] contain
a severe bug!! Building from these sources and then disabling
the 'force LBA' feature while also using the drive-letter feature or
editing the label can DESTROY THE MBR on ALL ATTACHED DISKS!!
DO NOT DISABLE 'FORCE LBA USAGE' WHEN BUILT FROM THE THESE COMMITS!!

Changes

o Added BLDLEVEL support
o Enhanced Master Make
o Sanitized sources
o Support for Wasm and Masm6 (experimental)
o Renamed MBR_PROT.ASM to MBR-PROT.ASM
o Merged bitfield code Into Installer
o First steps for cross platform Installer
o More...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BOOTCODE/REGULAR/AUXIO.ASM

    r45 r46  
    7171
    7272
     73;
     74; Send the Build Information to the COM-port.
     75;
     76AuxIO_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.
     95IFDEF   JWASM
     96        mov     al,'['
     97        stosb
     98        mov     si,offset jwasm_txt
     99ENDIF
     100IFDEF   TASM
     101        mov     al,' '
     102        stosb
     103        mov     al,'['
     104        stosb
     105        mov     si,offset tasm_txt
     106ENDIF
     107IFDEF   WASM
     108        mov     al,' '
     109        stosb
     110        mov     al,'['
     111        stosb
     112        mov     si,offset wasm_txt
     113ENDIF
     114IFDEF   MASM
     115        mov     al,' '
     116        stosb
     117        mov     al,'['
     118        stosb
     119        mov     si,offset masm_txt
     120ELSE
     121        mov     al,' '
     122        stosb
     123        mov     al,'['
     124        stosb
     125        mov     si,offset unknown_txt
     126ENDIF
     127    AuxIO_PrintBuildInfo_a1:
     128        lodsb
     129        test    al,al
     130        jz      AuxIO_PrintBuildInfo_e1
     131        stosb
     132        jmp     AuxIO_PrintBuildInfo_a1
     133    AuxIO_PrintBuildInfo_e1:
     134        mov     al,']'
     135        stosb
     136
     137        ; Insert NULL Terminator.
     138        xor     al,al
     139        stosb
     140
     141        ; Print Info.
     142        mov     si, offset Scratch
     143        call    AuxIO_Print
     144        call    AuxIO_TeletypeNL
     145        ret
     146AuxIO_PrintBuildInfo    EndP
     147
    73148
    74149; Print char to com-port (teletype style)
Note: See TracChangeset for help on using the changeset viewer.