home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
program
/
grfx_snd
/
dsc_s1
/
dcs_s1.doc
next >
Wrap
Text File
|
1991-10-11
|
8KB
|
251 lines
****************************************************
!!! Order Data Diet now for the special intro !!!
!!! price of $59.95. Hurry, the price will go !!!
!!! up on December 1, 1991. !!!
!!! !!!
!!! If you are a registered owner of a Double !!!
!!! Click product, you should have received the !!!
!!! DC Source newsletter by now. If you have !!!
!!! not gotten yours, call us at (713)977-6520. !!!
****************************************************
!!! Overseas distributor information below !!!
DCS.S - Assembly Lesson #1
Copyright © 1991 Double Click Software
by Keith Gerdes and Michael B. Vederman
DCS.S is a FREEWARE composition. A FREEWARE composition is one which you
may freely distribute, but you cannot charge for or alter the contents of
in any manner. Double Click Software retains all copyright exclusive
rights except exclusive distribution.
==============================================================================
This is sort of a diversion from the usual Program of the Week.
I am testing the waters to see what holds in store for us after the last
installment for the POW year- next Friday (10/18/91).
Presented in DCS_S1.S is assembly source code for a routine to read in
picture files- NEO and PIx. This seems to be the first request for most
new programmers to a language.
==============================================================================
This installment is a program to read either Degas/Degas Elite PIx or
NEO files and show them on the screen.
A block of memory is used for a new screen buffer which must reside on a
256 ($100) byte boundary- the ST video shifter requires this. Saving the
resolution and palette allows a "clean" exit to the program.
Instead of "clearing" memory for the new screen, the palette is just zeroed
till the data has been read. Then, the new palette is set and we see the
desired picture.
Pressing a key exits the program. The original resolution and palette are
restored along with the mouse cursor before termination.
(This is a revised article which originally appeared in the HASTE
newsletter as SAR #2.)
[Dug out of mothballs after being inspired by a request on the DCS BBS.]
For your reference.
An excerpt from: ST Picture Formats
------------------
Compiled by:
Dave Baggett
(arpanet: dmb@TIS.COM)
<NEOChrome>
1 long resolution (0 = low res, 1 = medium res, 2 = high res)
16 words palette
12 bytes filename ("xxxxxxxx.xxx")
1 byte Left color animation limit (starting color number)
1 byte Right color animation limit (ending color number)
1 byte color rotation speed
1 byte color rotation direction
1 word color rotation duration (number of iterations)
18 longs reserved for expansion
16000 words picture data (screen memory)
-----------
32128 bytes total
<DEGAS>
1 word resolution (0 = low res, 1 = medium res, 2 = high res)
Other bits may be used in the future; use a simple bit
test rather than checking for specific word values.
16 words palette
16000 words picture data (screen memory)
-----------
32034 bytes total
<DEGAS Elite (Uncompressed)>
1 word resolution (0 = low res, 1 = medium res, 2 = high res)
Other bits may be used in the future; use a simple bit
test rather than checking for specific word values.
16 words palette
16000 words picture data (screen memory)
4 words left color animtion limit table (starting color numbers)
4 words right color animation limit table (ending color numbers)
4 words animation channel direction flag (0 = left, 1 = off, 2 = right)
4 words animation channel delay in 1/60's of a second. [0 - 128]
-----------
32066 bytes total
Next installment? [if there is one... ;) ]
Maybe a color cycling routine or an uncompress routine for Degas Elite PCx
files.
+++++++++++
!!OUT NOW!!
+++++++++++
DATA DIET - Realtime compression of _all_ files. Double your data storage
device capacity, while using every single file the same as you always have!
*** Absolutely no other product on the market comes close to Data Diet.
*** Absolutely the fastest compression and decompression around, bar none.
!!! FAST 100 Kilobyte per second compression!!!
100% compatibility!
Check out some test results:
File type No. of Normal Size Diet Size You save!!
files in bytes in bytes percentage
------------------------------------------------------------------------
Postscript (.PS) 9 1104706 234490 79%
PageStream (.DOC) 22 1230167 365157 71%
Various pictures
(some already compressed) 26 834488 625133 26%
First Word + (.DOC) 7 56609 26046 53%
------------------------------------------------------------------------
Don't buy another hard disk!
Introductory
retail price: $59.95
Availability: Shipping now!
=============
BUY, BUY, BUY
=============
Have you purchased the DC DESKTOP or DC UTILITIES version 2.0???
If not, you owe yourself the pleasure of using our superb programs.
"These programs are aSTounding!" - Ken Badertscher, ATARI Corp. talking
about the DC UTILITIES v2.0
"The DC DESKTOP is a permanent part of my system!"
- Ron Luks, Founder of Compuserve's Sig Atari
Call us to order, or ask your local retailer.
===========
MORE INPUT!
===========
If you like this program, great!
Be sure to let us know what ideas or comments you have about our software.
We are always anxious to hear what anyone has to say!
You can reach us almost everywhere!
=======
By Mail
=======
Double Click Software
PO BOX 741206
Houston, TX 77274
========
By Phone
========
Double Click Software : (713)977-6520
======
Online
======
GEnie : DOUBLE-CLICK (Atari ST Roundtable, CATegory 30)
CompuServe : 75300,577 (GO ATARIVendors, area 13)
Usenet : uace0@menudo.uh.edu
DC BBS : (713)944-0108
========
Overseas
========
England (DC Utilities and DC Desktop only)
------------------------------------------
SoftVille Computer Supplies
Unit 5, Stratfield Park
Elettra Avenue
Waterlooville
Hampshire P07 7XN
England
Tel: 0705 266509
Netherlands and Dutch Belgium
-----------------------------
STart
Uitgeverij Divo
M. Gijzenburg 14
2907 HG Capelle a/d IJssel
Nederland
Tel: 010 458 7640
France, French Belgium and French Switzerland
---------------------------------------------
Arobace Editions
2 Rue Piemontesi
75018 Paris
France
Tel: (1) 42 23 50 44
Australia
---------
Stephen's Music Center
2 Moore Road
Springwood
New South Wales
Australia 2777
Tel: 61 516 196
Austech Computers
157 Whitehorse Rd.
Blackburn 3130
Victoria
Ausralia
Tel: 61 3 894 1652
Germany
-------
Look in Atari Journal for a review of Data Diet.
==============================================================================
This program is supplied in the belief that it operates as specified,
neither Double Click Software (the company) nor the authors shall not be liable
in any circumstance whatsoever for any direct or indirect loss or damage to
property incurred or suffered by the customer or any other person as a result
of any fault or defect in the goods or services supplied by the company
and in no circumstances shall the company be liable against consequential
damage or loss of profits (whether or not the possibility thereof was
separately advised to it or reasonably forseeable) arising from the use or
performance of such goods or services.
==============================================================================