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: Michael McIntosh (cc65_at_lifepod.com)
Date: 2003-02-12 01:43:41


I apologize for being off topic, it hadn't occurred to me that this
was not a topic to be asked here. I realize now that this question was not
a cc65 compiler specific question.

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.

Could anyone direct me to a forum where C64 specific programming questions
would be on topic? I already have all the docs I've found online plus my
original C64 Programmer's Reference Guide and two assembly language books
for the C64. I will be using cc65 C for the game I am working on, I just
had to use assembly to make the auto-loader. I'm making a C64 version of a
game called "Harvest Moon: Save the Homeland" that I just played on a
Playstation 2 recently... :)

Thanks. :)

Michael McIntosh

+++ Codito, Ergo Sum +++

On Tue, 11 Feb 2003, Ullrich von Bassewitz wrote:

>
> On Tue, Feb 11, 2003 at 03:00:46PM -0500, Michael McIntosh wrote:
> > Does anyone know
> > how I could trigger either an existing kernal or basic routine that would
> > print out the standard "FILE NOT FOUND" message?
>
> This is slightly off-topic. Anyway, using the kernal routine at $F704 should
> do what you want (provided that operating system messages are enabled - check
> bit 6 in $9D).
>
> 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.
>

----------------------------------------------------------------------
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 01:44:00 CET