flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Virtual devices

Author
Thread Post new topic Reply to topic
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel 18 Oct 2007, 13:24
Hello,
I would like to know how are virtual devices (like NUL), implemented in MS-DOS.
Thanks in advance.
Post 18 Oct 2007, 13:24
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 27 Oct 2007, 16:24
I looked on wikipedia, didn't find much except this: http://en.wikipedia.org/wiki/Virtual_Device

Hope that helps any.
Post 27 Oct 2007, 16:24
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 27 Oct 2007, 17:22
weren't MS-DOS sources released / leaked ?
Post 27 Oct 2007, 17:22
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 27 Oct 2007, 17:31
Post 27 Oct 2007, 17:31
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder 28 Oct 2007, 00:54
You could also take a look at how http://www.freedos.org/ DOeS it.
Post 28 Oct 2007, 00:54
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 28 Oct 2007, 02:30
If your looking for another examples (other than Dos), i think there was one in TITAN-OS, the OS written by Tomasz Grysztar.
But i maybe wrong.
Post 28 Oct 2007, 02:30
View user's profile Send private message Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 762
Location: Adelaide
sinsi 28 Oct 2007, 03:06
A virtual device in DOS is just a device driver like the ones that load from the CONFIG.SYS file - they have a device name (like NUL and CON) and usually process I/O (NUL just ignores the I/O and returns, for example).

As a side note, this is why you can't call a file 'nul' or 'con' - even in win32 (?not sure) - because it already exists.
Post 28 Oct 2007, 03:06
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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.