flat assembler
Message board for the users of flat assembler.

Index > OS Construction > How to work with DMA on Intel Machine?

Author
Thread Post new topic Reply to topic
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 07 Dec 2006, 18:31
I know DMA means Direct Memory Access where rather than passing through the processor from one device's memory to another it goes through the DMA chip, but how can I use it/program it in my OS? I checked OSDever's site and they don't have much on it.
Post 07 Dec 2006, 18:31
View user's profile Send private message Reply with quote
bubach



Joined: 17 Sep 2004
Posts: 341
Location: Trollhättan, Sweden
bubach 07 Dec 2006, 19:53
Here's the tutorial where I learned about it:
http://inglorion.net/documents/tutorials/x86ostut/floppy/
Post 07 Dec 2006, 19:53
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 07 Dec 2006, 20:44
Funny... I was there a week ago, but for something else! Thanks!
Post 07 Dec 2006, 20:44
View user's profile Send private message Reply with quote
tom tobias



Joined: 09 Sep 2003
Posts: 1320
Location: usa
tom tobias 07 Dec 2006, 22:09
1. Brey The Intel microprocessors ... 2006 Pearson 0131195069
2. Triebel The 8088 and 8086 microprocessors... 2003 Pearson 0130417742
3. Chebotko Master Class Assembly Language 1995 wrox
These three books all have good examples...All are available by interlibrary loan, though the Brey text may only be available as an older edition, but they will work fine for DMA controller....
Smile
Post 07 Dec 2006, 22:09
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 07 Dec 2006, 22:34
One thing you need to watch is paging as in Pmode and 64k page as in DMA are not the same.
Post 07 Dec 2006, 22:34
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 07 Dec 2006, 23:15
Thanks for all the help!
Post 07 Dec 2006, 23:15
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 08 Dec 2006, 22:56
And keep in mind that x86 DMA isn't really usable for generic memory blits...
Post 08 Dec 2006, 22:56
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.