Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Cause of Error
Posted by: ggn Aug,02.2012-10:06 

Well it took me some time to figure out this 'pop' business :).

If you want to correct your stack, one idea is to use the faster addq.l #4,sp instead of move.l (sp)+,pop. But from what I see in your code you just want to execute one subroutine and then exit the bullet set-up code entirely. So, you could replace the jsr with a jmp and forget popping the stack at all. Then when your code hits the 'rts' it'll jump out of the caller subroutine entirely!

Hope this helps.







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Cause of Error Bod/STAX Jul,31.2012-15:39
  Re: Cause of Error sqward Jul,31.2012-16:58
  Re: Cause of Error ggn Jul,31.2012-21:19
    Re: Cause of Error Bod/STAX Aug,01.2012-01:01
      Re: Cause of Error Bod/STAX Aug,01.2012-12:45
        Re: Cause of Error ggn Aug,02.2012-10:06
          Re: Cause of Error Bod/STAX Aug,02.2012-21:53
            Re: Cause of Error Defjam Aug,03.2012-15:31
              Re: Cause of Error spiny Aug,05.2012-11:57


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson