[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: [hatari-devel] How to return a natfeat call result in D0
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 16 Aug 2015 21:51:32 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1439754693; l=197; s=domk; d=seimet.de; h=Content-Disposition:Content-Type:MIME-Version:Subject:To:From:Date; bh=ezTzbkvCtLTCM6oAOcjfpCly2yHU+cqy05yQql/da4I=; b=o9xu3h5OmC9vLPfGU+/LAlyVf7U+2pSRlrCkozNBMkpbWxWMjt8ankmytjmE2kV2528 i9+1hgySe3LN1HCj2ZRj8T6vbjvHZ2qagHycYvFWLxWwCifunU7I7AXforCamFUi03Fvp kZuIbMGJphP4m2J091N3BjRifbba31Xtp3Q=
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