Re: [cc65] How can I cause the "FILE NOT FOUND" msg to print to screen using existing kernal or basic routines for the C64?

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-02-12 12:34:01


Hi!

On Tue, Feb 11, 2003 at 07:43:41PM -0500, Michael McIntosh wrote:
> Thanks for the suggestion of $F704. I was unable to use $F704 to resolve
> the problem regardless of the bit configuration in $9B (modified by the
> setmsg kernal routine). I've spent two days trying to resolve the issue,
> so I'll simply include a BRK instruction in the event of a file not being
> found. It isn't that important of an issue.

Two more suggestions:

        ldx     #$03
        jmp     ($300)          ; Prints "FILE NOT FOUND", reenters BASIC

and

        jmp     $E19C           ; Prints "LOAD ERROR", reenters BASIC

Please note that in both cases, the $300 vector may have been modified by your
autoloader, so you have to check that.

> Could anyone direct me to a forum where C64 specific programming questions
> would be on topic?

As far as I know, the CBM Hackers mailing list is more appropriate for
questions like these (the list is not C64 specific). I'm subscribed to that
list, and there are a lot of interesting discussions going on, but I cannot
remember how I subscribed to that list, so unfortunately I cannot tell:-) You
may want to use Google to search for the subscription address and policy.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-02-12 12:34:18 CET