Ignore:
Timestamp:
May 6, 2011, 4:25:19 AM (14 years ago)
Author:
Ben Rietbroek
Message:

AiR-BOOT v1.07 -- As released with eCS v2.1. [2011-05-06]
Signature-date: 2006-03-13. (incorrect)
Trunk contains buildable v1.07 version as distributed with eCS v2.1.
Directory 'tags' contains v1.06 & v1.07 reference versions
built for all languages. Note that language ID for 'Dutch' changed
from 'DT' to 'NL' in v1.07 and that the v1.06 reference version also
uses 'NL' for 'Dutch'.
Also note that helper programs like the installer and setaboot are
are only modified for the OS/2 versions in v1.07.
The signature-date for v1.07 incorrectly states the same
date as for v1.06. The signature-version is correct.
Removed other binaries. (cd-rom images, old releases, etc.)
The tags serve as reference versions:

  • v1.06: rebuilt from source. (tags/v1.06r)
  • v1.07: built as released with eCS v2.1. (tags/v1.07r)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BOOTCODE/SPECIAL/FAT16.ASM

    r29 r30  
    2020;---------------------------------------------------------------------------
    2121
     22IFDEF ModuleNames
     23DB 'FAT16',0
     24ENDIF
     25
    2226; Here is access code for accessing FAT-16 partitions. It's not a complete
    2327;  File-API and only for simple readonly-access.
     
    2731;        I did not want to code silly cylinder stuff here. I have also used
    2832;        i386 code in here, because Linux requires so as well. Please note that
    29 ;        I don't use i386 code anywhere (!) else in AiR-BOOT.
    30 ;
     33;        I don't use i386 code anywhere (!) else in AiR-BOOT.                    ; Rousseau: yes you did, movezx is 386-only :-)
     34;                                                                                ; Replaced by 286 instructions.
    3135; Initialize FAT-16 access on specified partition (required for following xs)
    3236;        In: DS:SI - IPT-Entry that contains a FAT-16 partition
     
    131135      mov    ax, dx
    132136      sub    ax, 2                       ; Everything starts at Cluster 2
    133       movzx  bx, FAT16_SecsPerCluster
     137      ;movzx  bx, FAT16_SecsPerCluster
     138      mov   bl,FAT16_SecsPerCluster
     139      mov   bh,0
     140
    134141      mul    bx
    135142      shl    edx, 16
     
    145152   add    di, ax
    146153   ; Finally, look for next Cluster following to this one...
    147    movzx  bx, dl
     154   ;movzx  bx, dl
     155   mov   bl,dl
     156   mov   bh,0
     157
    148158   shl    bx, 1                          ; BX - Offset within FAT-Table
    149159   shr    dx, 8                          ; DX - FAT-Sector
     
    259269         pop       ax
    260270         mov    dx, si
    261          movzx  cx, ah
     271         ;movzx  cx, ah
     272         mov   cl,ah
     273         mov   ch,0
     274
    262275         rep    movsb
    263276         mov    si, dx                   ; Restore SI
Note: See TracChangeset for help on using the changeset viewer.