HDTenEightyP/NetNews huggingface dataset:
From: wallmann@backus.pu.informatik.th-darmstadt.de (Natuerlich!)
Newsgroups: comp.sys.atari.st.tech
Subject: AES bug ?
Date: 14 Sep 92 18:14:57 GMT
Organization: MSD software vault #9 @THD

I am (for whatever reasons) having enormous problems with the graf_...
calls in the AES library (TOS 1.4). The following little program, for instance 
shows a weird behaviour of the graf_mkstate call. If you press the mouse
button for the first time, it stops and waits for a release, the other times
it just (correctly) samples the mouse state.

/* Compiled and Linked with Pure-C */
#include <aes.h>
#include <stddef.h>
#include <stdio.h>

main()
{
   int   i, x, y, state, shift;

   for( i = 1000; i--;)
   {
      graf_mkstate( &x, &y, &state, &shift);  /* press left mouse button */
      printf( "%d %d %d %d\n", x, y, state, shift);
   }
}

I also have had problems with graf_watchbox and graf_dragbox, which for no
apparent reasons get stuck sometimes (but not predictably).

Does anyone have a clue or the same woes ?

Nat!
P.S.F.:
I am writing my first real GEM program and at least in the version I have
GEM seems to be reeking of bugs. Apart from the most basic windowing and
object redraw mechanisms, it appears that one has to rewrite/extend all
of Atari/DRs code to get decent results.
-- 
 -----   Email: wallmann@backus.pu.informatik.th-darmstadt.de  -----
                "Bang that bit that doesn't bang"                 
 Album of the month: "Psalm 69" Ministry
From: mforget@ersys.edmonton.ab.ca (Michel Forget)
Newsgroups: comp.sys.atari.st.tech
Subject: How do I replace an existing GemDos routine or add a new one?
Summary: Adding new system calls for a global ANSI emulator.
Keywords: ANSI, GemDos, Bios, Xbios, REPLACE
Date: Sun, 06 Sep 92 01:47:46 MDT
Organization: Edmonton Remote Systems #1, Edmonton, AB, Canada

Hi,

Could someone tell me exactly how to replace an existing GemDos function?  I
can assume that the first step would be to write the routine in the form of a
program and then have the program terminate and stay resident (ptermres).  What
I do not know how to do is replace the routine.

I have also seen programs (MiNT, for example) that add new system calls.  How
is this done?  Is it simillar to the method for replacing calls?

The reason I am asking about this is I am thinking about writing an ANSI
emulator, and I would like to see if it is feasible to write it in the form of
a TSR that any program could use simply by calling the appropriate routines.

For example, the program in use could take the input from the serial port, and
if it is in ANSI mode, it could pass all output to the screen through a new
system call that would catch the escape sequences and process them
appropriately.

To me, this would be better than an ANSI emulator that is only available in one
terminal program.

Any help would be appreciated.

<<  ------------------------------------------  >>
<<        mforget@ersys.edmonton.ab.ca          >>
<<  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  >>
<<               Michel Forget                  >>
<<   The Key:  Spirit over mind over matter.    >>
<<  ------------------------------------------  >>
<<  *Author of ShadowTerm II for the Atari ST*  >>
<<  ------------------------------------------  >>
From: ST32373@VM.CC.LATECH.EDU
Newsgroups: comp.sys.atari.st.tech
Subject: SF354-=>SF314
Date: 16 Sep 92 04:05:04 GMT
Organization: LOUISIANA TECH UNIVERSITY

Does anyone know hoe to turn an SF354 into an SF314? I had a 720k IBM drive, an
d tried jumpering the side select pin out to the drive (bypassing the controlle
r card.) But it still wouldnt work in DS mode. It wouldnt work without the jump
er either. I saw a file to do this, but it didnt work for my version of the
controller card. Any help out there?
Newsgroups: comp.sys.atari.st.tech
From: dawinic@eos.ncsu.edu (DAVID AARON WINICK)
Subject: Re: 1040st floppy stopped-whats wrong?
Originator: dawinic@c00804-247dan.eos.ncsu.edu
Reply-To: dawinic@eos.ncsu.edu (DAVID AARON WINICK)
Organization: North Carolina State University, Project Eos
Distribution: usa
Date: Fri, 11 Sep 1992 12:33:53 GMT


