home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22761 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  2.4 KB

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