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

From: Adrian Siekierka <asiekierka1gmail.com>
Date: 2008-11-25 17:37:47
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:37:54 2008

This archive was generated by hypermail 2.1.8 : 2008-11-25 17:37:56 CET