Picotron API > Functions

Overview

Documentation on all of the functions in the Picotron API

If you are using the Picotron Cartridge, you can right click on the sidebar to view the source code of each function (if available).

Kernel functions can be found here

Functions

Files

store_metadata

store

fetch_metadata

fetch

rm

ls

cd

cp

mv

open

mkdir

include

fullpath

fstat

pwd

Inputs

keyp

key

input

btnp

btn

mouselock

mouse

readtext

peektext

Variables

pod

unpod

type

Userdata

userdata

vec

Tables

all

add

del

deli

count

foreach

Strings

sub

split

char

create_delta

apply_delta

tokenoid

Numbers

max

min

Memory

unmap

peek8

peek4

peek2

peek

poke8

poke4

poke2

poke

memset

memmap

memcpy

Graphics

spr

sspr

set_spr

set_draw_target

rect

rectfill

rrect

rrectfill

oval

ovalfill

line

color

cls

clip

circ

circfill

camera

fillp

get_spr

get_draw_target

get_display

print

pset

pget

Audio

sfx

note

music

Processes

create_process

env

send_message

on_event

chooser

stop

exit

pid

window

menuitem

Uncategorised

vid

time

t

stat

socket

set_clipboard

printh

mset

mget

map

get_clipboard

fset

fget

error

date

cursor

create_gui

assert

scoresub