diff --git a/README.md b/README.md index 34c331f..6d6b6cc 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,14 @@ need to know what are you doing. First of all get a copy of your data if you care about them. You need `nasm` and `dd` if you are on Unix or `partcopy` if you are using -Windows/DOS. depending on your filesystem, you should change two last lines of +Windows/DOS. depending on your filesystem, you should change first line and two last lines of `drawlogo86.asm`. Also modify `pixels.inc` file which contains colors of pixels, there is 256 color for each pixel and a pixel's color can be `0x00` to `0xFF`. You should also know about the file system which you are using(e.g. where boot code does start and where does it end?) +Example for FAT32 filesystem: the first line(containing org) will be `org 0x7c00 + 90` (because boot code in FAT32 starts from offest 90). two last lines will be `times 420 - ($-$$) db 0`(FAT32 allows up to 420 bytes boot code) and `;dw 0xAA55`. then assemble it using `nasm drawlogo86.asm` and now copy it to your storage using `dd if=drawlogo86 of=/dev/sdh obs=1 seek=90`. + I repeat, you MUST know what are you doing and there is RISK OF DATA LOSE, USE AT YOUR OWN RISK. ## Licence