home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!dutrun!donau!liberator.et.tudelft.nl!wolff
- From: wolff@liberator.et.tudelft.nl (Rogier Wolff)
- Newsgroups: comp.os.linux
- Subject: Re: DOS emulation
- Message-ID: <1993Jan05.105418.3769@donau.et.tudelft.nl>
- Date: 5 Jan 93 10:54:18 GMT
- References: <memo.837633@cix.compulink.co.uk> <C0BGJq.Lr5@world.std.com>
- Sender: news@donau.et.tudelft.nl (UseNet News System)
- Organization: Delft University of Technology, Dept. of Electrical Engineering
- Lines: 45
- Nntp-Posting-Host: liberator.et.tudelft.nl
-
- jhallen@world.std.com (Joseph H Allen) writes:
-
- >In article <memo.837633@cix.compulink.co.uk> jburtona@cix.compulink.co.uk writes:
- >>DOS emulation
-
- >>Rather than running a copy of MSDOS in an virual 8086, wouldn't it be
- >>nice to have a free dos-like operating system that was capable of
- >>running DOS programs?
-
- >I was seriously considering doing this once. The difficulty of the problem
- >depends on the level of compatibility you wish to achieve:
- [ some things]
- > Also many programs use DOS extenders to get access to 386
- > features...
-
- >So it ends up being quite a bit of work. The ultimate in compatibility
- >would be to get Windows to run in your MS-DOS, but it might actually be
- >easier to simulate the Windows API then to simulate MS-DOS and run real
- >Windows in it.
-
- Now I don't agree with this. the windows API has in the HUNDREDS of calls.
- Also given that hardware is slightly logical because making exceptions
- and so forth in silicon is very expensive.
-
- This is what is wrong with the current DOS emulator. It starts by emulating
- the MSDOS API. You should start by emulating the hardware, and after you
- are able to run MSDOS using that, you can start optimizing performance
- and functionality by trapping some MSDOS calls that you know are often
- used and are best emulated. The basic hardware that MSDOS needs is:
- Keyboard/timers/video/floppy (harddisk).
-
- At first video emulation need only be at 80x25 textmode. In the end it
- shouldn't be too hard to detect "going into graphics", and emulate that
- too. It might become a little slow, but it should at least work....
-
- >Rewriting a stand-alone version of MS-DOS is probably less difficult than
- >making a hack for linux. At least then you don't have to worry about the
- >hardware compatibility.
-
- No comment.
-
- Roger
- --
- **** a 486 in V86 mode is like a VW buggy with a 6 litre V12 motor. ****
- EMail: wolff@duteca.et.tudelft.nl ** Tel +31-15-783644 or +31-15-142371
-