Changeset 145 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2


Ignore:
Timestamp:
Mar 15, 2011, 11:28:17 AM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Minor size optimizations to all parts of the project (even the old Configurator).
Also added a new 'release' option to the makefiles of both versions of the Configurator. It invokes UPX and makes the Configurator programs ridiculously tiny.

Location:
trunk/XTIDE_Universal_BIOS_Configurator_v2
Files:
4 edited

Legend:

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

    r144 r145  
    6868
    6969;--------------------------------------------------------------------
    70 ; Buffers_NewBiosWithSizeInCXandSourceInAXhasBeenLoadedForConfiguration
     70; Buffers_NewBiosWithSizeInDXCXandSourceInAXhasBeenLoadedForConfiguration
    7171;   Parameters:
    7272;       AX:     EEPROM source (FLG_CFGVARS_FILELOADED or FLG_CFGVARS_ROMLOADED)
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/EEPROM.asm

    r138 r145  
    4949    inc     bx
    5050    loop    .CheckNextEepromSize
    51     clc     ; None of the supported EEPROMs are large enough
    52     ret
     51    ret     ; Return with CF cleared (none of the supported EEPROMs are large enough)
    5352ALIGN JUMP_ALIGN
    5453.ReturnEepromSizeInCX:
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm

    r123 r145  
    218218    call    Dialogs_DisplayErrorFromCSDX
    219219    stc
    220     ret
    221 ALIGN JUMP_ALIGN
     220ALIGN JUMP_ALIGN, ret
    222221.ImageFitsInSelectedEeprom:
    223     clc
    224222    ret
    225223
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/makefile

    r82 r145  
    5858# Assembler preprocessor defines.                               #
    5959#################################################################
    60 DEFINES = 
     60DEFINES =
    6161DEFINES_XT = ELIMINATE_CGA_SNOW
    6262DEFINES_XTPLUS = USE_186 ELIMINATE_CGA_SNOW
     
    7777IHEADERS = $(HEADERS:%=-I%)
    7878
    79 # Path + target file to be build
     79# Path + target file to be built
    8080TARGET = $(BUILD_DIR)/$(PROG)
    8181
     
    111111############################################
    112112
    113 .PHONY: all at xtplus xt clean
     113.PHONY: all at xtplus xt clean release
    114114
    115115# Make clean debug and release versions
    116116all: clean xt
    117     @echo All build!
     117    @echo All done!
    118118
    119119at:
    120120    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_AT) -l"$(TARGET)_at.lst" -o"$(TARGET)_at.$(EXTENSION)"
    121     @echo AT version "$(TARGET)_at.$(EXTENSION)" build.
     121    @echo AT version "$(TARGET)_at.$(EXTENSION)" built.
    122122
    123123xtplus:
    124124    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XTPLUS) -l"$(TARGET)_xtp.lst" -o"$(TARGET)_xtp.$(EXTENSION)"
    125     @echo XT plus version "$(TARGET)_xtp.$(EXTENSION)" build.
     125    @echo XT plus version "$(TARGET)_xtp.$(EXTENSION)" built.
    126126
    127127xt:
    128128    @$(AS) "$(SRC_ASM)" $(ASFLAGS) $(DEFS_XT) -l"$(TARGET)_xt.lst" -o"$(TARGET).$(EXTENSION)"
    129     @echo XT version "$(TARGET).$(EXTENSION)" build.
     129    @echo XT version "$(TARGET).$(EXTENSION)" built.
    130130
    131131clean:
    132132    @$(RM) $(BUILD_DIR)\*.*
    133133    @echo Deleted "(*.*)" from "$(BUILD_DIR)/"
     134
     135release: xt
     136    @echo Compressing with UPX...
     137    @upx -qq --8086 --ultra-brute $(TARGET).$(EXTENSION)
     138    @echo Done! XT version is ready for release.
Note: See TracChangeset for help on using the changeset viewer.