PRGlets Operations
PRGlets are small programs that are loaded into memory and executed on demand. The code has to be relocatable and conform to PRGlet calling conventions. They can compile on cloud on demand from high-level language (e.g. C) or assembly.
PRGlets can be used in HTML pages with Hondani browser.
There can always be only one PRGlet loaded at a time. It can receive data from stdin and return data to stdout which is always a dedicated buffer in memory (C64 RAM is swapped out to REU to free space for stdin/out data and then swapped back to C64 RAM). You can imagine PRGlet as always available, like being on a PATH in Linux.
prglet load "<filename>" - load PRGlet from disk
prglet run <name> [args...] - run loaded PRGlet with optional arguments
prglet list - list loaded PRGlets
prglet unload <name> - unload PRGlet from memory
Residential Programs
Residential programs are tiny programs loaded into memory and remain there for quick access. They can be used to extend the functionality of the system or provide commonly used utilities. Multiple residential programs can be loaded simultaneously. Residential can handle exution from an interrupt on every frame.
resident load "<filename>" - load a program to stay resident in memory
resident list - list resident programs
resident unload <name> - unload resident program from memory
PRGlets Operations
PRGlets are small programs that are loaded into memory and executed on demand. The code has to be relocatable and conform to PRGlet calling conventions. They can compile on cloud on demand from high-level language (e.g. C) or assembly.
PRGlets can be used in HTML pages with Hondani browser.
There can always be only one PRGlet loaded at a time. It can receive data from stdin and return data to stdout which is always a dedicated buffer in memory (C64 RAM is swapped out to REU to free space for stdin/out data and then swapped back to C64 RAM). You can imagine PRGlet as always available, like being on a PATH in Linux.
prglet load "<filename>"- load PRGlet from diskprglet run <name> [args...]- run loaded PRGlet with optional argumentsprglet list- list loaded PRGletsprglet unload <name>- unload PRGlet from memoryResidential Programs
Residential programs are tiny programs loaded into memory and remain there for quick access. They can be used to extend the functionality of the system or provide commonly used utilities. Multiple residential programs can be loaded simultaneously. Residential can handle exution from an interrupt on every frame.
resident load "<filename>"- load a program to stay resident in memoryresident list- list resident programsresident unload <name>- unload resident program from memory