Ignore:
Timestamp:
Apr 12, 2014, 12:36:45 AM (11 years ago)
Author:
Ben Rietbroek
Message:

Now using compressed HidePartTable (auxdebug on) [2012-02-24]

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

Fixes

o HidePartTabled now uses a 6-bit compressed format

Bitfield functions are used to manipulate the table.
Modifications mostly in PARTSCAN.ASM, PART_SET.ASM and PARTMAIN.ASM.
TODO: Determine impact on upgrading from previous versions.

Changes

o Changed LVM Label behavior

If they are the same, the LVM VolumeName is synced to LVM PartitionName
so they are the same again after the edit.
If they differ, only the LVM VolumeName is updated.

o Implemented stop scanning when partition limit of 45 is exceeded

User is presented with a warning pop-up.
Pressing a key will continue and the partitions that were found
so far are displayed in the menu.
The color of the selection bar is changed to red to indicate this
overflow situation.

o New overlap macro that works correctly with JWasm and Tasm

Now uses DB n DUP (<filler>) to fill space before a new ORG.
When overlap occurs n goes negative causing assembler error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BOOTCODE/AIR-BOOT.HIS

    r43 r45  
    2424; ---------------------------------
    2525;
    26 ; v1.0.8-rc2-bld20120213
     26; v1.0.8-rc2-bld20120224
    2727;-----------------------
     28; # Implemented stop scanning when max. partitions limit exceeded #
     29;   Previous versions halted the system when the maximum number of partitions
     30;   that can be handled (45) was exceeded.
     31;   This required the user to boot from alternate media to correct the problem.
     32;   Now, when the partition limit is exceeded, AiR-BOOT displays a pop-up
     33;   and waits for a key-press. When the user presses a key, AiR-BOOT continues
     34;   and the boot-menu is shown, enabling the user to boot a system to correct
     35;   the problem. To indicate this situation, the color of the selection-bar
     36;   is displayed in red.
     37;
     38; # Fixed hiding partitions above old max 30-partitions limit #
     39;   Hiding partitions is a per partition setting and it is kept in a table
     40;   in the AiR-BOOT image on disk. In previous versions, including v1.0.8-rc1,
     41;   this table still held the old number of maximum partitions (30).
     42;   So configuring a hide-setting for partitions >30 or hiding more than
     43;   30 partitions per partition would not work properly.
     44;   Unfortunately, there was no room to expand this table, since it resides
     45;   just below the MBR backup, at the end of the AiR-BOOT image.
     46;   To work around this, the table now uses a 6-bits packed format and the
     47;   drive-letter array, which followed this table has been moved elsewhere.
     48;   This is a change in the configuration layout since the previous version,
     49;   so the config-version has been bumped to v1.0.8.
     50;   TODO: Add upgrade-code to the installer to cope with this.
     51;
    2852; # Removed requirement for LVM P and V name to be the same to edit #
    2953;   However, when both are the same before the edit, the V name will be
     
    3862;
    3963; # De-tasemized the Assembler sources for JWasm compatibility #
    40 ;   AiR-BOOT can now be built using JWasm, which is now the preferred
    41 ;   assembler.
     64;   AiR-BOOT can now be built using JWasm, which is the preferred
     65;   assembler as of this release. Tasm support will be dropped in the future.
    4266;
    4367; # Completely reworked the build-system #
     
    204228; # Math, Debug, Conv and Aux modules #
    205229;   These are used for 32-bit arithmatic on 16-bit code,
    206 ;   debug the booting process, converting between data-types
     230;   debug the boot process, converting between data-types
    207231;   and outputting log-data to the com-port.
    208232;
Note: See TracChangeset for help on using the changeset viewer.