flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
viki 20 Apr 2006, 08:49
I need to read first sector of removable media with bios function. How to do this?
|
|||
![]() |
|
vid 20 Apr 2006, 10:51
i believe that when doing it through bios, it depends what kind of media it is
|
|||
![]() |
|
viki 20 Apr 2006, 11:16
I mean a pen drive
|
|||
![]() |
|
viki 20 Apr 2006, 12:17
thx I will check it immediately.
ok it works. I set boot from usb-hdd in bios, because when I booting from usb-fdd does't work. I format usb using far16 then I sys it with win98, put autoexec and config and some useful programs and small app written by me in bc.exe and finally I read this first sector and it's fat16. Thanks again for quick help. |
|||
![]() |
|
Dex4u 20 Apr 2006, 13:19
Your welcome, You can read/write from usb pen drive from pmode, by switch to and from realmode and using int 13h for read/write, thats what i do in my OS, its got 2 drivers for both floppy and hdd.
One a pmode driver, the other a BIOS driver, it works well, but is slow ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.