Skip to content
Vadim Grigoruk edited this page Nov 22, 2026 · 8 revisions

load <cart> Load cartridge from the local filesystem.
load <cart> [ code | tiles | sprites | map | sfx | music | palette | flags | screen ] Load data (sprites, map, etc) from an external cart to the already loaded cart.

Parameters

Required:

  • <cart> input cart name. .tic extension will be added if no extension is used. You can also load .png carts and text/project carts (.lua, .py, .rb, .js, .moon, .yue, .fnl, .nut, .wren, .janet, .scm, .ms, .fth, .gravity, .wasmp) [PRO version].

Optional (1 max):

Description

Load a cartridge from the local filesystem or load the data of an external cartridge to the currently loaded cart.

A text/project cart keeps the resources in tagged sections (TILES, SPRITES, MAP, SFX, PATTERNS, TRACKS, SCREEN, PALETTE, LANG, ...) after the code; load reads them together with the code. See save.

To load a code or image from an external file, use import.

Home
Tips for newcomers

Built-in Editors

Code | Sprites | Maps | SFX | Music

Console

All commands

save | export | load | import | menu | config | surf | shelf | demo | eval 

Platform

RAM | VRAM | Display | Palette | Bits per Pixel (BPP) | .tic Format | Supported Languages

Other

Tutorials | Code Snippets | Libraries | External Tools | FFT


API

All API functions

Callbacks

TIC | BOOT | MENU | BDR

  • SCN (deprecated)
  • OVR (deprecated)

Input

btn | btnp | btnr | key | keyp | keyr | mouse

Drawing

circ | circb | clip | cls | elli | ellib | font | line | map | paint | pix | print | rect | rectb | rrect | rrectb | spr | tri | trib | ttri | fill patterns

Sound

music | sfx | FFT | VQT

Memory

memcpy | memset | mget | mset | peek | poke | pmem | sync | vbank

System

exit | reset | time | tstamp | trace

Clone this wiki locally