Copy Link
Add to Bookmark
Report
Info-Atari16 Digest Vol. 90 Issue 277
INFO-ATARI16 Digest Fri, 2 Mar 90 Volume 90 : Issue 277
Today's Topics:
Bug in TURBO-C V1.0
Calling callgulam from TC
GDOS, BITIMAGES & .IMG
MULTISYNC RECOMMENDATIONS
Print Desktop (Alt-HELP) with Epson 24 pin printer - HELP NEEDED
TT and STe info needed
----------------------------------------------------------------------
Date: 2 Mar 90 19:49:28 GMT
From: oracle!news@apple.com (Mike Roberts)
Subject: Bug in TURBO-C V1.0
Message-ID: <1990Mar2.194928.6523@oracle.com>
In article <8098@sdcc6.ucsd.edu> mce@sdcc10.ucsd.edu (Mark Edwards) writes:
> [...example and much discussion deleted...]
>#Like I said "MAX is not a number, its an expression." There is an integer
>#in the expression (the number 32768). But there is also an operator (the
>#unary minus). This makes MAX an expression, not a number. Thus the real
>#question is what does K&R say integer expression are evaluated to? I
>#don't have K&R handy, but I believe it says long ints.
>#
> [...more discussion deleted...]
>IMHO, MAX is a constant expression. Since its type is unspecified, it is an
>int. Since it is not specified as unsigned, and is an integral type, it is
>therefore a signed type. Together the conclusion that MAX is a
>"const signed int MAX" when all the defaults are considered.
> [...yet more deleted...]
The ANSI C draft, section 3.1.3.2 "Integer constants," says that type of an
unsuffixed integer constant (i.e., no "L" or "U" suffix) is the first type from
the following list big enough to hold the constant: int, long int, unsigned
long int. I don't know how Turbo implements int on a 68k; the "natural" word
size of a 68k is somewhat ambiguous, since the processor handles 16- and 32-bit
computations equally well. If Turbo uses 16-bit int's, 32768 is promoted to
long because it does not fit in an int; the "-" operator is then applied to the
long, which results in a long. If Turbo uses 32-bit int's, 32768 fits in an
int and no promotion takes place; applying the "-" operator does not result in
any promotion, either, since, when it is applied to an int, and int results
(see the draft, section 3.2 and 3.3).
------------------------------
Date: 2 Mar 90 15:07:10 GMT
From: mcsun!unido!sbsvax!roeder@uunet.uu.net (Edgar Roeder)
Subject: Calling callgulam from TC
Message-ID: <3083@sbsvax.cs.uni-sb.de>
In article <11368@etana.tut.fi>, av74381@korppi.tut.fi (Vesterinen Arto) writes:
> Unfortunately have not been able to call gulam from a Turbo-C
> program. I have tried out Michal Jaegermann's method for
> MWC but it does not work out for TC. If anyone has figured out
> how to call gulam from TC, please e-mail me how to do it.
Remember that Turbo-C passes function arguments in registers. Since gulam is
not written in Turbo-C it expects the parameter to the callgulam()-function on
the stack. If you compile your program with the option to pass parameters
on the stack, it should run. You can also declare the variable cgp as
cdecl int (*cgp)(const char *); /* pointer to callgulam() */
- Edgar
--
Mail: Edgar R\"oder E-Mail: roeder@cs.uni-sb.de
Liesbet-Dill-Stra\ss e 3
D-6602 Dudweiler -o- -o-
W-Germany ~
Phone: 06897/74643 '---'
------------------------------
Date: Fri, 2 Mar 90 16:54:54 GMT
From: n-waters%NIMR.MRC.AC.UK@Forsythe.Stanford.EDU (Nick Waterson)
Subject: GDOS, BITIMAGES & .IMG
Message-ID: <9003021654.AA11643@nimsn41.>
Hi there all,
A short while ago I was asking about printing with GDOS, thanks to all
who replied. I can now print text and vdi graphic commands, but I am confused
about printing bit images. By the way I'm using GFA Basic 3. The only way I
haveachieved anything is to load the pic a byte at a time and plot its colour.
I am working in monochrome. This results in a postage stamp print out of my
pic.
I then proceeded to think about scaling the pic and ended up in total
confusion. Hence anymore help would be gratfully appreciated.
My second query is about IMG files. I know they contain a header which has the
x,y info etc. However, how do you set memory up so that pixel values off the
screen do not wrap round to the next line ie how do you increase the page
width in memory.
Many thanks,
Nick.
------------------------------
Date: 23 FEB 90 22:03:18 CST
From: Z4648252 <Z4648252%SFAUSTIN.BITNET@Forsythe.Stanford.EDU>
Subject: MULTISYNC RECOMMENDATIONS
Message-ID: <900223.22031795.042770@SFA.CP6>
Hello all,
My monochrome SM124 died (flyback) and my dealer told me that no
monochrome monitors are available. Upon calling just about every dealer
and mail order firm for the ST that I could think of, I heard the same
story. My dealer suggested that I sell him my Atari SC1224 (a very sharp
and crisp 1985 version) and he would sell me a multisync and adaptor.
Ok, first question.... does anyone have a monochrome monitor that they
are not using?
Second question.... how clear is the image in monochrome mode for a
multisync monitor? I use Spectre GCR daily and don't want that product to
be hurt.
Many thanks for any comments...
Larry Rymal: |East Texas Atari 68NNNers| <Z4648252@SFAUSTIN.BITNET>
------------------------------
Date: 1 Mar 90 17:06:33 GMT
From: ucsdhub!hp-sdd!hp-pcd!hplsla!andyc@ucsd.edu (Andy Cassino)
Subject: Print Desktop (Alt-HELP) with Epson 24 pin printer - HELP NEEDED
Message-ID: <5440107@hplsla.HP.COM>
|
| You need to get a program called PRTST24 written by Dan Wilga of
| Gribnif software. (These are the people that sell NEODESK).
|
Whoops, that program is really named SCRDMP24! The brain was a bit fogged
when I posted this. :-)
Gribnif address:
Gribnif Software
PO Box 350
Hadley, MA 01035
Phone: (415) 584-7887
The Utilities disk which contains SCRDMP24 is $10.00. Mass. residents add 5%
sales tax, foreign customers add $2.50 shipping and handling.
Disclaimer: The opinions expressed herein are those solely of the author,
who has no pecuniary interest in the companies, products,
or publications mentioned above.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Andy Cassino %
% uucp: hplabs!hplsla!andyc domain: andyc%hplsla@hplabs.hp.com %
% Hewlett-Packard Lake Stevens Instrument Division %
% 8600 Soper Hill Road Everett, WA 98205-1298 %
% (206) 335-2211 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
------------------------------
Date: 1 Mar 90 21:19:50 GMT
From:
pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!kuhub.cc.ukans.e
du!2fjmvery@tut.cis.ohio-state.edu
Subject: TT and STe info needed
Message-ID: <22389.25ed3d96@kuhub.cc.ukans.edu>
In article <9002280803.AA14210@ucbvax.Berkeley.EDU>, UN030357@WVNVAXA.WVNET.EDU
writes:
> I will try to be brief but I have some burning questions. I have been Atari
> fan since first computer...I have owned several 8-bit's...I have also been
> fan of ST for as long as there has been one. I regret that the computer has
> not been supported in America as it should. However, I am still planning on
> buying one. This brings me to my questions. SHOULD I WAIT FOR THE NEW
> ATARI STe AND TT? AND WHAT EXACTLY ARE THEY?. It is hard to get that kind
> of info here. I hate asking people if they sell Atari Computers and have the
> reply "Atari still makes computers?." Please do not send hostile replies
> I am truly an Atari fan (till death). And I hope sincerely that these new
> computers will sell in America. As for those of you who ask, I am a comp.
> sci. major at West Virginia University and want the computer for programming
> and telecommunicating. Please send replies directly to me as not to take
> up space on the list.
> Sincerely,
> James Keefover
> via
UN030357@wvnvms.wvnet.edu
>
-------------------------------------------------------------------------------
The most objective and reliable source I have been able to find for information
regarding the STe and TT are Current Notes and STart magazine.
The February 1990 issue of STart has an excellent in-depth look at the TT and
its new operating system. STart has had the most BS-less, objective and
accurate info in its last 3 or 4 issues on the STe and TT. Most of what I've
seen on this newsgroup about the TT and STe has bordered on rumormongering
(not to put any of you down, it's just hard to keep track of all the gossip we
spread).
Current Notes magazine has had timely, official information on the TT and STe
since their introduction at COMDEX. It seems as if CN's shorter publication
lead time helps the recency of what they publish.
(By the way, I tried mailing directly to you, James, but our VAX didn't like
the address)
Jim Sisul
The University of Kansas
------------------------------
End of INFO-ATARI16 Digest V90 Issue #277
*****************************************