Re: [cc65] possible error, tertiary on cbm_save return value

From: Groepaz <>
Date: 2009-08-23 23:31:48
On Sonntag 23 August 2009, Ullrich von Bassewitz wrote:

> Please note that this does also mean that assembler routines that return
> characters must actually return an integer value!

btw that said, a small section in the docs that outline the cc65 calling 
conventions (plus the fact you mention) would be very useful ... i recently 
took the last zoomania release ( 
and looked at it (mostly because onslaught screwed up their ntsc fixed 
version - ) and noticed that 
indeed one very obscure bug has been triggered because hannenz (who 
originally wrote it) didnt exactly understand that returning just A in a 
function that returns char isnt enough... and appearently none of the guys 
who worked on it till now knew it either :)


For most girls, talk DXPP, DYPP, Plasma, FLI, and rasterbars - its a real 

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Aug 23 23:30:52 2009

This archive was generated by hypermail 2.1.8 : 2009-08-23 23:30:54 CEST