Skip to content

Run prg files straight from HDN web browser (like applets) #13

Description

@slesinger

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthigh effortTeam estimated it is not so easy to do.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions