|
Last change
on this file since 31 was 31, checked in by Ben Rietbroek, 13 years ago |
|
Bumped code-version to v1.0.8 [2011-11-11]
Fixes
o Fixed the drive-letter feature that was broken in v1.07
o Corrected release date in signature which was not updated with v1.07
Changes
o Bumped code-version in signature to v1.0.8
The extra dot is cosmetic only, the version in the signature
is BCD-coded and did not change format.
o Reworked MBR code to contain two I13X signatures
These signatures are actually MOV EAX,'X31I' in the original eCS
LVM MBR-code. However, they are at different offsets in the v1.x
and v2.x versions of the LVM MBR-code. (v1.x->0d5h -- v2.x->0d0h)
Other code might depend on their existence so we put both in
the AiR-BOOT MBR. (See eCS bugtracker issue #3002)
Note
This commit and all following commits upto and including the RC3
commit [2012-09-09] are delayed commits from a local repository.
Also, the RC (Release Candidate) naming of the corresponding commits
is a bit misleading. One would label a revision with RC when near to
a final release. Since many things have changed between RC1,RC2 & RC3,
these RC's should be interpreted as mile-stones.
WARNING!!
All commits upto and including the commit of [2012-05-13] contain
a severe bug!! Building from these sources and then disabling
the 'force LBA' feature while also using the drive-letter feature or
editing the label can destroy the MBR on all attached disks!!
DO NOT DISABLE 'FORCE LBA USAGE' WHEN BUILT FROM THE ABOVE COMMITS!!
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | @echo off
|
|---|
| 2 | rem This batch file builds
|
|---|
| 3 | if "%1"=="EN" goto Valid
|
|---|
| 4 | if "%1"=="DE" goto Valid
|
|---|
| 5 | if "%1"=="NL" goto Valid
|
|---|
| 6 | if "%1"=="FR" goto Valid
|
|---|
| 7 | if "%1"=="IT" goto Valid
|
|---|
| 8 | if "%1"=="RU" goto Valid
|
|---|
| 9 | if "%1"=="SW" goto Valid
|
|---|
| 10 | if "%1"=="ALL" goto BuildAll
|
|---|
| 11 | echo Invalid language ID
|
|---|
| 12 | goto ExitMe
|
|---|
| 13 |
|
|---|
| 14 | :BuildAll
|
|---|
| 15 | call make.bat DE
|
|---|
| 16 | call make.bat NL
|
|---|
| 17 | call make.bat FR
|
|---|
| 18 | call make.bat IT
|
|---|
| 19 | call make.bat RU
|
|---|
| 20 | call make.bat SW
|
|---|
| 21 | call make.bat EN
|
|---|
| 22 | goto ExitMe
|
|---|
| 23 |
|
|---|
| 24 | :Valid
|
|---|
| 25 | echo.
|
|---|
| 26 | echo.
|
|---|
| 27 | echo Making %1 language version of AiR-BOOT bootcode...
|
|---|
| 28 | echo Include TEXT\%1\MBR.asm >TEXT\TXTMBR.asm
|
|---|
| 29 | echo Include TEXT\%1\MENUS.asm >TEXT\TXTMENUS.asm
|
|---|
| 30 | echo Include TEXT\%1\OTHER.asm >TEXT\TXTOTHER.asm
|
|---|
| 31 |
|
|---|
| 32 | rem Do actual build...
|
|---|
| 33 | call ..\env\dos.bat
|
|---|
| 34 | %assembler% air-boot.asm
|
|---|
| 35 | if errorlevel 1 goto Failed
|
|---|
| 36 | %linker% air-boot.obj >nul
|
|---|
| 37 | if errorlevel 1 goto Failed
|
|---|
| 38 | %exe2bin% air-boot.exe air-boot.com >nul
|
|---|
| 39 | if errorlevel 1 goto Failed
|
|---|
| 40 |
|
|---|
| 41 | ..\tools\internal\fixcode.com
|
|---|
| 42 |
|
|---|
| 43 | copy AIR-BOOT.com ..\RELEASE\BOOTCODE\AIRBT-%1.bin
|
|---|
| 44 |
|
|---|
| 45 | copy AIR-BOOT.COM AIRBOOT.BIN
|
|---|
| 46 |
|
|---|
| 47 | rem Cleanup
|
|---|
| 48 | del AiR-BOOT.com
|
|---|
| 49 | del AiR-BOOT.exe
|
|---|
| 50 | del AiR-BOOT.obj
|
|---|
| 51 | goto ExitMe
|
|---|
| 52 |
|
|---|
| 53 | :Failed
|
|---|
| 54 | echo Errorlevel not 0, make failed
|
|---|
| 55 | :ExitMe
|
|---|
| 56 | rem @pause
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.