Changeset 55 for trunk/BOOTCODE
- Timestamp:
- Jan 28, 2016, 9:39:16 AM (10 years ago)
- Location:
- trunk/BOOTCODE
- Files:
-
- 1 added
- 1 deleted
- 15 edited
-
AIR-BOOT.ASM (modified) (1 diff)
-
AIR-BOOT.HIS (modified) (3 diffs)
-
AIRBOOT.MD5 (added)
-
BLDDATE.ASM (deleted)
-
BLDLEVEL.INC (modified) (1 diff)
-
Makefile (modified) (10 diffs)
-
REGULAR/DRIVEIO.ASM (modified) (1 diff)
-
REGULAR/OTHER.ASM (modified) (2 diffs)
-
REGULAR/PARTSCAN.ASM (modified) (1 diff)
-
REGULAR/STD_TEXT.ASM (modified) (1 diff)
-
TEXT/TXTMBR.ASM (modified) (1 diff)
-
TEXT/TXTMENUS.ASM (modified) (1 diff)
-
TEXT/TXTOTHER.ASM (modified) (1 diff)
-
VERSION.INC (modified) (2 diffs)
-
_build.cmd (modified) (1 diff)
-
_clean.cmd (modified) (1 diff)
-
_dist.cmd (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/AIR-BOOT.ASM
r54 r55 1791 1791 ; invisible character. The code of the char is: 0adh. 1792 1792 db 'AiRCFG-TABLE' 1793 db 01h, 08h, 'U' ; "Compressed" ID String1793 db 01h, 10h, 'U' ; "Compressed" ID String 1794 1794 ; Version 1.02 was for code 1.06, 1.03 was internal 1795 1795 ; and 1.04,1.05 and 1.06 do not exist. -
trunk/BOOTCODE/AIR-BOOT.HIS
r54 r55 25 25 ; ------------------------------------------------ 26 26 ; 27 ; v1.1.0-pre 28 ; ---------- 29 ; # Updated textual version information from v1.0.8 to v1.1.0 30 ; This does not include the version identifiers. 27 ; v1.1.0-final 28 ; ============ 29 ; # Bumped Version Number 31 30 ; During v1.0.8 is was decided that odd minor versions will be test-versions. 32 31 ; Since v1.0.8 was a test-version all the way, the final stuff has been … … 35 34 ; test-releases. Version 1.1.2 would be a next release. 36 35 ; 36 ; # Updated version numbers 37 ; All version identifiers updated from v1.0.8 to v1.1.0 38 ; AIRBOOT.BIN, INSTALL[D2WL].EXE and SETABOOT.EXE. 39 ; 37 40 ; # Fixed Virus Regression 38 41 ; Using the enhanced drive-letter feature to boot eCS installations using … … 40 43 ; This was caused by a missing update to the PBR CRC in the AB configuration. 41 44 ; This has been fixed. 45 ; 46 ; # Only clear bootable flag on boot-drive 47 ; This interferred with booting other drives, not containing AiR-BOOT, 48 ; directly from the BIOS. Now AiR-BOOT only clears the bootable-flag on the 49 ; boot-drive, which is the one where AiR-BOOT got activated from. 50 ; 51 ; # Check for INT13X extensions before using them 52 ; Now the availability of INT13X is checked and a popup is displayed and the 53 ; system halted when they are not available. INT13X is a requirement for 54 ; this and higher versions of AiR-BOOT. 42 55 ; 43 56 ; v1.0.8-rc3-bld20120909 -
trunk/BOOTCODE/BLDLEVEL.INC
r51 r55 54 54 BLDLVL_MINUTES EQU (AB_MINUTES SHR 4)+'0',(AB_MINUTES AND 0Fh)+'0' 55 55 BLDLVL_SECONDS EQU (AB_SECONDS SHR 4)+'0',(AB_SECONDS AND 0Fh)+'0' 56 ; Build machine (16 chars max ?) 57 ;BLDLVL_MACHINE EQU 'ecs-devbox' 58 BLDLVL_MACHINE EQU '*UNKNOWN*' 56 ; Build machine 57 BLDLVL_MACHINE EQU '*UNKNOWN*' ; 16 chars max. 59 58 ; Build language 60 59 IFDEF WASM -
trunk/BOOTCODE/Makefile
r54 r55 65 65 !include ../INCLUDE/MAKEFILE.MIF 66 66 67 # On my system, JWasm takes forever to generate a list-file when on a network 68 # drive. Connecting the drive using the legacy LANMAN or the new Samba EVFS 69 # makes no difference. If you experience the same, then put a '#' in front of 70 # the variable below to keep JWasm from generating a list-file. 71 #JWASM_LIST_FILE=-Fl=$^&.LST 67 72 68 73 # Specifies the level of debugging. … … 174 179 # -zcw = no _ prefix on symbols (C model) 175 180 # -Zm = Masm51 compat -- don't use ! (Will generate incorrect offsets) 176 ASM_FLAGS_D0=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W0 -Cp -zcw -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR 177 ASM_FLAGS_D1=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W4 -Cp -zcw -Zd -Zi -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR 178 ASM_FLAGS_D2=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W4 -Cp -zcw -Zd -Zi -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR 181 # -Zd = line number debug info 182 # -Zi = symbolic debug info 183 ASM_FLAGS_D0=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W0 -Cp -zcw -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.ERR 184 ASM_FLAGS_D1=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W4 -Cp -zcw -Zd -Zi -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.ERR 185 ASM_FLAGS_D2=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W4 -Cp -zcw -Zd -Zi -Fo$^. -Sa $(JWASM_LIST_FILE) -Fw$^&.ERR 179 186 180 187 # WASM 181 188 !elseif "$(ASM)"=="wasm" 182 189 # -w0 = suppress warnings (wasm is nice to check for missing size qualifiers) 183 ASM_FLAGS_D0=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq -w 0-fo=$^. -fr=$^&.ERR190 ASM_FLAGS_D0=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq -w4 -fo=$^. -fr=$^&.ERR 184 191 ASM_FLAGS_D1=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq -w4 -d1 -fo=$^. -fr=$^&.ERR 185 192 ASM_FLAGS_D2=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq -w4 -d1 -fo=$^. -fr=$^&.ERR … … 208 215 !error Unknown Assembler specified ! *$(ASM)* 209 216 !endif 217 218 # Resulting Assembler Flags. 210 219 ASM_FLAGS=$(ASM_FLAGS_D$(DEBUG_LEVEL)) 211 220 … … 285 294 # the intermediate files intact. 286 295 # ----------------------------------------------------------------------------- 287 all: .SYMBOLIC Makefile.bu mbrprot$(BLD_LANGUAGES) footer296 all: .SYMBOLIC Makefile.bu $(BLD_LANGUAGES) footer 288 297 # @echo ALL !! 289 298 # @#MAKE $(BLD_LANGUAGES) … … 430 439 @echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 431 440 cd MBR-PROT 432 wmake-h441 $(MAKE) -h 433 442 cd .. 434 443 @%MAKE fixcode … … 440 449 fixcode: .procedure 441 450 cd ..$(DS)TOOLS$(DS)INTERNAL 442 wmake-h451 $(MAKE) -h 443 452 cd ..$(DS)..$(DS)BOOTCODE 444 453 … … 534 543 @%MAKE rmbin 535 544 @%MAKE mbrprot 545 @%MAKE fixcode 536 546 SET AB_DEV=TRUE 537 547 # @%MAKE $(DEV_BLD_LANG) … … 539 549 # the testing on it does not seem to work when using @%MAKE syntax. (bug ?) 540 550 # We also don't want .MULTIPLE which we won't get if we build just one target. 541 @$(MAKE) $(DEV_BLD_LANG)551 @$(MAKE) -h $(DEV_BLD_LANG) 542 552 # Display the BLDLEVEL information if we are building on OS/2. 543 553 !ifdef __OS2__ 544 554 @echo. 545 555 @bldlevel $(TARGET) 556 @echo. 557 -@type AIRBOOT.MD5 2> nul 558 @md5sum $(TARGET) > AIRBOOT.MD5 559 @type AIRBOOT.MD5 546 560 !endif 547 561 !ifdef __LINUX__ 548 562 @echo. 549 563 @if exist AIR-BOOT.LST @grep ^zzz_code_space AIR-BOOT.LST 564 @echo. 565 @cat AIRBOOT.MD5 566 @md5sum $(TARGET) > AIRBOOT.MD5 567 @cat AIRBOOT.MD5 550 568 @echo. 551 569 !endif … … 574 592 @if exist *.ERR $(RM) *.ERR 575 593 @if exist *.o $(RM) *.o 576 594 @%MAKE rmbin 577 595 578 596 # ----------------------------------------------------------------------------- … … 595 613 @if exist AIRBT-EN.BIN $(CP) AIRBT-EN.BIN ..$(DS)RELEASE$(DS)OS2$(DS)$(TARGET) 596 614 @if exist AIRBT-EN.BIN $(CP) AIRBT-EN.BIN ..$(DS)RELEASE$(DS)LINUX$(DS)$(TARGET) 597 @cd ..598 @cd INSTALL$(DS)C599 @$(MAKE) dist600 @cd ..$(DS)..601 @cd TOOLS$(DS)OS2$(DS)SETABOOT602 @$(MAKE) dist603 615 604 616 -
trunk/BOOTCODE/REGULAR/DRIVEIO.ASM
r54 r55 206 206 207 207 208 208 ;FIXME: Only LBA gets updated, need to update CHS too !!!!!!! 209 209 210 210 ; Adjusts BX:AX / CX:DX to meet LVM sector location -
trunk/BOOTCODE/REGULAR/OTHER.ASM
r54 r55 166 166 call MBR_TeletypeNL 167 167 168 169 ; This sets [CurIO_UseExtension] flag.170 call PRECRAP_CheckFor13extensions171 mov al,[CurIO_UseExtension]172 test al,al173 jnz INT13X_Supported174 175 ;176 ; Show Message that BIOS INT13X is not supported177 ; and Halt the System.178 ;179 mov cx, 0C04h180 mov si, offset TXT_NoINT13XSupport181 call SETUP_ShowErrorBox182 183 ; Halt the system.184 jmp HaltSystem185 186 187 ;188 ; INT13X Supported so continue.189 ;190 INT13X_Supported:191 192 168 xor cx,cx 193 169 PRECRAP_Main_next_disk: … … 349 325 350 326 327 ; This sets [CurIO_UseExtension] flag. 328 call PRECRAP_CheckFor13extensions 329 mov al,[CurIO_UseExtension] 330 test al,al 331 jnz INT13X_Supported 332 333 ; 334 ; Show Message that BIOS INT13X is not supported 335 ; and Halt the System. 336 ; 337 mov cx, 0C04h 338 mov si, offset TXT_NoINT13XSupport 339 call SETUP_ShowErrorBox 340 341 ; Halt the system. 342 jmp HaltSystem 343 344 345 ; 346 ; INT13X Supported so continue. 347 ; 348 INT13X_Supported: 351 349 352 350 IFNDEF ReleaseCode -
trunk/BOOTCODE/REGULAR/PARTSCAN.ASM
r54 r55 301 301 302 302 PSSP_IgnorePartition: 303 ; Lscht das Boot-Able Flag... 304 ; CHECKME: About clearing the active flags, TRACK ticket #6 305 and byte ptr [si+LocBRPT_Flags], 7Fh ; Reset the Active-Flag 303 ; Only clear the boot-flag on the boot-disk. 304 ; Clearing the boot-flags on other disks would prevent booting them 305 ; from the BIOS. (TRAC ticket #6) 306 cmp dl, 080h ; See if this is boot-disk 307 jne PSSP_Skip_Clear_BootFlag ; Nope, skip clear flag 308 and byte ptr [si+LocBRPT_Flags], 7Fh ; Reset the Active-Flag 309 PSSP_Skip_Clear_BootFlag: 306 310 add si, LocBRPT_LenOfEntry ; 16 Bytes per partition entry 307 311 cmp si, 500+offset PartitionSector -
trunk/BOOTCODE/REGULAR/STD_TEXT.ASM
r54 r55 55 55 db BLDLVL_MINOR_VERSION,' - (c) 1998-' 56 56 db BLDLVL_YEAR 57 ;~ db ' Martin Kiewitz, Dedicated to Gerd Kiewitz' 58 db ' M. Kiewitz << v1.1.0-pre >> (bld: ' 59 ;~ db ' M. Kiewitz << Test Version >> (bld: ' 60 ;~ db ' Rousseau << Test Version >> (bld:' 61 db BLDLVL_YEAR 62 db BLDLVL_MONTH 63 db BLDLVL_DAY,')' 57 ;~ db ' M. Kiewitz <<Release Candidate 4>> (bld: ' 58 db ' Martin Kiewitz, Dedicated to Gerd Kiewitz' 59 ;~ db BLDLVL_YEAR 60 ;~ db BLDLVL_MONTH 61 ;~ db BLDLVL_DAY,')' 64 62 db 0 65 63 -
trunk/BOOTCODE/TEXT/TXTMBR.ASM
r43 r55 1 Include TEXT/EN/MBR.ASM 1 Include TEXT/EN/MBR.ASM -
trunk/BOOTCODE/TEXT/TXTMENUS.ASM
r43 r55 1 Include TEXT/EN/MENUS.ASM 1 Include TEXT/EN/MENUS.ASM -
trunk/BOOTCODE/TEXT/TXTOTHER.ASM
r43 r55 1 Include TEXT/EN/OTHER.ASM 1 Include TEXT/EN/OTHER.ASM -
trunk/BOOTCODE/VERSION.INC
r54 r55 31 31 ; Note that the config-version is managed manually. 32 32 AB_MAJOR_VERSION EQU 1 33 AB_MIDDLE_VERSION EQU 034 AB_MINOR_VERSION EQU 833 AB_MIDDLE_VERSION EQU 1 34 AB_MINOR_VERSION EQU 0 35 35 36 36 ; The Year, Month and Day in BCD so we can easily extract nibbles. … … 41 41 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation. 42 42 AB_HOURS EQU 01h 43 AB_MINUTES EQU 0 0h44 AB_SECONDS EQU 0 8h43 AB_MINUTES EQU 01h 44 AB_SECONDS EQU 00h 45 45 46 46 ; The AiR-BOOT signature uses big-endian so we shuffle some bits around. -
trunk/BOOTCODE/_build.cmd
r48 r55 1 1 @SET ASM=jwasm 2 @wmake dev3 @wmake dist2 @wmake -h dev 3 @wmake -h dist -
trunk/BOOTCODE/_clean.cmd
r37 r55 1 @wmake clean rmbin1 @wmake -h clean -
trunk/BOOTCODE/_dist.cmd
r46 r55 1 @wmake dist1 @wmake -h dist
Note:
See TracChangeset
for help on using the changeset viewer.
