flat assembler
Message board for the users of flat assembler.
![]() |
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. |
|||
![]() |
|
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. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.