Re: A82: ASH questions


[Prev][Next][Index][Thread]

Re: A82: ASH questions



At 02:11 PM 8/30/97 +0200, you wrote:
>Normally writing programs for Ash 3.0 is easier than for other versions of
>Ash, and i had no problems at all rewriting my interrupt rutines. Ofcorse
>yours might be different and that could course the problem, but it seems
>strange. 

Game Wizard is a little different than a normal interrupt based program.
It is a program that needs to be able to run even after exiting back to the
TI-OS.  This is a big difference from programs such as IntTest82 and
GreyScale Test.

>> 2) If I create an interrupt table in the APD, starting at $8300, where
>> should it end ($8401 or $8402)?
>$8401 (The interrupt table is always 257 bytes long, if you have problems
>with it look at the code i published)

I used some of your ideas (from the GreyScale routines) to make Game Wizard
work.  However, I see a strange problem with your answer, since the table
ends at $8400...not $8401 like it should (I used HexView2 to test this).
($8401) contains $00 instead of another $82 (I'm using $8282 for the start
of the interrupt routine).

>> So far, I've got all of my interrupt routine confined to the APD buffer
>> (different from Game Wizard v1.0 which uses the Graph_Mem and the APD).  A
>> really weird thing is that I can load Game Wizard, exit to ASH, but when I
>> press the [ON]+[.] keys it sometimes crashes.  This only happened once, but
>> it still is strange.  I'm trying to get Game Wizard to work with Spaze
>> Invaders, but it crashes every time I run it...maybe it uses the APD for
>> some variables.  TIA for any suggestions you may have.
>The APD buffer is not a very good place to store you interrupt table,
>every time a APD occurs the current display contence is copied there and
>would destroy you program. (When the ON keys is pressed in Ash it actually
>means that the calc does an APD).

This is intriguing, since you used the APD buffer for IntTest82 and your
GreyScale routines.  If I can't put it there, then where would you suggest
I put it?

BTW, what do you mean that an APD occurs when you press the [ON] key in
ASH?  Is the APD buffer cleared?  If so, then why does Game Wizard NOT
crash at that point?  If you wanted to know, APD can NEVER occur (unless
you press [2nd]+[ON] at a ROM_GETKEY prompt) when Game Wizard is running,
so its a very SAFE spot to put my table and other stuff.


                 Thomas J. Hruska -- thruska@tir.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
         http://www.geocities.com/SiliconValley/Heights/8504
                    http://shinelight.home.ml.org


References: