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

Atari coding BBS
 
Re: GODLIB question
Posted by: ggn Dec,07.2006-19:54 

Sigh.....

Here we go again, fixing a bug for something I haven't touched for more than 3 years....

Anyway...

Check out gemdos\gemdos_s.s.

Especially this code snippet:

*------------------------------------------------------------------------------------*
* FUNCTION : GemDos_Call_L( const S16 aOp,const S32 aL0 )
* ACTION : GemDos_Call_L
* CREATION : 04.01.2003 PNK
*------------------------------------------------------------------------------------*

GemDos_Call_L:
pea (a2)
move.l d1,-(a7)
move.w d0,-(a7)
trap #1
addq.l #6,a7

rts

So Leon is pushing 4+4+2 bytes into the stack, but he's only popping out 6?

Add a move.l (a7)+,a2 before the rts and hopefully all will be ok.

Tell me what happens with this

Regards,
George







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

Topic Posted by  Date 
GODLIB question Joe Iron Nov,17.2006-15:47
  Re: GODLIB question Peter Nov,20.2006-10:36
    Re: GODLIB question gwEm Nov,20.2006-11:06
      Re: GODLIB question Joe Iron Nov,20.2006-13:59
        Re: GODLIB question Peter Nov,20.2006-16:33
          Re: GODLIB question calimero Nov,22.2006-12:14
            Re: GODLIB question Saulot Nov,22.2006-20:20
              Re: GODLIB question Strider Nov,24.2006-00:04
                Re: GODLIB question Joe Iron Nov,24.2006-10:10
                  Re: GODLIB question ggn Nov,27.2006-09:28
                    Re: GODLIB question Strider Dec,01.2006-01:04
                      Re: GODLIB question ggn Dec,07.2006-19:54
                        Re: GODLIB question Strider Dec,17.2006-18:21


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