Changeset 590 in xtideuniversalbios


Ignore:
Timestamp:
May 25, 2016, 8:16:35 AM (8 years ago)
Author:
krille_n_
Message:

Changes:

  • Updated URLs and copyright info in BIOSDRVS and XTIDECFG.
  • BIOSDRVS should now build under Linux.
  • Minor optimizations to the library.
Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Debug.inc

    r142 r590  
    2222
    2323    mov     ax, %1
    24     mov     bx, %2
    25     CALL_DISPLAY_LIBRARY PrintWordFromAXwithBaseInBX
     24    mov     bl, %2
     25    CALL_DISPLAY_LIBRARY PrintWordFromAXWithBaseInBL
    2626%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    2727    call    Keyboard_RemoveAllKeystrokesFromBuffer
  • trunk/Assembly_Library/Inc/Display.inc

    r505 r590  
    8282    .FormatNullTerminatedStringFromCSSI             resb    2
    8383%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    84     .PrintSignedWordFromAXWithBaseInBX              resb    2
    85 %endif
    86     .PrintWordFromAXwithBaseInBX                    resb    2
     84    .PrintSignedWordFromAXWithBaseInBL              resb    2
     85%endif
     86    .PrintWordFromAXWithBaseInBL                    resb    2
    8787%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG
    8888    .PrintQWordFromSSBPwithBaseInBX                 resb    2
  • trunk/Assembly_Library/Src/Display/Display.asm

    r526 r590  
    9797    %define FormatNullTerminatedStringFromCSSI              Display_FormatNullTerminatedStringFromCSSI
    9898%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    99     %define PrintSignedWordFromAXWithBaseInBX               DisplayPrint_SignedWordFromAXWithBaseInBX
     99    %define PrintSignedWordFromAXWithBaseInBL               DisplayPrint_SignedWordFromAXWithBaseInBL
    100100%endif
    101     %define PrintWordFromAXwithBaseInBX                     DisplayPrint_WordFromAXWithBaseInBX
     101    %define PrintWordFromAXWithBaseInBL                     DisplayPrint_WordFromAXWithBaseInBL
    102102%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG
    103103    %define PrintQWordFromSSBPwithBaseInBX                  DisplayPrint_QWordFromSSBPwithBaseInBX
  • trunk/Assembly_Library/Src/Display/DisplayFormat.asm

    r589 r590  
    334334d_FormatSignedDecimalWord:
    335335    mov     ax, [bp]
    336     mov     bx, 10
    337     jmp     DisplayPrint_SignedWordFromAXWithBaseInBX
     336    mov     bl, 10
     337    jmp     DisplayPrint_SignedWordFromAXWithBaseInBL
    338338%endif
    339339
     
    341341u_FormatUnsignedDecimalWord:
    342342    mov     ax, [bp]
    343     mov     bx, 10
    344     jmp     DisplayPrint_WordFromAXWithBaseInBX
     343    mov     bl, 10
     344    jmp     DisplayPrint_WordFromAXWithBaseInBL
    345345
    346346ALIGN DISPLAY_JUMP_ALIGN
    347347x_FormatHexadecimalWord:
    348348    mov     ax, [bp]
    349     mov     bx, 16
    350     call    DisplayPrint_WordFromAXWithBaseInBX
     349    mov     bl, 16
     350    call    DisplayPrint_WordFromAXWithBaseInBL
    351351    mov     al, 'h'
    352352    jmp     DisplayPrint_CharacterFromAL
     
    354354ALIGN DISPLAY_JUMP_ALIGN
    355355I_FormatDashForZero:
    356     mov     ax, [bp]
    357     test    ax,ax
    358     jnz     u_FormatUnsignedDecimalWord
    359     mov     [bp], word g_szDashForZero
     356    cmp     WORD [bp], 0
     357    jne     SHORT u_FormatUnsignedDecimalWord
     358    mov     WORD [bp], g_szDashForZero
    360359;;; fall-through
    361360
     
    366365    mov     si, [bp]
    367366
    368     cmp     si, byte 07fh       ; well within the boundaries of ROMVARS_size
     367    cmp     si, BYTE 7Fh        ; well within the boundaries of ROMVARS_size
    369368    jb      .notFormatted
    370369
  • trunk/Assembly_Library/Src/Display/DisplayPrint.asm

    r589 r590  
    8383
    8484;--------------------------------------------------------------------
    85 ; DisplayPrint_SignedWordFromAXWithBaseInBX
     85; DisplayPrint_SignedWordFromAXWithBaseInBL
    8686;   Parameters:
    8787;       AX:     Word to display
    88 ;       BX:     Integer base (binary=2, octal=8, decimal=10, hexadecimal=16)
    89 ;       DS:     BDA segment (zero)
    90 ;       ES:DI:  Ptr to cursor location in video RAM
    91 ;   Returns:
    92 ;       DI:     Updated offset to video RAM
    93 ;   Corrupts registers:
    94 ;       AX, DX
     88;       BL:     Integer base (binary=2, octal=8, decimal=10, hexadecimal=16)
     89;       DS:     BDA segment (zero)
     90;       ES:DI:  Ptr to cursor location in video RAM
     91;   Returns:
     92;       DI:     Updated offset to video RAM
     93;   Corrupts registers:
     94;       AX, BH, DX
    9595;--------------------------------------------------------------------
    9696%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    9797ALIGN DISPLAY_JUMP_ALIGN
    98 DisplayPrint_SignedWordFromAXWithBaseInBX:
    99     test    ax, ax
    100     jns     SHORT DisplayPrint_WordFromAXWithBaseInBX
     98DisplayPrint_SignedWordFromAXWithBaseInBL:
     99    sahf
     100    jns     SHORT DisplayPrint_WordFromAXWithBaseInBL
    101101
    102102    push    ax
     
    105105    pop     ax
    106106    neg     ax
    107     ; Fall to DisplayPrint_WordFromAXWithBaseInBX
    108 %endif
    109 
    110 
    111 ;--------------------------------------------------------------------
    112 ; DisplayPrint_WordFromAXWithBaseInBX
     107    ; Fall to DisplayPrint_WordFromAXWithBaseInBL
     108%endif
     109
     110
     111;--------------------------------------------------------------------
     112; DisplayPrint_WordFromAXWithBaseInBL
    113113;   Parameters:
    114114;       AX:     Word to display
    115 ;       BX:     Integer base (binary=2, octal=8, decimal=10, hexadecimal=16)
    116 ;       DS:     BDA segment (zero)
    117 ;       ES:DI:  Ptr to cursor location in video RAM
    118 ;   Returns:
    119 ;       DI:     Updated offset to video RAM
    120 ;   Corrupts registers:
    121 ;       AX, DX
     115;       BL:     Integer base (binary=2, octal=8, decimal=10, hexadecimal=16)
     116;       DS:     BDA segment (zero)
     117;       ES:DI:  Ptr to cursor location in video RAM
     118;   Returns:
     119;       DI:     Updated offset to video RAM
     120;   Corrupts registers:
     121;       AX, BH, DX
    122122;--------------------------------------------------------------------
    123123%ifndef MODULE_STRINGS_COMPRESSED
    124124ALIGN DISPLAY_JUMP_ALIGN
    125 DisplayPrint_WordFromAXWithBaseInBX:
     125DisplayPrint_WordFromAXWithBaseInBL:
    126126    push    cx
    127127
    128128    xor     cx, cx
     129    xor     bh, bh              ; Base now in BX
    129130ALIGN DISPLAY_JUMP_ALIGN
    130131.DivideLoop:
  • trunk/Assembly_Library/Src/LibraryTests.asm

    r526 r590  
    598598    pop     ds
    599599    mov     si, .rgwItems
    600     mov     bx, 16
     600    mov     bl, 16
    601601.Loop:
    602602    lodsw
    603     CALL_DISPLAY_LIBRARY PrintSignedWordFromAXWithBaseInBX
     603    CALL_DISPLAY_LIBRARY PrintSignedWordFromAXWithBaseInBL
    604604    CALL_DISPLAY_LIBRARY PrintNewlineCharacters
    605605    loop    .Loop
  • trunk/BIOS_Drive_Information_Tool/Src/Main.asm

    r589 r590  
    2828%include "EBIOS.inc"            ; From XTIDE Universal BIOS
    2929%include "IdeRegisters.inc"     ; From XTIDE Universal BIOS
    30 %include "Romvars.inc"          ; From XTIDE Universal BIOS
     30%include "RomVars.inc"          ; From XTIDE Universal BIOS
    3131%include "CustomDPT.inc"        ; From XTIDE Universal BIOS
    3232
  • trunk/BIOS_Drive_Information_Tool/Src/Strings.asm

    r526 r590  
    2222
    2323g_szProgramName:    db  "BIOS Drive Information Tool v1.0.2",CR,LF
    24                     db  "(C) 2012-2013 by XTIDE Universal BIOS Team",CR,LF
     24                    db  "(C) 2012-2016 by XTIDE Universal BIOS Team",CR,LF
    2525                    db  "Released under GNU GPL v2",CR,LF
    26                     db  "http://code.google.com/p/xtideuniversalbios/",CR,LF,NULL
     26                    db  "http://xtideuniversalbios.org/",CR,LF,NULL
    2727
    2828g_szPressAnyKey:    db  CR,LF,"Press any key to display next drive.",CR,LF,NULL
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/MenuitemPrint.asm

    r589 r590  
    248248
    249249    call    Menuitem_GetValueToAXfromMenuitemInDSSI
    250     mov     bx, 10
    251     CALL_DISPLAY_LIBRARY PrintWordFromAXwithBaseInBX
     250    mov     bl, 10
     251    CALL_DISPLAY_LIBRARY PrintWordFromAXWithBaseInBL
    252252    jmp     SHORT MenuitemPrint_FinishPrintingUnsignedOrHexValue
    253253
     
    270270
    271271    call    Menuitem_GetValueToAXfromMenuitemInDSSI
    272     mov     bx, 16
    273     CALL_DISPLAY_LIBRARY PrintWordFromAXwithBaseInBX
     272    mov     bl, 16
     273    CALL_DISPLAY_LIBRARY PrintWordFromAXWithBaseInBL
    274274    mov     al, 'h'
    275275    CALL_DISPLAY_LIBRARY PrintCharacterFromAL
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

    r589 r590  
    9292g_szNfoMainFlash:       db  "Flash loaded BIOS image to EEPROM.",NULL
    9393g_szNfoMainSave:        db  "Save BIOS changes back to original file from which it was loaded.",NULL
    94 g_szNfoMainLicense:     db  "XTIDE Universal BIOS and XTIDECFG Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team."
     94g_szNfoMainLicense:     db  "XTIDE Universal BIOS and XTIDECFG Copyright (C) 2009-2010 by Tomi Tilli, 2011-2016 by XTIDE Universal BIOS Team."
    9595                        db  " Released under GNU GPL v2, with ABSOLUTELY NO WARRANTY. Press ENTER for more details...",NULL
    96 g_szNfoMainHomePage:    db  "Visit http://code.google.com/p/ xtideuniversalbios (home page) and http://vintage-computer.com/ vcforum (support)",NULL
     96g_szNfoMainHomePage:    db  "Visit http://xtideuniversalbios.org (home page) and http://vcfed.org/forum (support)",NULL
    9797
    9898g_szHelpMainLicense:    db  "XTIDE Universal BIOS and XTIDECFG Configuration program are Copyright 2009-2010 by Tomi Tilli,"
    99                         db  " 2011-2013 by XTIDE Universal BIOS Team. Released under GNU GPL v2. This software comes with ABSOLUTELY NO WARRANTY."
     99                        db  " 2011-2016 by XTIDE Universal BIOS Team. Released under GNU GPL v2. This software comes with ABSOLUTELY NO WARRANTY."
    100100                        db  " This is free software, and you are welcome to redistribute it under certain conditions."
    101101                        db  " See the LICENSE.TXT file that was included with this distribution,"
    102                         db  " visit http://www.gnu.org/licenses/ gpl-2.0.html, or visit http://code.coogle.com/p/ xtideuniversalbios.",NULL
     102                        db  " visit http://www.gnu.org/licenses/ gpl-2.0.html, or visit http://xtideuniversalbios.org.",NULL
    103103
    104104; Strings for XTIDE Universal BIOS configuration menu
Note: See TracChangeset for help on using the changeset viewer.