In article <1992Sep10.224603.25703@ctr.columbia.edu>, bldaniel@unccsun.uncc.edu writes:
|> Newsgroups: comp.sys.atari.st.tech
|> Path: taco!gatech!destroyer!sol.ctr.columbia.edu!news
|> From: bldaniel@unccsun.uncc.edu
|> Subject: 1040st floppy stopped-whats wrong?
|> Organization: Columbia University Center for Telecommunications Research
|> Summary: help
|> Message-ID: <1992Sep10.224603.25703@ctr.columbia.edu>
|> Distribution: usa
|> Sender: news@ctr.columbia.edu (The Daily Lose)
|> Date: Thu, 10 Sep 92 18:46:03 GMT+5:00
|> X-Posted-From: unccsun.uncc.edu
|> X-Posted-Through: sol.ctr.columbia.edu
|> 
|> I have a vintage 1040st which has been a faithful friend for
|> many years.  A few days ago, when I turned it on I noticed
|> that the floppy sounded strange.  The system was obviously
|> not booting up either.
|>  
|> To my dismay, I discovered that the spindle of the floppy
|> drive was no longer turning.  The head positioning motor
|> was working ok, and the drive light was on, but no spin.
|>  
|> All drive cables are connected firmly and seem ok.
|> Rotating the spindle manually turned it (not stuck)
|> but did not seem to have any helpful effect.
|>  
|> The system boots up fine from the external HD.
|>  
|> Am I looking at a bad drive?  A bad controller?  A bad PS?
|> Or some other bad dream?
|>  
|> Thanks in advance,
|> Brian
|>      
|> ------------------------------------------------------
|> Brian Daniels                  This .sig protected by
|> bldaniel@unccsun.uncc.edu           SIG-ANTIVIRUS!
|> ------------------------------------------------------  
|> 

Quite often, when the drives get old, the drive belt wears out
and either falls off or slips.  Did you notice this about the
belt around the "spindle"?
-- 

++++++++++++++++++++++++++++++++++++++++++@++++++++++++++++++++++++++++++++++++
+ To build a computer that knows          \`---.----/|   dawinic@eos.ncsu.edu +
+ more about itself than I won't      `!8^},~~~;====>|   (David "Dez" Winick) +
+ require much thinking, I think.  >@======---'-----\|   Yo, save the humans. +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ #include /as_many/disclaimers/as_necessary/to_keep/me/from_any/more_trouble +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
From: mboom@mswe.dnet.ms.philips.nl
Newsgroups: comp.sys.atari.st.tech
Subject: Video streamer
Date: 7 Sep 92 08:03:54 GMT
Organization: Philips Medical Systems Nederland

There is a recent discussion about tape drives for the Atari. Because of
the high list price I was lloking for an alternative. At the Atari Fair in
Dusseldorf I found it. It was a pitty they where not yet in production
but I ordered one anyway. It is a video streamer. It uses a standard VCR
which has to be equiped with a scart connector as backup device. It backups
600 Mb on a E240 tape. So about 2.5 Mb per minute. It can make image backups
as well as file backups and restores visa versa. I don't have the address of
the German company on hand. If anyone wants some more info, drop me a mail.

BTW the listprice of the device, which connects on the parallel port, is about
DM249,- which is at the current ratio about $180,-

Greetings from the Netherlands.


Marcel.

--------------------------------------------------------------------------------
#include <stddiscl.h>
email:  mboom@mswe.dnet.ms.philips.nl
voice:  +31 40 762007 / +31 4408 3531
From: sm86+@andrew.cmu.edu (Stefan Monnier)
Newsgroups: comp.sys.atari.st.tech
Subject: Re: "fast" sprites in C
Date: 8 Sep 92 22:48:43 GMT
Article-I.D.: andrew.UefNt=q00VorIjCEdL
Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA

Excerpts from netnews.comp.sys.atari.st.tech: 8-Sep-92 "fast" sprites in
C John M. Klassa@aurs01.UU (1651)

