Re: [cc65] C64 - how to use disk I/O?

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2008-11-25 17:47:02
Hi!
I never got it to work exactly using C code.

Personally I find using asm and the kernal is the easiest.

Examples here: http://codebase64.org/doku.php?id=base:dos_examples

Johan

On Tue, Nov 25, 2008 at 5:37 PM, Adrian Siekierka <asiekierka@gmail.com> wrote:
> Hello. I'm a newcomer to cc65 and C64 programming in general.
> The question is, how to get disk I/O for the C64 to work?
> I tried CBM commands - fail.
> Standard C I/O - fail.
> I just want to read a PRG file (with no load address, just data) into
> memory! Or any other kind of file.
> It's for my BF interpreter, so it should be possible (with my way) to just
> rename a TXT file and add it to a d64.
> Anyone knows how to read files from a 15x1 with cc65 code on a c64?
> -
> Thanks in advance,
> asiekierka
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Nov 25 17:47:08 2008

This archive was generated by hypermail 2.1.8 : 2008-11-25 17:47:10 CET