Re: [cc65] C64 fast-loader suggestion?

From: <silverdr1wfmh.org.pl>
Date: 2011-12-16 15:37:41
On 2011-12-16, at 13:19, Gábor Lénárt wrote:

>> Naive suggestion: Read the first two bytes via CHRIN and the rest via LOAD...
> 
> Yes, it was my idea too. A bit "dirty" solution, but if there is no better I
> will take that theory.

It depends. Basically if you are the source of the data files, you can adjust for this. What I recall doing in the days was that my LOADable data files always had the two bytes of "default" load address at their beginnings. Whether I used them later on or not depended on the needs but they were there. Situation is of course more difficult if you have to deal with data files created elsewhere. Then the solution given by Oliver seem to be feasible, even if being not extremely "elegant" workaround.

-- 
SD!----------------------------------------------------------------------
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 15:37:56 2011

This archive was generated by hypermail 2.1.8 : 2011-12-16 15:38:00 CET