Amiga-C (78/157)

From:Twelvebullets
Date:16 Sep 2001 at 14:40:22
Subject:[amiga-c] MyLibrary + SetFunction

My NewDosOpen routine is declared as

Prototype LibCall extern NewDosOpen(__D0 STRPTR d1, __D2 LONG d2);

It should be

Prototype LibCall extern NewDosOpen(__D1 STRPTR d1, __D2 LONG d2);

It was using the wrong data registers..

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide, "Securing Your Web
site for Business" and learn all about serious security. Get it Now!
http://us.click.yahoo.com/r0k.gC/oT7CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/