Re: [cc65] Read bytes (program load address) from a file?

From: Groepaz <groepaz1gmx.net>
Date: 2006-09-26 00:26:40
On Tuesday 26 September 2006 00:17, Raj Wurttemberg wrote:
> Hi All,
>
> I'm trying to write a simple program to read the load address of a C64
> program. I tried the cbm_read function but the wrong bytes come up. Is
> there another function I should use?
>
> I'm still learning C... so I'm sure I've done something wrong. I know there
> is no error checking. :) (code below)

mmmh isnt channel 15 reserved for the status/error channel? try with channel 
1 ...
-- 

http://www.hitmen-console.org
http://www.gc-linux.org/docs/yagcd.html
http://www.pokefinder.org
http://ftp.pokefinder.org

It matters not whether you win or lose; what matters is whether *I* win or 
lose. 
<Darrin Weinberg>

----------------------------------------------------------------------
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 Sep 26 00:26:51 2006

This archive was generated by hypermail 2.1.8 : 2006-09-26 00:26:54 CEST