flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
b1528932
how do i detect if i have hard drive using bios?
about reading and writing i can find info, what about detection? |
|||
![]() |
|
edfed
to detect a drive, use the drive ID command for bios.
Code: mov ah,8 mov dl,[.drivenumber] int 13h jc error this command returns drive info, carry set if error |
|||
![]() |
|
bitshifter
|
|||
![]() |
|
baldr
b1528932,
HDD doesn't know about BIOS, and it doesn't have to. To get properties of modern HDDs you'll have to use ATA specs (IDENTIFY) of some revision. |
|||
![]() |
|
b1528932
when executing bios code, i must locate suitable device and load its bootloader into memory. then start executing it.
how do i locate FDD/HD/CD? |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.