source: trunk/BOOTCODE/MAKE.BAT@ 31

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
RevLine 
[29]1@echo off
2rem This batch file builds
3if "%1"=="EN" goto Valid
4if "%1"=="DE" goto Valid
[30]5if "%1"=="NL" goto Valid
[29]6if "%1"=="FR" goto Valid
7if "%1"=="IT" goto Valid
8if "%1"=="RU" goto Valid
9if "%1"=="SW" goto Valid
10if "%1"=="ALL" goto BuildAll
11echo Invalid language ID
12goto ExitMe
13
14:BuildAll
15call make.bat DE
[30]16call make.bat NL
[29]17call make.bat FR
18call make.bat IT
19call make.bat RU
20call make.bat SW
[30]21call make.bat EN
[29]22goto ExitMe
23
24:Valid
[30]25echo.
26echo.
[29]27echo Making %1 language version of AiR-BOOT bootcode...
28echo Include TEXT\%1\MBR.asm >TEXT\TXTMBR.asm
29echo Include TEXT\%1\MENUS.asm >TEXT\TXTMENUS.asm
30echo Include TEXT\%1\OTHER.asm >TEXT\TXTOTHER.asm
31
32rem Do actual build...
33call ..\env\dos.bat
34%assembler% air-boot.asm
35if errorlevel 1 goto Failed
36%linker% air-boot.obj >nul
37if errorlevel 1 goto Failed
38%exe2bin% air-boot.exe air-boot.com >nul
39if errorlevel 1 goto Failed
[31]40
[29]41..\tools\internal\fixcode.com
[31]42
[30]43copy AIR-BOOT.com ..\RELEASE\BOOTCODE\AIRBT-%1.bin
[29]44
[30]45copy AIR-BOOT.COM AIRBOOT.BIN
46
[29]47rem Cleanup
[30]48del AiR-BOOT.com
[29]49del AiR-BOOT.exe
50del AiR-BOOT.obj
51goto ExitMe
52
53:Failed
54echo Errorlevel not 0, make failed
55:ExitMe
[30]56rem @pause
Note: See TracBrowser for help on using the repository browser.