[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] what's wrong with this code?
> This is strange, if you do use Super() to get from the supervisor mode,
> and don't use Super() earlier to get into the supervisor mode. As it was
> already pointed out, you supply too little information about what you're
> doing, and expect everybody to believe, that your code is right, and
> MiNT's code is wrong. This unfortunately cannot be judged so.
>
ok. the main reason why I posted just that previous code was the fact I
haven't access to that new one already (I deleted it after the prove it
didn't helped). but I know exactly how it looked:
previous code:
- Super() to get SV (init part)
- set trap vector (init part)
- do other inits and then loop in main loop:
- bsr.w movem_clear
- now follows the rest of code I post
- rts
- engine continues in SV...
I replaced with:
- 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
could it be?
> What do you want supermode for in a 3d engine?
>
I don't want to, I have to :) You know, writing/reading from/to dsp...
and please, don't tell me there are funcions for handling with DSP... I need
whole dsp (bootstrap code killed) with no overhead. And yes, this would be ideal, engine in userland ...
> No, there is not. This is true that you posted some code, but according to
> your own words, you deeply modified that later. The modified code wasn't
> posted, so how can you expect anybody to believe that it is correct?
>
Ehm, not exactly "deeply", but I hope now are things a little bit clearer.
--
---------------------------------------------------------------------------
MiKRO Atari XE/XL/Mega STE/Falcon060 http://mikro.atari.org
---------------------------------------------------------------------------