Skip to content

title: "KrillLoad" description: TRSE built-in method (from IDE help)


KrillLoad

Systems: C64, MEGA65, PLUS4
Parameters: a


KrillLoad( [address] );

  • [address] - address

Description

Loads a file from disk using the Krill loader system in TRSE.

For example, assume you have

  • Created a .paw d64 file that contains some random data file with name "my_file" placed at a memory location of your chosing
  • In the "project settings", selected a "d64" project
  • Wish to include krill's loader at $0200

you need to write the following code to be able to load the file:

Example

program Loader; var i: byte; @use KrillsLoader $0200 $2000 $5000 begin InitKrill(); KrillLoad( my_file ); end;