OSDev.org

The Place to Start for Operating System Developers
It is currently Sat May 04, 2024 5:25 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: cheating, int 0x13
PostPosted: Mon Feb 04, 2008 1:33 pm 
Offline
Member
Member
User avatar

Joined: Mon Aug 06, 2007 6:32 pm
Posts: 233
Location: Canada
hello. Ive read this:
Quote:
Can i use VM86 for disk access ?
Theorically yes, though it is probably not a GoodIdea(tm), as most BIOS disk access will include IRQ handlers, DMA transfers which you can hardly control from your VM monitor, and may stick in VM86 task while the BIOS waits for an interrupt response while a 'good' driver would have let the CPU free for other processes.

Remember of your old MS9x system freezing when doing a disk access ? that was most of the time due to an INT13-through-VM86 problem.


from the wiki, it's exactly what I try to do. I corrected all the bugs in my OS, and now the only thing to do is to make the int 19, aka int 0x13 works.
Why I want it to work? because I will be able to make my OS work with usb fobs, usb floppy readers and all that without writing all the drivers!
Im sure it's fun to write drivers for all of theses funny things, but I want to do something else, like writing a driver for my x3100 intergrated card .
Because you know, Intel just released the documentation.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 3:53 pm 
Offline
Member
Member
User avatar

Joined: Fri Dec 15, 2006 5:26 pm
Posts: 437
Location: Church Stretton Uk
Speaking for myself, I don't write drivers because it is fun; I write them because int 13h doesn't work in protected mode. If it did I wouldn't go out of my way to make life hard for myself.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 4:53 pm 
Offline
Member
Member
User avatar

Joined: Mon Aug 06, 2007 6:32 pm
Posts: 233
Location: Canada
I already wrote my floppy driver, but wanted a way to have a "`fast`" way into usb floppy drive driver.
Knowing that int0x13 doesn't work, I will now target the usb driver.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: 8infy, Amazonbot [bot], Bing [Bot], Google [Bot] and 11 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group