Re: [cc65] C64 fast-loader suggestion?

From: Gábor Lénárt <lgb1lgb.hu>
Date: 2011-12-16 19:33:19
On Fri, Dec 16, 2011 at 06:33:32PM +0100, Groepaz 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? :)
Because they are not my files :) I want to co-operate with existing
fileswhich has a fixed format, I can't modify this, since that's the
goal: toable to handle those files.
-- 
Gábor
----------------------------------------------------------------------
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 19:33:29 2011

This archive was generated by hypermail 2.1.8 : 2011-12-16 19:33:32 CET