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


Ignore:
Timestamp:
Mar 19, 2012, 2:22:17 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to BIOS Drive Information Tool:

  • L-CHS variables generated by XTIDE Universal BIOS are now displayed.
File:
1 edited

Legend:

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

    r327 r359  
    77
    88;--------------------------------------------------------------------
     9; Print_SetCharacterOutputToSTDOUT
     10;   Parameters:
     11;       Nothing
     12;   Returns:
     13;       Nothing
     14;   Corrupts registers:
     15;       AX, BX, DI
     16;--------------------------------------------------------------------
     17ALIGN JUMP_ALIGN
     18Print_SetCharacterOutputToSTDOUT:
     19    mov     bl, ATTRIBUTES_NOT_USED
     20    mov     ax, DosCharOut
     21    CALL_DISPLAY_LIBRARY    SetCharOutputFunctionFromAXwithAttribFlagInBL
     22    ret
     23
     24;--------------------------------------------------------------------
    925; Use DOS standard output so strings can be redirected to a file.
    1026;
    11 ; Print_DosCharOut
     27; DosCharOut
    1228;   Parameters:
    1329;       AL:     Character to output
     
    2036;--------------------------------------------------------------------
    2137ALIGN JUMP_ALIGN
    22 Print_DosCharOut:
     38DosCharOut:
    2339    xchg    dx, ax
    2440    mov     ah, 02h     ; DOS 1+ - WRITE CHARACTER TO STANDARD OUTPUT
     
    5167;---------------------------------------------------------------------
    5268; Print_DriveNumberFromDLusingFormatStringInSI
     69; Print_VersionStringFromAXusingFormatStringInSI
    5370; Print_BiosFunctionNumberFromAXusingFormatStringInSI
    5471; Print_SectorSizeFromAXusingFormatStringInSI
     
    6481Print_DriveNumberFromDLusingFormatStringInSI:
    6582    eMOVZX  ax, dl
     83Print_VersionStringFromAXusingFormatStringInSI:
    6684Print_BiosFunctionNumberFromAXusingFormatStringInSI:
    6785Print_SectorSizeFromAXusingFormatStringInSI:
Note: See TracChangeset for help on using the changeset viewer.