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

Re: [MiNT] what's wrong with this code?



> - 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
> - restore a7
> - Super() to set SV
>
sorry, error by fast writing, correct code should be:

- Super() to get SV (init part)
- do other inits and then loop in main loop:
- Super() to get from SV
- bsr.w movem_clear
- now save a7
- do rest of code (movem loop)
- now restore a7
- rts
- Super() to set SV

-- 

---------------------------------------------------------------------------
MiKRO         Atari XE/XL/Mega STE/Falcon060         http://mikro.atari.org
---------------------------------------------------------------------------