home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpminfo / cpm-cc22.art < prev    next >
Text File  |  1994-07-13  |  10KB  |  173 lines

  1.  
  2. ==============================================================================
  3. [ THE KAY*FOG RBBS | Filename=CPM-CC22.ART | posted 07/05/86 | 171 lines 10k ]
  4.  
  5.           The CP/M Connection                   Originally published in    
  6.                   by                               Computer Currents       
  7.              Ted Silveira                         5720 Hollis Street     
  8.   (copyright and all rights reserved)            Emeryville, CA  94608     
  9.  
  10.                                 March 11, 1986
  11.                                 EMULATING CP/M
  12.  
  13.      Several times in the last few months, I've mentioned CP/M emulators 
  14. that allow you to run CP/M programs on an IBM PC or clone.  I've now had 
  15. a chance to play with one of these emulators, a package called 
  16. Acceler8/16 from Intersecting Concepts.  
  17.  
  18. [What a CP/M Emulator Does]
  19.  
  20.      A CP/M emulator is a program that makes an MS-DOS computer imitate 
  21. a CP/M computer, by creating CP/M environment within the memory space of 
  22. the MS-DOS computer.  When a CP/M program runs, it sees nothing amiss 
  23. and chugs merrily away.  In the background, meanwhile, the emulator is 
  24. running madly about, intercepting the CP/M program's instructions to its 
  25. fictional CP/M computer and translating them into instructions the real 
  26. MS-DOS computer can handle.  Software emulators are usually cheap but 
  27. slow.
  28.  
  29.      Recently, however, software emulators have gotten a hardware boost 
  30. from the NEC V20 chip, a pin-for-pin replacement for the 8088 chip 
  31. that's the brain of most MS-DOS computers.  The NEC V20 not only runs 
  32. the same instructions that the 8088 does (and 10-20% more efficiently to 
  33. boot) but also can run the instructions used by the older 8080 chip.  
  34. And the 8080 just happens to be the chip for which CP/M was written 
  35. (though almost all CP/M computers now use the Z80 chip with its extended 
  36. instruction set, which causes some problems I'll mention later).  When 
  37. the NEC V20 chip is flipped into its "8080 mode," it can execute 8080 
  38. instructions directly, so the emulator software doesn't have to do 
  39. nearly as much work.  As a result, a CP/M emulator that takes advantage 
  40. of this chip runs about 300% faster than a software-only emulator.
  41.  
  42. [Acceler8/16]
  43.  
  44.      Intersecting Concept's Acceler8/16 package was one of the first of 
  45. these software/hardware emulators, though there are now several others.  
  46. The full package consists of Media Master (a disk conversion program), 
  47. Accel (the emulator), and an NEC V20 chip to install in your MS-DOS 
  48. computer.  
  49.  
  50.      [Media Master]  Media Master temporarily converts one or more of an 
  51. MS-DOS computer's drives so that it can read a "foreign" disk, such as 
  52. one from a Kaypro or Osborne CP/M computer.  It can read and write a 
  53. large number of formats, both single and double-sided, including all the 
  54. common formats--Morrow, Kaypro, Osborne, Heath/Zenith, Televideo, Xerox, 
  55. etc.--and some I've never heard of--Beehive Topper, Idea Bitelex, and 
  56. Royal Alphatronic.  It won't do Osborne or Xerox single-density, only 
  57. double-density.
  58.  
  59.      Unlike some disk conversion programs, which convert a drive to a 
  60. foreign format and then leave it converted while you run other programs, 
  61. Media Master converts your drive only as long as Media Master itself is 
  62. running.  From the Media Master menu, you can get directories of any 
  63. drive, erase files from any drive, type or print files, and of course 
  64. copy files from one drive to another, all with one or more of your 
  65. drives converted to a foreign format.  But as soon as you exit Media 
  66. Master, you're returned to your native format on all drives.  That means 
  67. you can't run the CP/M emulator, stick in a Kaypro disk, and run a CP/M 
  68. program--you have to copy the program to an MS-DOS format disk.
  69.  
  70.      I tried out Media Master on several disk formats, and it handled 
  71. them all, with one exception.  I found that while Media Master handled 
  72. single-sided Morrow CP/M disks without problems, on double-sided Morrow 
  73. disks (formatted on my Morrow MD3), it sometimes reported the disk space 
  74. used incorrectly (though the files and file sizes were correct).  I also 
  75. found that my Morrow MD3 refused to read disks formatted by Media Master 
  76. in the Morrow format.  
  77.  
  78.      I talked to Mark Graybill at Intersecting Concepts about this 
  79. problem, and he quickly traced it to a bug in the Morrow MD3 format 
  80. table, a bug that apparently exists only in the particular version I 
  81. have (3.0) and not in earlier or later versions.  The company's policy 
  82. is to fix such bugs free (applause), so a new disk is on its way.  Any 
  83. of you who also have this problem should contact Intersecting Concepts.
  84.  
  85.      [Accel]  Accel, the actual CP/M emulator program, comes in four 
  86. versions.  The first is a plain vanilla version.  The other three 
  87. emulate the video characteristics of a Kaypro, an Osborne, and a 
  88. Heath/Zenith H19 terminal, respectively.  This terminal emulation works 
  89. well and lets you run CP/M programs without reinstalling them, if they 
  90. originally were installed for the Kaypro, Osborne, or H19.
  91.  
  92.      When you run Accel, it creates a CP/M environment complete with the 
  93. built-in commands like DIR and ERA.  It also includes a few ZCPR-like 
  94. enhancements such as automatic search of drive A for programs.  The only 
  95. noticeable difference from normal CP/M is that all your CP/M programs 
  96. must be renamed using the filetype CPM instead of the usual COM (so MS-
  97. DOS won't confuse them with its own COM files).
  98.  
  99.      You can run Accel by itself, without the help of the V20 chip, but 
  100. like all software-only emulators, it's so slow that it will drive you 
  101. crazy.  If you have the V20 chip installed, however, the performance 
  102. isn't bad.  While there's some argument about whether benchmark 
  103. performance is slightly better or slightly worse than a typical Z80 
  104. computer, what I noticed most was the screen speed (the speed with which 
  105. the computer can fill up the screen with text or whatever).  The screen 
  106. speed using the Kaypro terminal emulation is slower than that of my CP/M 
  107. Kaypro.  And the Kaypro itself is not a speed demon, being slower than 
  108. my Morrow (with a Televideo 925 terminal running at 19,200 bits per 
  109. second).  I found the results good enough to be usable, but I did get 
  110. tired of waiting for things to happen on the screen.
  111.  
  112.      Accel runs pretty much everything it claims to, which means 
  113. everything that's written for generic CP/M and uses only the 8080 chip 
  114. instruction set, but it does have a few limitations.  As I mentioned 
  115. earlier, most CP/M computers now use the Z80 chip, which has some extra 
  116. instructions that the 8080 doesn't.  Programs that use these Z80-only 
  117. instructions won't run under Accel, but fortunately, most CP/M programs 
  118. stick to the 8080 instructions (so they can run on as many CP/M 
  119. computers as possible).  Accel also won't run programs that use certain 
  120. BDOS and BIOS calls, mostly ones that work intimately with the disk 
  121. drive (BDOS functions 27 and 31, and BIOS functions 8 through 16).
  122.  
  123.      Programs that will run include DDT, ASM, dBase II, and the new 
  124. OutThink thought processor from Kamasoft.  Programs that won't run 
  125. include SD, NSWP207, UNERASE, and DU (or any other disk editor).
  126.  
  127.      WordStar will also run under Accel, but if you have the Kaypro 
  128. factory-installed CP/M WordStar, be prepared for some problems, since 
  129. Kaypro modifies the program.  So far I haven't been able to get this 
  130. version to run.  When I first tried running the Kaypro WordStar, the 
  131. computer would load it and then immediately reboot, returning me to the 
  132. A> prompt without doing anything.  I then remembered that Kaypro 
  133. modifies its versions of WordStar to program the cursor keys, so I dug 
  134. into it with DDT and disabled the offending code (at locations INISUB, 
  135. UNISUB, and MORPAT).
  136.  
  137.      When I tried this new version of WordStar, it loaded and went to 
  138. its first menu just as it should, but then it refused to do anything 
  139. except exit.  It acted as if it couldn't find its two overlay files, 
  140. WSOVLY1.OVR and WSMSGS.OVR, even though I verified that they were on the 
  141. disk.  I haven't yet figured out what this second problem is--more 
  142. information next time (I hope).
  143.  
  144.      Overall, both Media Master and Accel do what they claim to.  Except 
  145. for the quirk with Morrows, Media Master seems a solid program, and 
  146. while Accel (when combined with the NEC V20 chip) won't blind you with 
  147. its speed, it is usable . . . and miles ahead of any software-only 
  148. emulator.  I do wish it were possible to use "foreign" disks directly 
  149. while in the CP/M mode, but I can work around that.  (I've heard that a 
  150. similar program, RUNCPM from Micro Interfaces, does allow this, but I 
  151. haven't seen it.)
  152.  
  153.      If you're interested in CP/M emulators--and you must be if you've 
  154. hung around this long--you might also want to look for a copy of the 
  155. February 1986 Computer Shopper, which has an article comparing half a 
  156. dozen emulators.
  157.  
  158. Acceler8/16
  159. $99.95
  160. Intersecting Concepts, Inc.
  161. 4573 Heatherglen Ct.
  162. Moorpark, CA  93021
  163. 805/529-5073
  164.  
  165. ------------------------------------------------------------------------------
  166.       Ted Silveira is a freelance writer and contributing editor to several
  167.    computer-oriented publications.  He appreciates suggestions or feedback
  168.    and can be reached through the KAY*FOG RBBS (415)285-2687 and CompuServe
  169.    (72135,1447) or by mail to 2756 Mattison Lane, Santa Cruz, CA 95065.
  170.  
  171. -------------------------  End of CPM-CC22.ART Text  -------------------------
  172.  
  173.