home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10605 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  1.6 KB

  1. Xref: sparky comp.os.msdos.programmer:10605 comp.sys.ibm.pc.programmer:583
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!caen!uflorida!reef.cis.ufl.edu!ggh
  3. From: ggh@reef.cis.ufl.edu (Greg Huey - Aymer deGregory)
  4. Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.programmer
  5. Subject: MS-DOS in 386 protected mode
  6. Message-ID: <37619@uflorida.cis.ufl.edu>
  7. Date: 14 Nov 92 01:48:44 GMT
  8. Sender: news@uflorida.cis.ufl.edu
  9. Followup-To: comp.os.msdos.programmer
  10. Organization: Univ. of Florida CIS Dept.
  11. Lines: 23
  12. Nntp-Posting-Host: reef.cis.ufl.edu
  13.  
  14.  
  15.   Im trying to write a 'bare-bones' multi-processing os for the 386.
  16. I dont wont to create my own dos, obviously I want to use MS-DOS...
  17. Question is, how do I do this in protected mode?
  18.   Presumably, I create the GDT, LDTs, TSSs, IDTs, and the viarious gates...
  19. But no matter HOW I map virtual memory with the GDT, LDTs, I cannot make
  20. the virtual memory transparent, due to the priv bits and table indicator
  21. bit. I need to put the 386 in protected mode, but it has to look the
  22. same to MS-DOS, otherwise MS-DOS will fail, wont it? For instance, MS-DOS
  23. knows one of its buffer is at seg:offs -- when I put the 386 into protected
  24. mode, seg, rather than being a simple address, will now be treated as a
  25. selection index into the GDT or LDT.
  26.  
  27. Is there some way (and how?) that I can get MS-DOS to work in the new
  28. protected mode once I make the switch from real mode to protected mode?
  29.  
  30. Does anyone know of a ftp site or the like w/ detailed information on
  31. MS-DOS that might help me here?
  32.  
  33. Many thanks
  34. Greg Huey
  35. ggh@reef.cis.ufl.edu
  36.  
  37.