Re: [cc65] C64 fast-loader suggestion?

From: Groepaz <groepaz1gmx.net>
Date: 2011-12-16 18:33:32
On Friday 16 December 2011, you wrote:
> On Fri, Dec 16, 2011 at 06:15:33PM +0100, Groepaz wrote:
> > On Friday 16 December 2011, you wrote:
> > > Hi,
> > > 
> > > Naive suggestion: Read the first two bytes via CHRIN and the rest via
> > > LOAD...
> > 
> > load always reads an entire fire (including opening it), so that will not
> > work.
> 
> Hmm why wouldn't it work? I can open the file, and read two bytes then I
> close it, then I load the file to buffer offset +2 (0 and 1 is read before
> "manually"). But I am not sure, just guessing.

oh. indeed, that would actually work.

why arent you simply storing your data in proper files though? :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Bei Fragen zu diesem Vorgang wenden Sie sich bitte an the administrator of 
that system

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Dec 16 18:33:28 2011

This archive was generated by hypermail 2.1.8 : 2011-12-16 18:33:31 CET