Changeset 37 for trunk/TOOLS/DOS/INITHDD


Ignore:
Timestamp:
Apr 11, 2014, 8:39:07 PM (11 years ago)
Author:
Ben Rietbroek
Message:

Reworked Build Environment [2012-02-15]

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 THESE COMMITS!!

Changes

o Reworked build environment
o Start made with coding FIXCODE in C
o Moved MBR protection image
o New overlap macro
o Protect type 0x35 from edit (user popup)
o Protect type 0x35 from adding to menu (user popup)
o More...
! No LVM Label change yet

Note

o Changed license to GPL v3

See file COPYING in trunk.

Location:
trunk/TOOLS/DOS/INITHDD
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/TOOLS/DOS/INITHDD/INITHDD.ASM

    r30 r37  
    1717;
    1818
    19 JUMPS
     19;JUMPS
    2020
    21 Include ..\..\..\include\asm.inc
    22 ;include ..\..\..\include\dos\airboot.inc
     21Include ../../../INCLUDE/ASM.INC
    2322
    2423                .386p
    25                 model large, basic
     24                .model large, basic
    2625
    2726code_seg        segment public use16
     
    3029air_boot_setup: jmp     INITHDD_Start
    3130
    32 Introduction:           db 'INITHDD - AiR-BOOT Initialize HDD Utility (DOS) - (c) 2004 by M. Kiewitz',13,10
     31Introduction            db 'INITHDD - AiR-BOOT Initialize HDD Utility (DOS) - (c) 2004 by M. Kiewitz',13,10
    3332                        db 0
    3433
     
    6968   dw 00000h, 00000h, 00000h, 0AA55h
    7069
    71 ;   Include ..\..\..\include\DOS\Const.asm
     70;   Include ../../../INCLUDE\DOS\CONST.ASM
    7271
    7372INITHDD_Start:  mov     ax, cs
  • trunk/TOOLS/DOS/INITHDD/MAKE.BAT

    r30 r37  
    88%exe2bin% inithdd.exe inithdd.com >nul
    99if errorlevel 1 goto Failed
    10 copy inithdd.com ..\..\..\RELEASE\DOS\inithdd.com
     10copy inithdd.com ..\..\..\RELEASE\DOS\INITHDD.COM
     11
     12@ren inithdd.LST inithdd.TSL
     13@ren inithdd.TSL INITHDD.LST
    1114
    1215rem Cleanup
  • trunk/TOOLS/DOS/INITHDD/MAKE.CMD

    r36 r37  
    11@echo off
    22rem Do actual build...
    3 call ..\..\..\env\dos.bat
     3call ..\..\..\env\os2.cmd
    44%assembler% inithdd.asm
    55if errorlevel 1 goto Failed
    6 %linker% inithdd.obj >nul
     6%linker% inithdd.obj; >nul
    77if errorlevel 1 goto Failed
    88%exe2bin% inithdd.exe inithdd.com >nul
    99if errorlevel 1 goto Failed
    10 copy inithdd.com ..\..\..\RELEASE\DOS\inithdd.com
     10copy inithdd.com ..\..\..\RELEASE\DOS\INITHDD.COM
     11
     12@ren inithdd.LST inithdd.TSL
     13@ren inithdd.TSL INITHDD.LST
    1114
    1215rem Cleanup
Note: See TracChangeset for help on using the changeset viewer.