alfikpl / ao486

The ao486 is an x86 compatible Verilog core implementing all features of a 486 SX.
Other
345 stars 72 forks source link

sd/hdd #2

Open molekel opened 9 years ago

molekel commented 9 years ago

could you perhaps add an example using freedos to the git or mail me one ?

i don't grasp the concept. The virtual harddrive would be a partiton ? Does it have a MBR ? or should i just dd my old dos drive to the sd ?

thanks alot for help, i was using an old quartus version where the qsys was named differently ..

molekel
alfikpl commented 9 years ago

The virtual hard drive is simply a range of sectors on the SD card. There can be many virtual hard drives on the SD card, the one used is selected on the OSD, before booting.

The SD card doesn't have any partitions and doesn't have a MBR. Each virtual hard drive has a MBR of its own and any number of partitions.

If you want to copy your old dos drive, you have to use dd and copy the dos drive image to the range of sectors of the SD card that is dedicated to that virtual hard drive. The dos drive image should be a image of the whole hard disk, not just the image of a partition.

Best regards, Aleksander Osman.