flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > rd2fd program

Author
Thread Post new topic Reply to topic
c#6



Joined: 20 Apr 2004
Posts: 25
c#6 17 May 2004, 17:47
This program is cool, but can it write individual files to the disk? Or, maybe read files from the disk and copy them from the disk to the ramdisk or HDD?

Clicking MENU -> QUIT -> OK -> key 1 - works just as well as this proggy.

Programming rule #1:

* never write a program that does the exact same thing as a program that already exists.
Post 17 May 2004, 17:47
View user's profile Send private message Reply with quote
bloglite



Joined: 21 Feb 2004
Posts: 109
Location: East Tennessee U.S.A.
bloglite 17 May 2004, 20:02
Some machines LOCK @ the Quit screen.

Most likely that is why rd2fd was written/included.

I may be wrong. Rd2fd IS useful for that reason.

Later, Mark
Post 17 May 2004, 20:02
View user's profile Send private message Visit poster's website Reply with quote
Tolle



Joined: 21 Jan 2004
Posts: 71
Tolle 17 May 2004, 21:48
Well, i'm working on code that does exactly that: write a single file to the disk.
But, as always, time is not my friend Smile

rd2fd is written as a step in the direction of a full floppy driver (read/write single files) it's 32bit protected mode code directly talking to the hardware (& using the floppy interrupt) versus 16bit real mode bios calls.

Groenten,
Tolle.
Post 17 May 2004, 21:48
View user's profile Send private message Visit poster's website Reply with quote
c#6



Joined: 20 Apr 2004
Posts: 25
c#6 18 May 2004, 14:18
Ok, I will take that back.

I think I just might contribute and add some code to this driver ...

Even though floppy disks are fading fast, I can't do without floppy access when my laptop doesn't have a hard drive.

I would also like to create a CD/CD-RW driver for Menuet. What do you think? Wink
Post 18 May 2004, 14:18
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 18 May 2004, 16:11
You can use some of my code for the cd-driver,its writen with fasm and is 95% done,but will need converting to menuet, Which should be easy because it use's just ports.
You can get the OS including cd-driver code from here: http://www.falconrybells.co.uk/
It's called TestOs.zip

ASHLEY4.
Post 18 May 2004, 16:11
View user's profile Send private message Reply with quote
c#6



Joined: 20 Apr 2004
Posts: 25
c#6 18 May 2004, 16:37
I downloaded the code for the TestOS. Which files comprise the CD driver?

For reading the CD in MenuetOS I think that I can use syscall:

24 = ebx 2 - get playlist size of ecx to [edx]
ebx 3 - stop

This syscall is primarily used for playing an audio CD, but it should work for reading data CDs also. By using the above syscall I could read the TOC from it and store it in memory.

I think that I will edit the Systree app so that it will display the contents of the CD.
Post 18 May 2004, 16:37
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4 19 May 2004, 17:23
The Ata_Atapi16.inc is run to get the first cd drive address etc, Then Ata_Atapi39.inc has all the calls etc.

ASHLEY4.
Post 19 May 2004, 17:23
View user's profile Send private message Reply with quote
c#6



Joined: 20 Apr 2004
Posts: 25
c#6 20 May 2004, 13:22
Cool. Thanks. Smile
Post 20 May 2004, 13:22
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 can 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.