> Hi All-

> I've attempted, on a couple of occasions, to write silly little games
> for my own amusement.  What I always run into, though, is terrible,
> terrible performance when I try to put objects on the screen and
> animate them.  My mind keeps going back to that ST classic
> "Megaroids," which was claimed to have been written in C (although I'm
> not positive that they didn't use assembler in there somewhere).  How
> do you, the readers of comp.sys.atari.st.tech, get good performance
> when doing sprites?  *Must* I use assembler, or can it be done in C?
> (My problem is that I don't know assembler...)  On a related topic, I
> remember a long discussion between (I think) Dave Baggett and somebody
> else, on the topic of double-buffering & handling it during vbl and so
> on...  Is double-buffering pretty much the only way to give animated
> games that "smooth" look?  If so, I would imagine that assembly is
> required there, too...

> Thanks for any and all input!
> John

> P.S.  How do y'all handle keyboard input?  i.e. How can I detect when
>       multiple keys are in the down position?  How can I turn every
>       key into a "shift-like" key, so that the player can hold it down
>       as long as he/she wants to without it going into repeat mode, etc.?

> Thanks again!

>  o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
>  o                               John M. Klassa                              o
>  o      Alcatel Network Systems, Inc. --- Raleigh, NC --- (919) 850-1246     o
>  o        Email: klassa%aurfs1.aur.alcatel.com@rockdal.aud.alcatel.com       o
>  o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o

Sure, assembly is necessary if you realy want to get the speed of 
current games. But, you can do games without !

Double buffering is available from about any language (XBIOS)
And for fast animated sprites, you HAVE to do 'precomputing', 
that is preparing the data so that wherever your sprite should
appear, it just has to be put there without having anything more
to compute (bit shifting,...).

But, sure this precise part of sprite display should be written in
assembler, as you sure can get a speed improvement of about 2 to
much more (depending on the compiler and on you).

In general, high speed can be achieved with a little of assembler
on the critical points and a lot of C for the rest. Of course
all assembly can give you a bit mor speed (helpful to 
get the real 'video-game' feeling, I think)

	Stefan Monnier


-----------------------------------------------------
-- On the average, people seem to be acting normal --
-----------------------------------------------------
Newsgroups: comp.sys.atari.st.tech
From: avgroeni@cs.ruu.nl (Annius Groenink)
Subject: Suggestion for new AES
Date: Wed, 9 Sep 1992 16:15:43 GMT
Organization: Utrecht University, Dept. of Computer Science


We had a discussion on the news about this earlier, but now that
an entirely new version of the operating system is to come out soon,
I would like to repeat this:

  Atari should introduce the WM_NEWTOP message in the multi tasking
  system (if they haven't already). Someone at Atari, as I suppose it
  went, misunderstood the potential meaning of this message: you're
  supposed to get it when ANY window was topped; not by the user
  (by clicking on the window), but by wind_set(WF_TOP). Also, it is
  assumed that the contents of a window do not change with its status,
  be this background/foreground or changing size. Example: in new TOSes
  when you make a window bigger, you will only get redraw messages for
  the parts that weren't visible already. I think this is WRONG.
  (Correct me if *I* am.)

-- 
________________________________________________________
    Annius Groenink|undergraduate student
Laan van Borgele 24|maths/computer science at the
   7415 DJ Deventer|University of Utrecht, Holland.
From: eker@loria.crin.fr (Steven Eker)
Newsgroups: comp.sys.atari.st.tech
Subject: Re: Need fast image conversion algorithm.
Date: 9 Sep 92 18:16:40 GMT
Organization: CRIN (CNRS) Nancy - INRIA Lorraine

In article <79002@ut-emx.uucp>, timg@ccwf.cc.utexas.edu (Tim Gallivan) writes:
|> Hi,
|> 
|> Does anyone have a fast algorithm (or some code) to transform
|> a packed color image into the appropriate number of color planes?
|> The packed format for a 4-bit image looks like this:

[stuff deleted]

|> Maybe some hot game hacker could code this up for me to show doubters
|> that there is still a useful place in the world for his kind of
|> programming (just wishful thinking :-); or maybe I should announce
|> a programming contest, yeah, that's it. The winner gets a free copy
|> of Ghostscript!

Well the naive algorithm involves a lot of shifts which are slow
on a vanilla 68k. So (off the top of my head) here is an addition based
solution for the 4-bit case (for speed you always need to specialize, ie
you need separate code for the 2, 8, 16,.. bit cases):

*
*       Entry:
*       d7      #pixels/16
*       a4      address of source pixels
*       a0      destination for plane 0
*       a1      destination for plane 1
*       a2      destination for plane 2
*       a3      destination for plane 3
*
*       Exit:
*       d0-d7/a0-a5     trashed
*

next_block:
        moveq   #3,d6           ; 4 words for 16 pixels
next_word:
        move.w  (a4)+,d4        ; get 4 pixels
        moveq   #3,d5           ; 4 pixels/word
next_pixel:
        add.w   d4,d4           ; Addition magick
        addx.w  d0,d0
        add.w   d4,d4
        addx.w  d1,d1
        add.w   d4,d4
        addx.w  d2,d2
        add.w   d4,d4
        addx.w  d3,d3
        dbra    d5,next_pixel
        dbra    d6,next_word
        move.w  d0,(a0)+        ; store 1 word of each bit plane
        move.w  d1,(a1)+
        move.w  d2,(a2)+
        move.w  d3,(a3)+
        dbra    d7,next_block

To call it from C you will need some extra code at the top & bottom to
save/restore regs & pull the arguments from the stack but this depends
on the calling conventions of your compiler.
Note that it assumes you have a multiple of 16 pixels per line so that
you can have bit planes that have a whole number of words per line.

If this you too slow you can unwind the innermost loop(s). If you intend
to run it on a 68030 (TT/Falcon) unwind only the innermost loop otherwise
you will have a lot of cache misses (main loop would then be > 128 bytes).

Steven
From: mgm@world.std.com (michael g moncur)
Newsgroups: comp.sys.atari.st.tech
Subject: The ST parallel (printer) port
Keywords: printer parallel input output ports
Date: 13 Sep 92 05:15:12 GMT


   In Abacus's _Atari_ST_Internals_, it is mentioned that the ST can both
Date: 12 Sep 92 07:06:34 GMT
Organization: The World Public Access UNIX, Brookline, MA

send and receive data through the parallel port.  Can anyone confirm that
the parallel port can be used as input?  Someone once told me that the 
PC's parallel port can do both input and output (which I know is true) but
the ST can't...  And Abacus has been known to stretch the truth
occasionally.  thoughts?

  (I'm building an EPROM programmer that will be controlled by an ST
via the parallel port, and a "read" option would be nice...)
 
  Also, what would I use to read the printer port?  An example in C would
be greatly appreciated.
 
  Michael Moncur 
  mgm@world.std.com (preferred) 
  sysop@only_bbs.via.mind.org (alternate)
From: cummins@a.cs.okstate.edu (CUMMINS JOHN WILLI)
Newsgroups: comp.sys.atari.st.tech
Subject: Re: problems w/ 2 SCSI drives on ST
Keywords: SCSI, GE-Soft, ST157N, ST296N, SCSI-Tools
Date: 8 Sep 92 18:24:18 GMT
Organization: Oklahoma State University, Computer Science, Stillwater

In article <H._49DdC_yXeQ@wpcst1.phys-chemie.uni-wuerzburg.dbp.de> kruel@wpcst1.phys-chemie.uni-wuerzburg.dbp.de (Thomas-Martin Kruel) writes:
>Dear netters,
>
>  I have a little problem with two SCSI discs on my host adaptor: 
>they won't work together with addresses 0 and 1.
>
>  Some details: The drives (a ST 157N and ST 296N) are connected to a 
>GE-soft adaptor. The first is configured as SCSI device 0, the second 
>as device 1. The software is from Digital Systems Krueger (Version 
>3.2). The problem: write access to the first device (the ST157N) 
>crashes the FAT and DIR.
>
>Everything works fine if:
>- the drives are used solely;
>- the second drive is configured as #2 or higher.
>
>So I can work with it, but I'm curious: What may be wrong ?
>
>  Is it absolutely necessary to remove the resistor packs ? If so, 
>which drive ? The physically last or the logically last one (which is 
>different in that case) ?
>
>
>Also:
>
>   I need to reformat the ST 296N on a low level, since it stems from a 
>PC, where it was formatted with interleave 2.
>
>  Is there some PD/Shareware/commercial package out to do that for me ? 
>I checked AHDI5 but it doesn't. I heard about "SCSI-Tools" from
>Hard&Soft in Castrop-Rauxel, but I don't know if the DM 149.- (~ $100) are
>worth it ? Any experiences ?
>
>Thanks for any hint,
>                    Thomas.
>-- 
>Thomas-Martin Kruel  Institut f. Physikalische Chemie / Universitaet Wuerzburg
>                     Marcusstr. 9-11, D-8700 Wuerzburg, Tel. +49 931 31579
From: mboom@mswe.dnet.ms.philips.nl
Newsgroups: comp.sys.atari.st.tech
Subject: Re: problems w/ 2 SCSI drives on ST
Date: 9 Sep 92 15:14:20 GMT
Organization: Philips Medical Systems Nederland

In article <H._49DdC_yXeQ@wpcst1.phys-chemie.uni-wuerzburg.dbp.de>, kruel@wpcst1.phys-chemie.uni-wuerzburg.dbp.de (Thomas-Martin Kruel) writes:
> Dear netters,
> 
>   I have a little problem with two SCSI discs on my host adaptor: 
> they won't work together with addresses 0 and 1.
> 
>   Some details: The drives (a ST 157N and ST 296N) are connected to a 
> GE-soft adaptor. The first is configured as SCSI device 0, the second 
> as device 1. The software is from Digital Systems Krueger (Version 
> 3.2). The problem: write access to the first device (the ST157N) 
> crashes the FAT and DIR.
> 
> Everything works fine if:
> - the drives are used solely;
> - the second drive is configured as #2 or higher.
> 
> So I can work with it, but I'm curious: What may be wrong ?
> 
>   Is it absolutely necessary to remove the resistor packs ? If so, 
> which drive ? The physically last or the logically last one (which is 
> different in that case) ?
> 

    YES. According to specs of SCSI drives, you should only terminate
    both sides of the bus. So in your case that would be the interface
    and the last physical drive. The logical drive does not matter. On the
    other hand. When connecting a second ST157N to my TT there is a all
    different story. Ask me if anyone wants more details.


Marcel.

--------------------------------------------------------------------------------
#include <stddiscl.h>
email:  mboom@mswe.dnet.ms.philips.nl
voice:  +31 40 762007 / +31 4408 3531
Newsgroups: comp.sys.atari.st.tech
From: jhurwitz@access.digex.com (j. hurwitz)
Subject: WAACE AtariFest 92' October 10 & 11
Keywords: Atari shows buy sell trade midi musioic demos software vendors
Organization: Express Access Online Communications, Greenbelt, MD USA
Distribution: all
Date: Sun, 6 Sep 1992 12:18:54 GMT
Expires: Mon, 12 Oct 1992 04:00:00 GMT



                        WAACE AtariFest 92

   The Washington Area Atari Computer Enthusiasts will sponsor
W.A.A.C.E.  AtariFest 1992 on October 10 and 11. The show will again
be staged at the Sheraton Reston Hotel in Reston, VA. Show hours will
be from 10 am to 6 pm on both days. In addition to the shopping
bargains available from over thirty vendors there will be a full round
of demonstrations, tutorials, and seminars.  A banquet on Saturday
evening will feature a special speaker on Atari matters and Current
Notes Magazine's "Author of the Year" award. Special mixers will cap
off the evening's festivities. The 1990 and 1991 editions of the show
attracted approximately 2000 visitors. 

The Sheraton Reston Hotel is a spacious, attractive facility located
in a parklike setting near Washington, DC. The hotel is offering a
special room rate of $59 per night plus tax to 'Fest attendees. Call
1-800-392-ROOM or 703- 620-9000 for reservations. Be sure to mention
W.A.A.C.E. AtariFest '92. The number of rooms available at this
special rate is limited, so make your reservations early.  The price
that W.A.A.C.E. will have to pay for the exhibit space is directly
tied to the number of hotel rooms that are rented out. 

If you have any expectation at all of attending the event we would
like you to reserve a room for Friday and Saturday nights.
Immediately following the 1991 show Charles F.  Johnson of Codehead
Technologies announced that W.A.A.C.E. '91 was the most profitable
outing that they had ever had, anywhere. For eight years W.A.A.C.E.
has provided a complete Atari experience. 1992 promises to be in that
same tradition. For additional information please contact: Russ Brown
via GEnie (R.Brown127), by voice number - (703) 803-6126 (Please do
not call after 10 PM EDT), and/or Email to jhurwitz@access.digex.com
Newsgroups: comp.sys.atari.st.tech
From: carter@cae.wisc.edu (Carter Gregory)
Subject: Re: RS232 port, Rsconf() is that all i need?
Organization: U of Wisconsin-Madison College of Engineering
Date: 6 Sep 92 14:28:08 CDT

In article <Bu5FGz.M80@iat.holonet.net> wilsont@holonet.net (Timothy Wilson) writes:
>as sugguested I bought some recent Atari Explorers, and read the articles
>on serial port programming.
>
>Well, i typed in the first "very dumb terminal program"
>and added this line: 
>	Rsconf(4,0,8,0,-1,-1,-1);
>
>which should be 2400 baud no parity,no handshaking, 1 stop bit.
>
>however, my modem does not respond with an RD light up. 
>I changed the Cauxout(c) to Bconout(1,c), that made the RD light up,
>but also the CD as well!
>
>what am I missing?
>
>any help would be apreciated! (source code would be cool!)
>
>Compiled with Sozobon 1.33i, standard Dlibs.
>I ran it from Gulam, and the desktop.
>
>BTW, gulam likes to echo the characters to the screen from a Cconin()   why?
>
>thanks!
>
>Timothy--
>

Hello...yes, all HAIL.  Greg Carter is BACK...

    WELL, FIRST OF ALL, Rsconf() only has 6 parameters.

Try Rsconf(4,0,UCR,-1,-1,-1); 

The UCR is a bitmap that controls the various things your looking for
in transmission format, suich as 8N1.  Unfortunately, since I don't carry
said bitmap with me everywhere I go, I can't tell you what the individual
bits do.

I will post my serial port goodies in a short while.

------------------------------------------------------------------------

UUCP - HERMES PEOPLE ALERT!

Hey!

   Brave souls, I started up my HERMES mail software, and can't seem to
get my environment set correctly.

   If anyone out there is running this thing, could you drop me a line so
I can figure this out?  I am really BAD at reading German.  I have
been trying to watch HOGANS HEROS re-runs every night but after a week
and a fried brain, I still can't read the doc files.

   -Greg

ACICS, we are talking MAJOR software engineering here folks...
Newsgroups: comp.sys.atari.st.tech
From: wilsont@holonet.net (Timothy Wilson)
Subject: RS232 port, Rsconf() is that all i need?
Organization: HoloNet (BBS: 510-704-1058)
Date: Sun, 6 Sep 1992 08:55:47 GMT

as sugguested I bought some recent Atari Explorers, and read the articles
on serial port programming.

Well, i typed in the first "very dumb terminal program"
and added this line: 
	Rsconf(4,0,8,0,-1,-1,-1);

which should be 2400 baud no parity,no handshaking, 1 stop bit.

however, my modem does not respond with an RD light up. 
I changed the Cauxout(c) to Bconout(1,c), that made the RD light up,
but also the CD as well!

what am I missing?

any help would be apreciated! (source code would be cool!)

Compiled with Sozobon 1.33i, standard Dlibs.
I ran it from Gulam, and the desktop.

BTW, gulam likes to echo the characters to the screen from a Cconin()   why?

thanks!

Timothy--