Re: [cc65] C64 fast-loader suggestion?

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2011-12-16 20:10:28
Hello,

* On Fri, Dec 16, 2011 at 06:29:42PM +0100 Gábor Lénárt wrote:
> On Fri, Dec 16, 2011 at 05:30:54PM +0100, silverdr@wfmh.org.pl wrote:

> > Do they come as PRG files? Are they large?
> 
> PRG, but data files. I am unsure if one file is SEQ then it causes problem
> for LOAD or not.

SEQ files can be LOADed if you use the filename "FILENAME,S"; for USR
files, you have to use "FILENAME,U"

> I can't tell you the file sizes, but from about 1K
> anything is possible which fits into the BASIC RAM (and my code is there
> too). So I guess, I can't expect to load larger files than - let's say -
> about 30K,

LOAD works for the region $0400-$CFFF without problems. That is, a file
of approx. 52K is no problem. The LOAD routine just stores into the RAM
under the BASIC ROM in the area $A000-$BFFF.

You can also use the $E000-$FFFF area, as well as parts of lower address
than $0400 - but then, you should know exactly what you are doing.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                      http://vice-emu.sf.net/
----------------------------------------------------------------------
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 20:10:53 2011

This archive was generated by hypermail 2.1.8 : 2011-12-16 20:10:56 CET