Re: [cc65] Why does this work in 128 mode but not 64 mode?

From: Payton Byrd <plbyrd1gmail.com>
Date: 2010-04-30 15:18:06
On Fri, Apr 30, 2010 at 8:14 AM, Mark J. Reed <markjreed@mail.com> wrote:

> OPEN is not the only kernal call here, you know.  It's all kernal calls.
>  The OPEN succeeds, but the BSOUT/CHROUT fails.  So I suspect the problem
> with your code is that you're not checking the return value of cbm_write().
>
>
The computer completely freezes when calling cbm_write, it's impossible for
me to check anything at that point.  According to the C64 PRG, the call to
OPEN should have set an error code of 5 as its return value.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Apr 30 15:18:31 2010

This archive was generated by hypermail 2.1.8 : 2010-04-30 15:18:34 CEST