Changeset 163


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

Removed used assembler from build-info display [v1.1.1-testing]

Building with the other assemblers is going to be removed to exploit
JWasm to the max. We've been using JWasm since revision #42, so nothing
new about that anymore. And we gain some precious code-space again.

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

Location:
trunk/bootcode/regular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/regular/std_text.asm

    r161 r163  
    104104
    105105; Build Information string.
    106 build_info      db  'Build Date: ',0
     106build_date      db  'Build Date: ',0
    107107jwasm_txt       db  'JWasm',0
    108108masm_txt        db  'Masm',0
  • trunk/bootcode/regular/videoio.asm

    r162 r163  
    689689VideoIO_PrintBuildInfo  Proc    Near    Uses ax cx si di
    690690        ; Print header.
    691         mov     si, offset build_info
     691        mov     si, offset [build_date]
    692692        call    MBR_Teletype
     693        call    VideoIO_SyncPos
    693694
    694695        ; Prepare info in temorary buffer.
     
    696697        mov     cx,offset bld_level_date_end
    697698        sub     cx,si
    698         mov     di,offset Scratch
    699         cld
    700         rep     movsb
    701 
    702         ; Fill spaces until assembler specification.
    703         mov     al,' '
    704         mov     cx,37
    705         rep     stosb
    706 
    707         ; Copy assembler specification.
    708     IFDEF       JWASM
    709         mov     al,'['
    710         stosb
    711         mov     si,offset jwasm_txt
    712     ELSEIFDEF   TASM
    713         mov     al,' '
    714         stosb
    715         mov     al,'['
    716         stosb
    717         mov     si,offset tasm_txt
    718 
    719     ELSEIFDEF   WASM
    720         mov     al,' '
    721         stosb
    722         mov     al,'['
    723         stosb
    724         mov     si,offset wasm_txt
    725     ELSEIFDEF   MASM
    726         mov     al,' '
    727         stosb
    728         mov     al,'['
    729         stosb
    730         mov     si,offset masm_txt
    731     ELSE
    732         mov     al,' '
    733         stosb
    734         mov     al,'['
    735         stosb
    736         mov     si,offset unknown_txt
    737     ENDIF
    738 
    739     VideoIO_PrintBuildInfo_a1:
    740         lodsb
    741         test    al,al
    742         jz      VideoIO_PrintBuildInfo_e1
    743         stosb
    744         jmp     VideoIO_PrintBuildInfo_a1
    745     VideoIO_PrintBuildInfo_e1:
    746         mov     al,']'
    747         stosb
    748 
    749         ; Insert NULL Terminator.
    750         xor     al,al
    751         stosb
    752 
    753         ; Print Info.
    754         mov     si, offset Scratch
    755         call    MBR_TeletypeNL
     699        call    VideoIO_FixedPrint
     700        add     [TextPosY], 2
     701        mov     [TextPosX], 0
     702        call    MBR_TeletypeSyncPos
     703
    756704        ret
    757705VideoIO_PrintBuildInfo  EndP
Note: See TracChangeset for help on using the changeset viewer.