PATH command for Apple II ProDOS
Go to file
Joshua Bell 6c0f888b07 wip
2019-01-07 19:36:25 -08:00
.gitignore wip 2019-01-07 19:36:25 -08:00
bell.s wip 2019-01-07 19:36:25 -08:00
hello.s wip 2019-01-07 19:36:25 -08:00
Makefile wip 2019-01-07 19:36:25 -08:00
path.s wip 2019-01-07 19:36:25 -08:00
prodos.inc WIP 2019-01-06 22:56:45 -08:00
README.md wip 2019-01-06 17:23:56 -08:00

path - CMD executable path command for ProDOS

Build with ca65

Installation:

  • Copy target to ProDOS disk
  • From BASIC.SYSTEM prompt, run: -PATH from 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. The command line will be present at $200 (GETLN input buffer).

Example:

] -/hd/path              - install it
] PATH /hd/cmds          - set PATH
] PATH                   - verify path
/hd/cmds
] BELL                   - will invoke /hd/cmds/BELL if present

Notes:

  • Allocates a 1 page buffer to store the code
  • Can be invoked as lower case (e.g. path ...)