Ignore:
Timestamp:
Apr 5, 2012, 7:31:23 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Small changes. 1) Changes biosdrvs.com to output CR+LF instead of LF+CR, consistent with DOS/Windows, but I did not update the Assembly Library as this would break the Configurator; 2) Put a C/C++ section in Version.inc for the serial server; 3) Configurator defaults the EEPROM address after scanning for a EEPROM in memory (as it does for loading the BIOS from ROM); 4) Added a command to the Configurator main menu to save chages to the file from which it was loaded (if it was loaded form a file), which is symmetric with the Load command and more discoverable than exiting DOS and then being prompted (which is still there too, if changes are unsaved).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm

    r369 r371  
    100100ALIGN JUMP_ALIGN
    101101Buffers_SetUnsavedChanges:
    102     or      WORD [g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_UNSAVED
     102    or      WORD [cs:g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_UNSAVED
    103103    ret
    104104
    105105ALIGN JUMP_ALIGN
    106106Buffers_ClearUnsavedChanges:
    107     and     WORD [g_cfgVars+CFGVARS.wFlags], ~FLG_CFGVARS_UNSAVED
    108     ret
    109 
    110 ;--------------------------------------------------------------------       
    111 ; Buffers_TestLoaded
    112 ;   Parameters:
    113 ;       SS:BP:  Menu handle
    114 ;   Returns:
    115 ;       CF:     Set = BIOS Loaded
    116 ;   Corrupts registers:
    117 ;       AX
    118 ;--------------------------------------------------------------------               
    119 ALIGN JUMP_ALIGN
    120 Buffers_TestLoaded:
    121     test    word [cs:g_cfgVars+CFGVARS.wFlags], FLG_CFGVARS_FILELOADED    ; Clears CF
    122     jz      .done
    123     stc
    124 .done: 
    125     ret                     
     107    and     WORD [cs:g_cfgVars+CFGVARS.wFlags], ~FLG_CFGVARS_UNSAVED
     108    ret
    126109
    127110
Note: See TracChangeset for help on using the changeset viewer.