Displaying 5 results from an estimated 5 matches for "sectorptr".
Did you mean:
sectorptrs
2011 Mar 21
1
[elflink] diskstart.inc:420: error: Sector 1 overflow by 5 bytes
...ount. In most cases, we will only ever need a handful of
+; extents, but we have to assume a maximally fragmented system where each
+; extent contains only one sector.
+;
+ alignz 2
MaxInitDataSize equ 96 << 10
MaxLMA equ TEXT_START+SECTOR_SIZE+MaxInitDataSize
-SectorPtrs times MaxInitDataSize >> SECTOR_SHIFT dd 0
+SectorPtrs zb 10*(MaxInitDataSize >> SECTOR_SHIFT)
SectorPtrsEnd equ $
;
----------------------------------------------------------------------------
As you can see from the subject, I'm overflowing Sector 1 by 5 bytes.
Co...
2018 Jan 06
2
Structure of VBR in FAT32?
...x.sys
> > 4. Installer modifies first sector of ldlinux,sys to contain a list of
> all
> > of the other locations of ldlinux.sys
>
> Almost. The blockmap MUST have at least one record in the first
> sector but the subsequent blockmap records may exist later. See
> "SectorPtrs" and "rl_checkpt_overflow". I believe 192 entries are
> currently allocated.
>
I will look at the code to try and get it. All of this basically is, "how
do we bootstrap a program that knows how to read FAT filesystem, when it
itself is on that filesystem and we don'...
2018 Jan 03
2
Structure of VBR in FAT32?
Gene, thanks for doing "Reply-All". I only get digest, so this keeps me in
the loop. Appreciated.
> which appears to be included in diskstart.inc. I will have to dig in and
> see
> > how this all gets compiled (pointers always appreciated :-) ).
>
> Yes.
>
Is the build process documented? Or am I just going to have to plod through
the makefiles?
> As Ady said,
2018 Jan 06
0
Structure of VBR in FAT32?
...modifies first sector of ldlinux,sys to contain a list of
>> > all
>> > of the other locations of ldlinux.sys
>>
>> Almost. The blockmap MUST have at least one record in the first
>> sector but the subsequent blockmap records may exist later. See
>> "SectorPtrs" and "rl_checkpt_overflow". I believe 192 entries are
>> currently allocated.
> I will look at the code to try and get it. All of this basically is, "how do
> we bootstrap a program that knows how to read FAT filesystem, when it itself
> is on that filesystem a...
2018 Jan 05
0
Structure of VBR in FAT32?
...s in the filesystem contain ldlinux.sys
> 4. Installer modifies first sector of ldlinux,sys to contain a list of all
> of the other locations of ldlinux.sys
Almost. The blockmap MUST have at least one record in the first
sector but the subsequent blockmap records may exist later. See
"SectorPtrs" and "rl_checkpt_overflow". I believe 192 entries are
currently allocated.
> 5. Installer puts the first 512 bytes of ldlinux.bin into the boot sector
... by reading the existing VBR, modifying ONLY the bytes allowed for
code, then writing the modified VBR back.
> 6. Insta...