Nadir Van Thielen
asked on
BIOS and assembler
Do any one knows what HEX code i need to get the C: drive label
for diskette (a) i uze
but drive C: is harder to get.
Tnx.
for diskette (a) i uze
disk_buffer + 3h ; Disk label from Drive A:
but drive C: is harder to get.
disk_buffer equ 24576
..
.
mov cx, 1 ; Load first disk sector into RAM
mov dx, 0
mov bx, disk_buffer
mov ah, 2
mov al, 1
stc
int 13h ; BIOS load sector call
mov si, disk_buffer + 3h ; Disk label from Drive A:
call os_print_string
Tnx.
What are you try to accomplish? The C: drive label is easily available and changeable outside of BIOS. So I do not think the proper label is even in there.
ASKER
accomplish ?
copy files from drive a: and finical drive C:
copy files from drive a: and finical drive C:
That is not in the BIOS but in the Windows OS structure. I recall there is a registry entry that may contain this.
ASKER
I am not running in windows , running on e kernel from mikeOS
To the very best of my knowledge, what you want does not exist in BIOS.
Does your kernel OS have any ability to understand drives ?
Does your kernel OS have any ability to understand drives ?
ASKER
the is is a topic how you can copy and rename files but not to get to a other drive
the for i need the get information from the bios where that address is.
the for i need the get information from the bios where that address is.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BIOS was a suggested topic. OP is talking about Assembly
ASKER
thas true , but whit int 13h explanation on https://en.wikipedia.org/wiki/INT_13H .
the is a seddie mummer to access it , but no worry.
i gonna try to make a bios int13 printout program.
the is a seddie mummer to access it , but no worry.
i gonna try to make a bios int13 printout program.
Thanks for the update. If you post another question, post a link here as well.
Lookup BIOS INT 13H calls