flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > A question on the size of boot loaders |
Author |
|
edfed 12 Dec 2009, 01:22
yep, to access disk, first, try INT13h. fnction 2 to read, 3 to write.
do it sector by sectors. and then, load the sector where you want. to call it, use a fr pointer. set the segment to have the good offset. in Real mode : segment * 16 + offset = linear. |
|||
12 Dec 2009, 01:22 |
|
bitshifter 12 Dec 2009, 05:35
I like to keep booter sperate so once its done, its done.
You can write it to disk and forget about it. If you do it your way you will be writing the disk a lot more than needed. You can use PARTCOPY or RAWWRITE or even DEBUG to do the writing. Just be careful with these programs as they will do what you say even if what you say is not entirely correct. Also BOOTPROG is a nice FAT12 bootloader, you may want to get it. |
|||
12 Dec 2009, 05:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.