A82: Re: Blockbuster bug
[Prev][Next][Index][Thread]
A82: Re: Blockbuster bug
I have no idea what flags you are setting with IY, but that's probably where
your problem is. I'm guessing that you aren't corrupting any memory, or
else running columns wouldn't fix that. So Columns is probably just
correctly setting/reseting a flag that you aren't. If you have to change
the state of a flag, change it back before you exit the program. That's
always a good rule of thumb. Though I would think that a shell *should*
correctly restore at least most commonly used flags. That would prevent
these kinds of bugs and save space in programs. But I don't know, I never
have to write asm for a shell. ;-)
-----Original Message-----
From: Doug Torrance <profzoom@hotmail.com>
To: assembly-82@lists.ticalc.org <assembly-82@lists.ticalc.org>
Date: Sunday, November 01, 1998 2:57 PM
Subject: A82: Blockbuster bug
>
>Hi. I wrote Blockbuster, originally for Ash, but it also worked fine
>under CrASH v1.1. Recently, however, it has caused other games to crash
>when I use later versions of CrASH. It always crashes ZTetris whenever
>I run Blockbuster first. All I have to do is run the title screen of
>Blockbuster, too, I don't have to even play the game, and it crashes
>ZTetris immediately. However, if I used the teacher key and saved a
>ZTetris game, it will run fine if I restore that game after running
>Blockbuster, and then crash when I exit.
>
>Interestingly, when I run Columns v3.0c (even just the title screen)
>between Blockbuster and ZTetris, nothing crashes, but since there's no
>source available, I can't find out why.