[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] what's wrong with this code?
> SNIP.
>
yes, it seemed as "gotta catch'im" mail, but I'm really sorry, in my
original code it was OK, I just missed it here, in a mail :)
> > - Super() to get SV (init part)
> > - do other inits and then loop in main loop:
> > - Super() to get from SV
> > - now save a7
> > - bsr.w movem_clear
> > - do rest of code (movem loop)
> > - rts <<<<<<< YOU DO AN RTS BEFORE
> > - restore a7 <<<<<<< THIS???
> > - Super() to set SV
>
> Dont you know that an RTS uses the Stack?
>
Yes, I do. So I still say it's bug in MiNT.
--
---------------------------------------------------------------------------
MiKRO Atari XE/XL/Mega STE/Falcon060 http://mikro.atari.org
---------------------------------------------------------------------------