Changeset 426 in xtideuniversalbios for trunk/BIOS_Drive_Information_Tool/Src/Print.asm


Ignore:
Timestamp:
May 16, 2012, 5:29:06 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to BIOS Drive Information Tool:

  • Small fixes and improvements to display output.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BIOS_Drive_Information_Tool/Src/Print.asm

    r424 r426  
    140140    mov     bp, sp
    141141
    142     xor     dh, dh
    143     mov     si, dx
    144     shl     si, 1       ; Shift for WORD lookup
    145     push    WORD [si+.rgszXlateModeToString]
    146 
     142    ; Push CHS parameters
    147143    ePUSH_T si, g_szFormatCHS
    148144    push    ax          ; Cylinders
     
    152148    push    ax          ; Sectors per track
    153149
    154     mov     si, g_szXlateAndCHS
     150    ; Push translation mode
     151    xor     dh, dh
     152    mov     si, dx
     153    shl     si, 1       ; Shift for WORD lookup
     154    push    WORD [si+.rgszXlateModeToString]
     155
     156    mov     si, g_szChsAndMode
    155157    jmp     SHORT JumpToFormatNullTerminatedStringFromSI
    156158
     
    181183    mov     si, g_szFormatCHS
    182184    CALL_DISPLAY_LIBRARY    FormatNullTerminatedStringFromCSSI
     185    CALL_DISPLAY_LIBRARY    PrintNewlineCharacters
    183186
    184187    pop     si
Note: See TracChangeset for help on using the changeset viewer.