From mint-bounce@lists.fishpool.fi  Thu Aug 11 15:15:27 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Date: Thu, 11 Aug 2005 15:12:53 +0200
From: mikro <mikro@hysteria.sk>
To: "Konrad M. Kokoszkiewicz" <draco@obta.uw.edu.pl>
Cc: Andreas Schwab <schwab@suse.de>, Mint list <mint@fishpool.com>
Subject: Re: [MiNT] what's wrong with this code?
Message-ID: <20050811131253.GA19888@hysteria.sk>
References: <20050811110354.GA8923@hysteria.sk> <jeu0hwyarn.fsf@sykes.suse.de> <20050811113415.GA4768@hysteria.sk> <20050811134502.P91109@antyk.obta.uw.edu.pl> <20050811115338.GA1382@hysteria.sk> <20050811140157.S91109@antyk.obta.uw.edu.pl> <2005081112183
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050811144555.O91109@antyk.obta.uw.edu.pl>
User-Agent: Mutt/1.4.2.1i
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mikro@hysteria.sk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00
X-Spam-Level: 


> 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
---------------------------------------------------------------------------


