flat assembler
Message board for the users of flat assembler.

Index > OS Construction > USB&Flash Disks

Author
Thread Post new topic Reply to topic
FeDOS



Joined: 29 May 2005
Posts: 11
FeDOS
Hi!
I have another question. =)
Can somebody help me?
I have two problems:
1) How can I work with USB;
2) Reading sectors from Flash Card;

_________________
---------------------------------------
FeDOS
Post 30 May 2005, 02:36
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Heres what i understand about usb key fobs ( if that what you mean) first to boot from them, you bios must support booting from them (most later bios do) and most usb key fobs emulat ever Hdd or Fdd, so you would lay out your OS like you would if booting from the drive they emulat etc.

NOTE: Once in pmode you can not load anything from the fobs with out a usb driver, so all your loading needs to be done in real or un-real mode.

I have not try any of the above, its just what i have read.


Last edited by Dex4u on 30 May 2005, 19:36; edited 1 time in total
Post 30 May 2005, 14:59
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
As Dex says, both bios and flashdrive needs to support booting. You *can* handle access in pmode without a driver though, but it requires pm->rm->pm switching or vm86... so it's not really an option Smile
Post 30 May 2005, 18:57
View user's profile Send private message Visit poster's website Reply with quote
FeDOS



Joined: 29 May 2005
Posts: 11
FeDOS
But what ports are using? Do you have any documentations about this?
Post 01 Jun 2005, 02:50
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
www.usb.org - there's a *lot* of documents Smile

Also, there's some discussion about the topic at http://board.win32asmcommunity.net/index.php?topic=20289.0 (and no, I haven't made a driver yet, I've been pretty busy with school. Exams time right now.)
Post 01 Jun 2005, 09:16
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.