On Thursday 23 May 2013, you wrote: > On 2013-05-23, at 21:02, Segher Boessenkool wrote: > >> I was thinking of a C-callable library function: > > Is there a standard C ABI for 6502? I have never seen one, do > > you have a link perhaps? > > cc65 (currently at http://oliverschmidt.github.io/cc65/ ) is the de facto > standard for C on a 6502 and derivatives and its the small-c abi (AX pseudo register (primary), zeropage pseudo register (secondary), then software stack) with some modifications (fastcall convention). -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org People can be divided into three groups: Those who make things happen, those who watch things happen, and those who wonder what happened. <John W. Newbern> Message was sent through the cbm-hackers mailing listReceived on 2013-05-23 21:01:48
Archive generated by hypermail 2.2.0.