Re: [hatari-devel] How to return a natfeat call result in D0 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] How to return a natfeat call result in D0
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 16 Aug 2015 22:50:36 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1439758237; l=273; s=domk; d=seimet.de; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Subject:To:From:Date; bh=UkyIH2vf6tLaeLxNF1fD7LuW4Ey9boo3UQFPP0VOZ38=; b=bfRNOKTVY4qAbtXCqJ6jbWCW82gtiGPpnxi/AlEm45a6/q+iAyulYmPuSjVCBCHLxdv LIEAe0jTrGHHGbxmq4mfV94tzsQC05eeiFznEW/iEu8MeT9JpUxshXZSqdsVyozJ+38ID KrFh+a7x5mt04JBm3ZQPhgDUhcHoYi6xPOI=
There as a but in my code, it now seems to work.
> Hi,
>
> How do I return a value in D0 as result of a call to NatFeat_Call() in
> natfeats.c? I thought
>
> *retval = -1;
>
> would work, but instead of -1 D0 is 0 after the call.
>
> Take care
>
> Uwe
>
>