Changeset 345 in xtideuniversalbios


Ignore:
Timestamp:
Mar 14, 2012, 7:01:44 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Configurator v2:

  • Modified copyright string (now included XTIDE Universal BIOS Team).
  • User inputted LBA is now decremented by one since LBA 28 limit is 0FFF FFFFh.
Location:
trunk/XTIDE_Universal_BIOS_Configurator_v2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Help/Main_License.txt

    r337 r345  
    1 XTIDE Universal BIOS and XTIDECFG Configuration program are Copyright 2009-2012 by Tomi Tilli. Released under GNU GPL v2. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the LICENSE.TXT file that was included with this distribution, visit http://www.gnu.org/licenses/ gpl-2.0.html, or visit http://code.coogle.com/p/ xtideuniversalbios.
     1XTIDE Universal BIOS and XTIDECFG Configuration program are Copyright 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. Released under GNU GPL v2. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the LICENSE.TXT file that was included with this distribution, visit http://www.gnu.org/licenses/ gpl-2.0.html, or visit http://code.coogle.com/p/ xtideuniversalbios.
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/MenuCfg.inc

    r59 r345  
    1 ; File name     :   MenuCfg.inc
    21; Project name  :   XTIDE Universal BIOS Configurator v2
    3 ; Created date  :   5.10.2010
    4 ; Last update   :   18.10.2010
    5 ; Author        :   Tomi Tilli
    62; Description   :   Menu configuration.
    73%ifndef MENUCFG_INC
     
    95
    106TITLE_LINES_IN_MENU         EQU     3
    11 INFO_LINES_IN_MENU          EQU     4
     7INFO_LINES_IN_MENU          EQU     6
    128MENU_WIDTH                  EQU     40
    139MAX_VALUE_STRING_LENGTH     EQU     12
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MasterSlaveMenu.asm

    r293 r345  
    345345ALIGN JUMP_ALIGN
    346346ValueReaderForUserLbaValue:
    347     mov     ax, [es:di+2]       ; SHR 16
    348     eSHIFT_IM ax, 4, shr        ; SHR 16 + 4 = 20
     347    push    dx
     348
     349    mov     ax, [es:di]
     350    mov     dx, [es:di+2]       ; DX:AX now holds user defined LBA28 limit
     351    add     ax, BYTE 1          ; Increment by one
     352    adc     dx, BYTE 0
     353
     354    xchg    ax, dx              ; SHR 16
     355    eSHIFT_IM ax, 4, shr        ; SHR 4 => AX = DX:AX / (1024*1024)
     356
     357    pop     dx
    349358    ret
    350359
     
    363372ALIGN JUMP_ALIGN
    364373ValueWriterForUserLbaValue:
     374    push    dx
     375
     376    xor     dx, dx
    365377    eSHIFT_IM ax, 4, shl
    366     mov     [es:di+2], ax
    367     xor     ax, ax      ; Store zero to [es:di]
    368     ret
     378    xchg    dx, ax          ; DX:AX now holds AX * 1024 * 1024
     379
     380    sub     ax, BYTE 1      ; Decrement DX:AX by one
     381    sbb     dx, BYTE 0      ; (necessary since maximum LBA28 sector count is 0FFF FFFFh)
     382
     383    mov     [es:di+2], dx   ; Store DX by ourselves
     384    pop     dx
     385    ret                     ; AX will be stored by our menu system
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

    r339 r345  
    7474g_szNfoMainConfigure:   db  "Configure XTIDE Universal BIOS settings.",NULL
    7575g_szNfoMainFlash:       db  "Flash loaded BIOS image to EEPROM.",NULL
    76 g_szNfoMainLicense:     db  "XTIDE Universal BIOS and XTIDECFG Copyright 2009-2012 by Tomi Tilli. Released under GNU GPL v2, with ABSOLUTELY NO WARRANTY. Details...",NULL
     76g_szNfoMainLicense:     db  "XTIDE Universal BIOS and XTIDECFG (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. Released under GNU GPL v2, with ABSOLUTELY NO WARRANTY. Details...",NULL
    7777g_szNfoMainHomePage:    db  "Visit http://code.google.com/p/ xtideuniversalbios (home page) and http://vintage-computer.com/ vcforum (support)",NULL
    7878
Note: See TracChangeset for help on using the changeset viewer.