source: xtideuniversalbios/trunk/Tools/PostCommitHook.cmd@ 625

Last change on this file since 625 was 625, checked in by Krister Nordvall, 21 months ago

Changes:

  • Added a configuration option to let the BIOS store RamVars to an UMB when Full operating mode is enabled. This is primarily for XT class machines with RAM in the UMA (which apparently is a common thing these days).
  • Added two new builds specifically for IBM PS/2 machines. This is for support of the new McIDE adapter from the guys at zzxio.com. Note that the additional hardware specific code (under the USE_PS2 define) is for the PS/2 machines themselves and not for the McIDE adapters, so any controller in an IBM PS/2 machine can be used with the USE_PS2 define.
  • Moved pColorTheme out of the range of ROMVARS being copied over when doing "Load old settings from EEPROM" in XTIDECFG. This fixed a serious bug from r592 where loading a BIOS from file and then loading the old settings from ROM would corrupt 7 bytes of code somewhere in the loaded BIOS.
  • Optimizations (speed and size) to the library. Browsing the menus in XTIDECFG should now feel a little less sluggish.
  • Hopefully fixed a problem with the PostCommitHook script where it sometimes wouldn't find the CommitInProgress file. I say hopefully because testing this is a nightmare.
File size: 478 bytes
Line 
1@echo off
2:TryAgain
3if exist CommitInProgress goto NoError
4if %6""=="" goto NotCalledFromTSVN
5if %6=="%cd%" goto FileNotFound
6cd %6
7goto TryAgain
8:NotCalledFromTSVN
9if "%PreviousCD%"=="%cd%" goto FileNotFound
10set PreviousCD=%cd%
11cd..
12goto TryAgain
13:FileNotFound
14echo PostCommitHook was called but no CommitInProgress file could be found!>con
15echo Something is very wrong as this should not happen!>con
16pause<con>con
17exit 1
18:NoError
19del CommitInProgress
20exit 0
Note: See TracBrowser for help on using the repository browser.