home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / emulatia / 5661 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  3.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!ogicse!pdxgate!parsely!percy!cryo!jdrew
  2. From: jdrew@cryo.rain.com (Jim Drew)
  3. Newsgroups: comp.sys.amiga.emulations
  4. Subject: Re: EMPLANT for 1200?
  5. Message-ID: <jdrew.0mhi@cryo.rain.com>
  6. Date: 29 Dec 92 17:33:00 GMT
  7. Article-I.D.: cryo.jdrew.0mhi
  8. References: <1992Dec29.155607.29619@cs.wisc.edu>
  9. Organization: Cryogenic Software - Portland, OR USA
  10. Lines: 61
  11. X-NewsSoftware: BBX-UMB 0.27 beta (Nov 22 1992)
  12.  
  13.  
  14. In <1992Dec29.155607.29619@cs.wisc.edu>, rcmolden@parmesan.cs.wisc.edu (Robertc. Moldenhauer) writes:
  15. > Yes, my Emplant boots quite nicely from an AMAX partition, in colour too!  I
  16. > thinkk we were all too quick to jump on jim when the original software came
  17. > out.  But I do have a couple questions.
  18. > 1) I have a 2000 with a 2620, while I realise this is slow for a 1992/3 machine
  19. > Emplant seems to crawl relative to AMAX, even with the priority kicked up.. Why
  20. > is it so slow?  I mean it takes seconds even for the menus to open!
  21. > 2) When will there be support for all memory, not just 32 bit?
  22.  
  23. You have to remember that the MAC we are emulating is a MAC II/x/cx. 
  24. These MACs use 256K ROMs and have a substantial amount of system overhead
  25. (read as slow down) due to the new features added over the MAC+.  The MAC
  26. II is a 15.66Mhz 68020 and it runs only about 5-10% faster than a 8Mhz
  27. 68000 based MAC+.
  28.  
  29. You really only want to use 32 bit memory with the MAC emulation.  MACs
  30. only have 32 bit memory (systems higher than the MAC+).  If you have 32
  31. bit memory and an MMU, tests done with Speedometer (PD MAC equiv of the
  32. Amiga's AIBB) show that our emulation is the same speed or within 3% of
  33. the speed of AMAX, all while multitasking (tests conducted with the same
  34. Amiga using AMAX and EMPLANT).
  35.  
  36. The way that the MAC emulation works requires the multi-tasking to be
  37. functioning.  A seperate task updates the video display.  A seperate task
  38. handles the device support, the ADB, and another task handles the
  39. emulation itself (ran in SuperVisor mode).  Raising the priority higher
  40. than 0 has _no_ real advantage.  This because one task will be steal more
  41. time for the others, and some of the tasks' priorities can not be higher
  42. than others (or higher than many pre-existing tasks).
  43.  
  44. We use the keyboard.device to fetch the keyboard data.  We were going to
  45. go straight to the CIA, however, when a level 2 interrupt is generated by
  46. the CIA and the keyboard matrix value is read, the interrupt goes away. 
  47. This means that if the MAC emulation read the CIA (instead of the
  48. keyboard.device) the Amiga would never know that a key was pressed.
  49.  
  50. Although we could re-write the emulator to take over the entire system
  51. (like AMAX) I refuse to do it.  We do not lose that much speed compared
  52. to AMAX (especially when you realize that we are only taking about 50%
  53. total CPU time while multi-tasking).
  54.  
  55. Our biggest slowdown is the video.  Having to convert a entire MAC screen
  56. into Amiga planar data is terribly slow, even though that we write
  57. everything in _highly_ optimized assembly code.  Actually, comparing a
  58. page is where the slow down really shows.  A 16 color hires screen takes
  59. 384,000 clock cycles just to compare a single page.   We have nifty new
  60. routines that now use the MMU to flag changes in the video pages.  Using
  61. the MMU reduces the number of clock cycles to just a few hundred, many
  62. thousands of times faster than before.  Real time video is now possible
  63. with the Amiga video.
  64.  
  65.  
  66. Jim Drew - Vice President, Utilities Unlimited, Inc.
  67.            1641 McCulloch Blvd. Suite #25-124
  68.            Lake Havasu City, AZ  86403
  69.            (602) 680-9004     (602) 680-9006 FAX    (602) 453-9767 BBS
  70.