mirror of
https://github.com/a2stuff/prodos-path.git
synced 2026-10-25 09:02:19 +00:00
0115a11684e45dffae882cf28672ff1884bb6902
path - CMD executable path command for ProDOS
Build with ca65
Installation:
- Copy target to ProDOS disk
- From BASIC.SYSTEM prompt, run:
-PATHfrom STARTUP (or by hand)
Usage:
PATH - view current search path
PATH prefix - set search path
Once set, binary files of type CMD in the specified directory can be invoked by name.
- CMD file is loaded at $4000 and invoked; should return (
rts) on completion - The command line will be present at $200 (
GETLNinput buffer).
Example:
] -/hd/path - install it
] PATH /hd/cmds - set PATH
] PATH - verify path
/hd/cmds
] BELL - will invoke /hd/cmds/BELL if present
] HELLO - will invoke /hd/cmds/HELLO if present
Notes:
- Allocates a 3 page buffer to store the code and path
- Can be invoked as lower case (e.g.
path ...) - Applesoft BASIC commands are unaffected (but can't be CMD names)
Languages
Assembly
87.5%
PHP
9.1%
Makefile
1.2%
BitBake
1.2%
Shell
1%