home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / emulation / shapeshifter / videodrivers / sd64evd / sd64evd.doc < prev    next >
Encoding:
Text File  |  1996-06-03  |  7.4 KB  |  198 lines

  1.  
  2.          PiccoloSD64 external 24 bit video driver for ShapeShifter
  3.                  1996 by Francesco Doro (fdoro@gpnet.it)
  4.                               Public Domain
  5.  
  6.  
  7.   SD64evd is an external video driver for the Macintosh emulator
  8. ShapeShifter.  It supports only the 24/32 bit color mode of the graphics
  9. board PiccoloSD64.
  10.  
  11.  
  12. *** Introduction:
  13.  
  14.   The problem with 24 (and 15) bit is that Mac's system uses a pixel format
  15. different from that used by the PiccoloSD64 and other graphics boards
  16. (except for CyberVision) so a conversion is needed; the emulator assigns to
  17. Mac a video memory that doesn't correspond to that really used for the
  18. display so the Mac can write to it using his own format.  ShapeShifter, or
  19. an external driver, periodically transfers that 'virtual' Mac display
  20. memory to the real display memory and at the same time converts the format
  21. of the pixel to that used by the graphics board installed.  This is the
  22. so-called refresh; of course this process requires time, it has to be very
  23. optimized otherwise all the time has to be spended for it and the emulation
  24. is unusable.
  25.  
  26.   This driver uses the internal blitter of the SD64 for the refresh; that
  27. blitter is really powerful.
  28.  
  29.  
  30.   A blitter done refresh gives the following advantages:
  31.  
  32.   - Speed: a 640x480 24 bit display takes 0.05 sec to be refreshed.
  33.  
  34.   - Doesn't need MMU.
  35.  
  36.   - It is CPU indipendent: the CPU only has to wait until the blitter
  37.     finishes so the speed is the same on a 14 Mhz 68EC020 as on a 50 Mhz
  38.     68060 (but only the refresh speed is the same...).
  39.  
  40.   - It is bus' bandwidth indipendent: the refresh speed is the same for a
  41.     Zorro2 installed board as for a Zorro3 (again, only the refresh speed).
  42.  
  43.   - Doesn't need Amiga's memory: both virtual and real display resides on
  44.     the board's video memory.
  45.  
  46.  
  47.   ...But gives also this disavantage:
  48.  
  49.   - Since both virtual and real display must reside in the video memory, a
  50.     2 Meg SD64 allows max a 640x400 24 bit display.
  51.  
  52.  
  53. *** Requirements:
  54.  
  55.   Besides a working Amiga and PiccoloSD64, you need a registered and
  56. correctly installed CyberGraphX and a recent version of ShapeShifter,
  57. whether registered or not.
  58.  
  59.  
  60. *** Features:
  61.  
  62.   At the moment SD64evd supports these screen modes:
  63.  
  64.   512 x 384 x 24 bit
  65.   576 x 432 x 24 bit
  66.   640 x 400 x 24 bit
  67.   640 x 480 x 24 bit (only for 4 Meg SD64)
  68.   768 x 576 x 24 bit (only for 4 Meg SD64)
  69.   800 x 600 x 24 bit (only for 4 Meg SD64)
  70.   832 x 624 x 24 bit (only for 4 Meg SD64)
  71.  
  72.  
  73. *** Installation:
  74.  
  75.   Copy the SD64evd to the drawer called 'Video Drivers', located in the
  76. ShapeShifter drawer.
  77.  
  78.   Make sure you have in your display database the supported screen modes or
  79. the one you plan to use; if not, create them with CVMode (this utility is
  80. part of the CyberGraphX package).
  81.  
  82.  
  83. *** Usage:
  84.  
  85.   In the ShapeShifter Graphics Settings select '1 monitor', Color depth 24
  86. bit, Screen type External.  With the External driver selector select
  87. SD64evd.  In the Screen mode selector select one of the Screen Modes
  88. supported (see above on the Features and Installation sections).
  89.  
  90.   Other options:
  91.  
  92.   Refresh rate: set to something between 1 and 10 (suggested: 5).
  93.   Black border: has no effect with this driver.
  94.   Refresh always: has no effect with this driver.
  95.   MMU refresh: has no effect with this driver.
  96.   Amiga mouse pointer: I strongly suggest to set it.
  97.  
  98.  
  99. *** Hints:
  100.  
  101.   There is a problem with memory settings:  I said this driver doesn't eat
  102. Amiga's memory for the refresh; this is true, but the screen opened is an
  103. intuition screen retargetted to the SD64 by CyberGraphX and this system
  104. keep a buffer of every CyberGraphX screen in Amiga's memory for screen
  105. swapping and similar operations.  A 24 bit screen needs width*height*4
  106. bytes so a 640x400 means about a meg of Amiga's memory.  The OpenScreen is
  107. done after all other memory allocations so if in the memory settings you
  108. set 'Largest free block' when the OpenScreen is called all fast memory is
  109. gone; if you have enough chip memory that buffer will be allocated there
  110. (this doesn't cause any slowdown) otherwise the OpenScreen fails.
  111.  
  112.   This is my suggestion:
  113.  
  114.   Set 'Allocate Mac ROM memory first'.
  115.  
  116.   If your Amiga has one Meg chip ram DON'T select 'Largest free block', try
  117. to calculate how much fast memory you can assign to ShapeShifter:  see how
  118. much free fast memory is available before launching the emulator, subtract
  119. the size of the ROM image you use, the size of the CyberGraphX buffer as
  120. explained above, some memory for SS and write the result (in K) on the 'Mac
  121. memory' gadget.
  122.  
  123.   If your Amiga has two Meg chip ram and you plan to use max 640x480 screen
  124. format set 'Largest free block'.  In this case normally the chip ram is
  125. enough for the Intuition/CyberGraphX buffer.  Of course if your workbench
  126. is on an AGA screen 1280x512, 256 colors with lots of backdrops and
  127. colorful icons, the chip ram might a bit disapprove the arrival of the copy
  128. of a true color screen...
  129.  
  130.   If you plan to use the 768x576 or larger screen, do as for the 1 meg chip
  131. case.
  132.  
  133.  
  134.   Refresh rate:  as said above, a 640x480 24 bit screen requires less than
  135. 0.05 sec to be refreshed; if you use this screen mode a refresh rate of 5
  136. means that the emulation will run at 70% of the speed of a not-refreshed
  137. display emulation and the display is refreshed 6-7 times per second.  I
  138. think this is a good compromise, the emulation is fast enough to be usable
  139. and the visual effect isn't too bad.  If you use 800x600 or 832x634 I
  140. suggest to set refresh rate=10.
  141.  
  142.   Remember to press Ctrl-Tab before switching back to Workbench.  You may
  143. use that also if you need to speed up some operations, like renderings,
  144. when there isn't anything interesting to see in the display.  Pressing
  145. Ctrl-Tab disables the refreshing so the emulation run at full speed.
  146.  
  147.   When you have found a good setup, save it with the 'Save as' function of
  148. the Project menu of ShapeShifter.  Use a file name like
  149. 'ShapeShifterPrefs_24bit'.  Probably you will only use the 24 bit mode
  150. occasionally for Netscape, Photoshop or similar so this won't be your
  151. default setup; the saved preference file will avoid to find again the best
  152. setup.
  153.  
  154.  
  155. *** To do:
  156.  
  157.   Combined MMU-blitter refresh; but be patient...
  158.  
  159.  
  160. *** Copyright & misc:
  161.  
  162.   The assembly source of SD64evd is included in this archive.
  163.  
  164.   Both source and binary are 100% free and Public Domain.
  165.  
  166.   You use this soft at your own risk, I can't give any guarantee, but if
  167. you find bugs or have suggestions or comments feel free to email me at
  168. fdoro@gpnet.it; probably I'll try to fix bugs and enhance this soft.
  169.  
  170.   About 15 bit modes:  a reason for not supporting these screen modes is
  171. that AFAIK the SD64's blitter can't make that conversion.
  172.  
  173.   Note about Emplant Mac emulation:  too bad there isn't something like the
  174. SS' external video driver system for Emplant, I'd like to write a similar
  175. thing for it; anyway if someone at Emplant's home thinks the idea of the
  176. blitter is good, I'll be happy to see it in a next upgrade.
  177.  
  178.   Also by me for Mac emulators:  MacJoy13.lha, in Aminet:misc/emu.
  179. Allows using Amiga's joysticks and CD32 joypad with the emulated Mac; if
  180. you play Mac games give it a try, it's Public Domain.
  181.  
  182.   English is not my native language.
  183.  
  184.  
  185. *** Thanks to:
  186.  
  187.   Niels Knoop for great betatesting and nice email conversation about SD64.
  188.  
  189.   Ingenieurburo Helfrich for the PiccoloSD64.
  190.  
  191.   Christian Bauer for ShapeShifter and the external video driver system.
  192.  
  193.   The great CyberGraphX team.
  194.  
  195.   Finn Thoegersen for his wonderful compilation of technical dox about
  196. VGA/SVGA chips (ftp.coast.net:/SimTel/msdos/vga/vgadoc4b.zip).
  197.  
  198.