A89: Re: Direct Input and Other Questions


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

A89: Re: Direct Input and Other Questions




I was getting a similar problem.  In part of my code, if I simply changed a
label and recompiled, my program would give an address error.  The wierd
thing was that when I used the debugger to see what was going on, some
instructions had been changed to "jsr $0".  Changing the label back and
recompiling, I ran the debugger again and the same instructions were
correct.  For instance, it would now say "jsr gray4lib::on" or jsr with an
address that was not zero.  Could this be a problem with a68k?

--Blake Johnson

>if I add a call at the top of the loop,
>let's say bsr MoveSprite, that Moves the sprite up one pixel, I either get
>an address error or the sprite would not move.