home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / grfx_snd / dsc_s1 / dcs_s1.doc next >
Text File  |  1991-10-11  |  8KB  |  251 lines

  1. ****************************************************
  2. !!!  Order Data Diet now for the special intro   !!!
  3. !!!  price of $59.95.  Hurry, the price will go  !!!
  4. !!!  up on December 1, 1991.                     !!!
  5. !!!                                              !!!
  6. !!!  If you are a registered owner of a Double   !!!
  7. !!!  Click product, you should have received the !!!
  8. !!!  DC Source newsletter by now.  If you have   !!!
  9. !!!  not gotten yours, call us at (713)977-6520. !!!
  10. ****************************************************
  11.  
  12. !!!  Overseas distributor information below   !!!
  13.  
  14. DCS.S - Assembly Lesson #1
  15.  
  16. Copyright © 1991 Double Click Software
  17.  
  18. by Keith Gerdes and Michael B. Vederman
  19.  
  20. DCS.S is a FREEWARE composition.  A FREEWARE composition is one which you
  21. may freely distribute, but you cannot charge for or alter the contents of
  22. in any manner.  Double Click Software retains all copyright exclusive
  23. rights except exclusive distribution.
  24.  
  25. ==============================================================================
  26.  
  27. This is sort of a diversion from the usual Program of the Week.
  28. I am testing the waters to see what holds in store for us after the last
  29. installment for the POW year- next Friday (10/18/91).
  30.  
  31. Presented in DCS_S1.S is assembly source code for a routine to read in
  32. picture files- NEO and PIx.  This seems to be the first request for most
  33. new programmers to a language.
  34.  
  35. ==============================================================================
  36.  
  37. This installment is a program to read either Degas/Degas Elite PIx or
  38. NEO files and show them on the screen.
  39.  
  40. A block of memory is used for a new screen buffer which must reside on a
  41. 256 ($100) byte boundary- the ST video shifter requires this.  Saving the
  42. resolution and palette allows a "clean" exit to the program.
  43.  
  44. Instead of "clearing" memory for the new screen, the palette is just zeroed
  45. till the data has been read.  Then, the new palette is set and we see the
  46. desired picture.
  47.  
  48. Pressing a key exits the program.  The original resolution and palette are
  49. restored along with the mouse cursor before termination.
  50.  
  51. (This is a revised article which originally appeared in the HASTE
  52.  newsletter as SAR #2.)
  53. [Dug out of mothballs after being inspired by a request on the DCS BBS.]
  54.  
  55.  
  56. For your reference.
  57. An excerpt from:           ST Picture Formats
  58.                            ------------------
  59.                               Compiled by:
  60.                               Dave Baggett
  61.                          (arpanet: dmb@TIS.COM)
  62.  
  63. <NEOChrome>
  64.  
  65. 1 long          resolution (0 = low res, 1 = medium res, 2 = high res)
  66. 16 words        palette
  67. 12 bytes        filename ("xxxxxxxx.xxx")
  68. 1 byte          Left color animation limit (starting color number)
  69. 1 byte          Right color animation limit (ending color number)
  70. 1 byte          color rotation speed
  71. 1 byte          color rotation direction
  72. 1 word          color rotation duration (number of iterations)
  73. 18 longs        reserved for expansion
  74. 16000 words     picture data (screen memory)
  75. -----------
  76. 32128 bytes     total
  77.  
  78.  
  79. <DEGAS>
  80.  
  81. 1 word          resolution (0 = low res, 1 = medium res, 2 = high res)
  82.                 Other bits may be used in the future; use a simple bit
  83.                 test rather than checking for specific word values.
  84. 16 words        palette
  85. 16000 words     picture data (screen memory)
  86. -----------
  87. 32034 bytes     total
  88.  
  89.  
  90. <DEGAS Elite (Uncompressed)>
  91.  
  92. 1 word          resolution (0 = low res, 1 = medium res, 2 = high res)
  93.                 Other bits may be used in the future; use a simple bit
  94.                 test rather than checking for specific word values.
  95. 16 words        palette
  96. 16000 words     picture data (screen memory)
  97. 4 words         left color animtion limit table (starting color numbers)
  98. 4 words         right color animation limit table (ending color numbers)
  99. 4 words         animation channel direction flag (0 = left, 1 = off, 2 = right)
  100. 4 words         animation channel delay in 1/60's of a second. [0 - 128] 
  101. -----------
  102. 32066 bytes     total
  103.  
  104.  
  105. Next installment? [if there is one...  ;) ]
  106. Maybe a color cycling routine or an uncompress routine for Degas Elite PCx
  107. files.
  108.  
  109.  
  110. +++++++++++
  111. !!OUT NOW!!
  112. +++++++++++
  113.  
  114. DATA DIET - Realtime compression of _all_ files.  Double your data storage
  115. device capacity, while using every single file the same as you always have!
  116.  
  117. *** Absolutely no other product on the market comes close to Data Diet.
  118. *** Absolutely the fastest compression and decompression around, bar none.
  119.  
  120. !!! FAST 100 Kilobyte per second compression!!!
  121.  
  122. 100% compatibility!
  123.  
  124. Check out some test results:
  125.  
  126.        File type           No. of  Normal Size   Diet Size   You save!!
  127.                            files   in bytes      in bytes    percentage
  128. ------------------------------------------------------------------------
  129. Postscript (.PS)           9       1104706       234490      79%
  130. PageStream (.DOC)          22      1230167       365157      71%
  131. Various pictures
  132. (some already compressed)  26      834488        625133      26%
  133. First Word + (.DOC)        7       56609         26046       53%
  134. ------------------------------------------------------------------------
  135.  
  136. Don't buy another hard disk!
  137.  
  138. Introductory
  139. retail price: $59.95
  140. Availability: Shipping now!
  141.  
  142. =============
  143. BUY, BUY, BUY
  144. =============
  145. Have you purchased the DC DESKTOP or DC UTILITIES version 2.0???
  146.  
  147. If not, you owe yourself the pleasure of using our superb programs.
  148.  
  149. "These programs are aSTounding!" - Ken Badertscher, ATARI Corp. talking
  150.                                    about the DC UTILITIES v2.0
  151.  
  152. "The DC DESKTOP is a permanent part of my system!"
  153.    - Ron Luks, Founder of Compuserve's Sig Atari
  154.  
  155. Call us to order, or ask your local retailer.
  156.  
  157.  
  158. ===========
  159. MORE INPUT!
  160. ===========
  161. If you like this program, great!
  162.  
  163. Be sure to let us know what ideas or comments you have about our software.
  164. We are always anxious to hear what anyone has to say!
  165.  
  166. You can reach us almost everywhere!
  167.  
  168. =======
  169. By Mail
  170. =======
  171. Double Click Software
  172. PO BOX 741206
  173. Houston, TX 77274
  174.  
  175. ========
  176. By Phone
  177. ========
  178. Double Click Software  : (713)977-6520
  179.  
  180. ======
  181. Online
  182. ======
  183. GEnie       :  DOUBLE-CLICK (Atari ST Roundtable, CATegory 30)
  184. CompuServe  :  75300,577    (GO ATARIVendors, area 13)
  185. Usenet      :  uace0@menudo.uh.edu
  186. DC BBS      :  (713)944-0108
  187.  
  188.  
  189. ========
  190. Overseas
  191. ========
  192.  
  193. England (DC Utilities and DC Desktop only)
  194. ------------------------------------------
  195. SoftVille Computer Supplies
  196. Unit 5, Stratfield Park
  197. Elettra Avenue
  198. Waterlooville
  199. Hampshire P07 7XN
  200. England
  201. Tel: 0705 266509
  202.  
  203. Netherlands and Dutch Belgium
  204. -----------------------------
  205. STart
  206. Uitgeverij Divo
  207. M. Gijzenburg 14
  208. 2907 HG Capelle a/d IJssel
  209. Nederland
  210. Tel: 010 458 7640
  211.  
  212. France, French Belgium and French Switzerland
  213. ---------------------------------------------
  214. Arobace Editions
  215. 2 Rue Piemontesi
  216. 75018 Paris
  217. France
  218. Tel: (1) 42 23 50 44
  219.  
  220. Australia
  221. ---------
  222. Stephen's Music Center
  223. 2 Moore Road
  224. Springwood
  225. New South Wales
  226. Australia 2777
  227. Tel: 61 516 196
  228.  
  229. Austech Computers
  230. 157 Whitehorse Rd.
  231. Blackburn 3130
  232. Victoria
  233. Ausralia
  234. Tel: 61 3 894 1652
  235.  
  236. Germany
  237. -------
  238. Look in Atari Journal for a review of Data Diet.
  239.  
  240. ==============================================================================
  241. This program is supplied in the belief that it operates as specified,
  242. neither Double Click Software (the company) nor the authors shall not be liable
  243. in any circumstance whatsoever for any direct or indirect loss or damage to
  244. property incurred or suffered by the customer or any other person as a result
  245. of any fault or defect in the goods or services supplied by the company
  246. and in no circumstances shall the company be liable against consequential
  247. damage or loss of profits (whether or not the possibility thereof was
  248. separately advised to it or reasonably forseeable) arising from the use or
  249. performance of such goods or services.
  250. ==============================================================================
  251.