home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / intel / 2225 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  3.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!uka!uka!news
  2. From: S_JUFFA@iravcl.ira.uka.de (|S| Norbert Juffa)
  3. Newsgroups: comp.sys.intel
  4. Subject: Re: LOADALL and the 486
  5. Date: 11 Nov 1992 10:50:03 GMT
  6. Organization: University of Karlsruhe (FRG) - Informatik Rechnerabt.
  7. Lines: 52
  8. Distribution: world
  9. Message-ID: <1dqogrINNn71@iraul1.ira.uka.de>
  10. References: <1992Nov04.155003.25751@apricot.co.uk> <1992Nov9.115520.5893@fct.unl.pt> <veit.721473830@du9ds3>
  11. NNTP-Posting-Host: irav1.ira.uka.de
  12. X-News-Reader: VMS NEWS 1.23
  13. In-Reply-To: veit@du9ds3.uni-duisburg.de's message of 11 Nov 92 09:23:50 GMT
  14.  
  15. In <veit.721473830@du9ds3> veit@du9ds3.uni-duisburg.de writes:
  16.  
  17. > In <1992Nov9.115520.5893@fct.unl.pt> jpl@antares.fct.unl.pt (Joao Prospero Luis [ps]) writes:
  18. > >Marcus Jenkins (marcusj@apricot.co.uk) wrote:
  19. > >: I know this may be an FAQ, but I am just a little confused.  Is
  20. > >: LOADALL implemented in the 486?  PC Magazine said that it is
  21. > >: in all processors from 2-486.  It also said that Microsoft use
  22. > >: the instruction in HIMEM.SYS, SMARTDRV.SYS and RAMDRIVE.SYS in
  23. > >: MS-DOS.  On the other hand, an instructor from Intel (while lecturing
  24. > >: on an i386/486 programming and architecture course) alleged that
  25. > >: LOADALL is only there on 286 and earlier steps of the 386.  Does
  26. > >: anybody know the REAL answer?  Is there commercial software out
  27. > >: there that does use this reserved instruction.  This enquiry is
  28. > >: out of curiosity only - I have no intention of putting LOADALL
  29. > >: into any of my programs!
  30. > >    As far as I know (it isnt that much) LOADALL isnt implemented in
  31. > >the 386, but is simulated by some BIOSes. When it traps an invalid opcode
  32. > Actually, LOADALL is two different instructions for 286 and 386.
  33. > It seems that at least the d0/d1 version of the 386DX has the LOADALL386
  34. > instruction. See /pub/pc/infos/loadall*.txt at ftp.uni-duisburg.de for
  35. > information on loadall286 and loadall386.
  36. > Many 386 BIOSes versions emulate the loadall286 instruction, because it
  37. > is used occasionally in some programs (HIMEM uses it, but only when a
  38. > 286 is detected; there is seperate code for 386 which is used if one is
  39. > detected. The loadall386 is by far not so well known.
  40. > >it goes to check if it is a LOADALL, if it is it is simulated otherwise
  41. > >it does something else (in fact I think it tests some other invalid opcode
  42. > >first but I dont remember which). This was confirmed with my AMI BIOS.
  43. > >    JPL
  44. > >--
  45.  
  46. LOADALL286 is not only used by HIMEM, but by Microsoft's SMARTDRV and RAMDRIVE
  47. programs as well. Various DOS versions had provisions for use of LOADALL286 by
  48. not using the LOADALL parameter area at address 800h. If you want to know what
  49. other programs use LOADALL286, just check the code with a debugger (Turbo
  50. Debugger and CodeView will correctly disassemble the LOADALL286 opcode, 0F05h
  51. I think). LOADALL386 (opcode 0F07h ?) is not widely used. The German computer
  52. magazine c't carried an article about LOADALL386 some time ago, with sample source
  53. code how to use it. They claimed LOADALL386 was used by a Taiwanese VMM
  54. manager.
  55.  
  56. Norbert
  57. -------------------------------------------------------------------------------
  58. Norbert Juffa         email: S_JUFFA@IRAVCL.IRA.UKA.DE       Live and let live!
  59.  
  60.  
  61.