[comp.sys.amiga.programmer] 2.0 timer problem

freund@sakura.ucdavis.edu (Jason Freund) (05/28/91)

	I've been developing a game in 1.3 for a while and I use this
speed test routine right out of an abacus book to test stuff.  I just
got 2.03 so I switched to 2.03 a little while ago.  I figure my program
crashes during the speed test since 2.0x messes with the timer because it 
still works fine under 1.3.  

	Is there anyway I can fix my speed test routine to run under
either OS?  Are the 2.0x RKMs out yet?  I could email someone some 
skeleton code of my routine if that would help.

Thanks,
-------------------------------------------------------------------------------
Jason Freund           freund@sakura.ucdavis.edu                  //
1420 Lake Blvd #14     916-753-8677                              // Amiga 3000 
Davis, CA 95616        Computer Science, Engineering         \\ //  
--------------------------------------------------------------\X/--------------
while (!deadyet) { Getup(); Gotowork(); }

limonce@pilot.njin.net (Tom Limoncelli +1 201 408 5389) (05/29/91)

In article <9039@ucdavis.ucdavis.edu> freund@sakura.ucdavis.edu (Jason Freund) writes:

> 	I've been developing a game in 1.3 for a while and I use this
> speed test routine right out of an abacus book to test stuff.  I just
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 words that mean "this program will have problems in the future".

[ Don't read the rest of this if you dislike rude, sarcastic comments
directed at Abacus. ]

> 2.03 so I switched to 2.03 a little while ago.  I figure my program
> crashes during the speed test since 2.0x messes with the timer because it 
> still works fine under 1.3.  

What?  Source-code that works fine under 1.3 crashes when run under
2.0x?  NO!  NO!  I *REFUSE* TO BELIEVE YOU!  How could the good people at
ABAjumptothemiddleoftheromwhenifeellikeitdamitCUS do such a thing?

#define SERIOUS (1)

Someone could make a lot of money if they re-wrote Abacus's line of
books almost sentence for sentence replacing bad code with good.

I've been told that Abacus books are origianlly written in German.
This is supposed to explain why German programmers were slower to find
out about better programming techniques.  The C-A books seem to not be
so accessable to thenon-American countries.

#define SERIOUS (SOAPBOX)

If C-A had the $$$, it would be great if they could hire a German
speaking Amiga programmer to translate all the C-A books into German.  In
that person's spare time, they could scan various Amiga magazines and
spot bad programming practices (there is at least one German magazine
that publishes nothing but!) and write correctly-written equivelents
and submit them back to the magazine.

#define SERIOUS (0)

I gotta stop posting late at night. :-)

Tom
P.S.  I feel sorry for anyone that purchases an Abacus book.  I fell
into the trap of buying their books in HS when I programmed the C-64.
I regret even some of that.
-- 
Tom Limoncelli  tlimonce@drew.edu  tlimonce@drew.bitnet  201-408-5389
                 "People in tight pants, moving fast."