Eeprom boot (K.N.-nek valasz)

kohegyi.laszlo at ln.matav.hu kohegyi.laszlo at ln.matav.hu
Thu Dec 23 09:44:40 CET 1999









Kis Norbert <norbi at kzs.hu> dátum: 1999.12.23 09:04:03
Hi,

>>Szoval, a particios tabla is egy program (+tablazat). Ez toltodik be
>eloszor
>>(es ertelmezi a tablazat reszet). Csak utana keresgel bootsectort.

>Magam is valami ilyesmire gondoltam, de errol meg nem talaltam hasznalhato
>informaciot. Eleg bizalmasan kezelik ezt egyelore a szakik. (Szerencsere!!!)

Nem mondanam, csak kevesen akarnak ilyen melyre menni.

>Ez erdekes lehet az EEPROM-BOOT/RAM-HDD megkozelitesere! Milyen progi van
>itt pontosan, mikor, hogyan fut le, mekkora lehet max? Tudsz errol valami
>irodalmat kuldeni, vagy feltenni valahova? Esetleg egy link. :-)

Egy kis szoveg van rola, remelem olvashato marad. Nalam (fix szelessegu
betukkel) latszik.

A progi hossza max. 1beH, a memoriaba 0:7c00-re toltodik, es elindul. Valszeg
csak egy jmp van ra (a biosban), nem ter vissza soha :-) Ha konkret peldat
akarsz, csak be kell olvasni a megfelelo szektort egy hd-rol.

Udv
Laca


                             Disk Partition Table

 The very first sector of a hard disk (head 0, cylinder 0, sector 1) contains
 the Master Boot Record which is loaded into memory at 0:7c00 and executed.

 The last part of this sector contains the partition table
-------------- next part --------------

??a 4-entry table
 with each entry being 16 bytes long.  This table is manipulated by FDISK (or
 the equivalent utility of a non-DOS operating system).

 At boot time, the ROM-BIOS loads the Master Boot Record and jumps to its
 code.  That code reads the Partition Table to determine which partition is
 marked as active.  It then reads the correct boot sector into memory and
 executes it.

Offset Size Contents
------ ---- -------------------------------------------------------------
            ????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?????
  +0   1beH ? code to load and execute boot sector of active partition  ?
            ????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?????
+1beH   10H ?                   ?  partition 1 entry  (see below)
            ????? ? ? ? ? ? ?????
+1ceH   10H ?                   ?  partition 2 entry
            ????? ? ? ? ? ? ?????
+1deH   10H ?                   ?  partition 3 entry
            ????? ? ? ? ? ? ?????
+1eeH   10H ?                   ?  partition 4 entry
            ????? ? ? ? ? ? ?????
+1feH   2   ? 55 aa ?              partition table signature (0aa55H)
            ?????????

            Partition entry layout
            ??????????????????????????????????????????????????????????????????
            ?????
  +0     1  ?Boot         Boot flag: 0=not active, 80H = active
            ?????
  +1     1  ?Hd ?         Begins: head number
            ?????????
  +2     2  ?Sec Cyl?     Begins: sector & cylinder of boot sector (see notes)
            ?????????
  +4     1  ?Sys?         System Code: 0=unknown, 1=DOS 12-bit FAT, 4=16-bit
            ?????                      5= Extended DOS Partition
  +5     1  ?Hd ?         Ends: head number
            ?????????
  +6     2  ?Sec Cyl?     Ends: sector & cylinder of last sector
            ?????????????????
  +8     4  ? low      high ? Beginning relative sector number
            ?????????????????
 +0cH    4  ? low      high ? Size (total sectors)
            ?????????????????
 +10H       start of next partition table entry (or 0aa55H if last entry)












More information about the Elektro mailing list