Valhalla Legends Archive

Programming => General Programming => Assembly Language (any cpu) => Topic started by: ctype on January 02, 2005, 10:15 AM

Title: Accessing USB Drives with INT 13
Post by: ctype on January 02, 2005, 10:15 AM
Is there any way to read / write to a USB Memory Stick using INT 13? I'm not sure what DL should be - < 80h is diskette, >= 80h is HDD right? So what is USB?

If there is another way, I'd love to know ;)
Title: Re: Accessing USB Drives with INT 13
Post by: Skywing on January 04, 2005, 10:05 AM
Unlikely unless the BIOS provides some support for faking it being a 'normal' harddrive (similar to what most can do with USB keyboard & mice).
Title: Re: Accessing USB Drives with INT 13
Post by: Adron on January 04, 2005, 10:59 AM
I think I've heard that some BIOSes can boot from an USB drive. That would mean it has to be accessible through INT 13. It might only work if you're actually booting from it though.
Title: Re: Accessing USB Drives with INT 13
Post by: MyndFyre on January 04, 2005, 06:24 PM
Both laptops that I've had have been able to boot from my USB floppy.  Don't know how it's done, though.