flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Floppy DMA code

Author
Thread Post new topic Reply to topic
Gomer73



Joined: 29 Nov 2003
Posts: 151
Gomer73 01 Jun 2004, 15:53
Anybody know any sample code for floppy DMA transfers?
And possibly just regular code.

Looking for code that uses the ports only instead of int 13 and int 21.
Pretty well got the IDE working, so now to the floppy.
Post 01 Jun 2004, 15:53
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 01 Jun 2004, 17:14
Post 01 Jun 2004, 17:14
View user's profile Send private message Reply with quote
Gomer73



Joined: 29 Nov 2003
Posts: 151
Gomer73 01 Jun 2004, 20:07
Excellent reference, thank-you. The code should give me a start.

Hopefully I can use my books on DMA to understand it a bit. I personally don't think the code will work, but who knows. He disabled DMA 2 right after he set the count value, so this is why I don't think it would work.

Thanks again though,

...Gomer73

PS: How is your OS comming? I found my little real mode switch program doesn't work too well when himem.sys isn't loaded and using hardware interrupts(like disk or the timer tick).
Post 01 Jun 2004, 20:07
View user's profile Send private message Reply with quote
bogdanontanu



Joined: 07 Jan 2004
Posts: 403
Location: Sol. Earth. Europe. Romania. Bucuresti
bogdanontanu 02 Jun 2004, 01:23
SolOS Floppy driver code works ok.
Post 02 Jun 2004, 01:23
View user's profile Send private message Visit poster's website Reply with quote
Gomer73



Joined: 29 Nov 2003
Posts: 151
Gomer73 02 Jun 2004, 05:08
Thanks Bogdan, your OS is an inspiration to us all.
I like the organization of the directories on your source code.
Look forward to seeing when it gets to a stage that I would do some programming for it.
The forth thing should be interesting even though it is way off in the future.

I'll have a look at your floppy code. It is pretty long, and the floppy driver isn't a high priority for me now. The other docs will help me understand what you are doing.

...Gomer73
Post 02 Jun 2004, 05:08
View user's profile Send private message 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.