Ignore:
Timestamp:
Apr 11, 2014, 9:58:17 PM (11 years ago)
Author:
Ben Rietbroek
Message:

Converting to JWasm -- phase 3 (not working) [2012-02-16]

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

Problems

o Problem with location of BSS
o Problem with segments

Info

o Adjusted DISCLAIM.TXT

File:
1 edited

Legend:

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

    r38 r40  
    103103   xor    di, di
    104104  FAT16SE_SearchLoop:
    105       push   si di
     105      push   si
     106      push   di
    106107         mov    cx, 11
    107108         repe   cmpsb                    ; Compare total 11-bytes
    108       pop    di si
     109      pop    di
     110      pop    si
    109111      je     FAT16SE_EntryFound
    110112      add    di, 32                      ; Skip 1 FAT16-Entry now :)
     
    221223
    222224      ; Set Size-Entry in KernelSizeTable
    223       push   ds si di
     225      push   ds
     226      push   si
     227      push   di
    224228         mov    bx, ds:[si+30]
    225229         mov    ax, ds:[si+28]           ; BX:AX - Size of file in Bytes
     
    240244         mov    di, si
    241245         call   PART_FillOutSizeElement  ; BX:AX -> ES:DI (Size Element)
    242       pop    di si ds
     246      pop    di
     247      pop    si
     248      pop    ds
    243249
    244250      ; Copy entry and make append extension to basename
Note: See TracChangeset for help on using the changeset viewer.