update readme

This commit is contained in:
Joshua Bell 2019-01-07 23:11:00 -08:00
parent aa409cebc5
commit 3f11e3584a

View File

@ -12,7 +12,9 @@ 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).
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 (`GETLN` input buffer).
Example:
```
@ -21,8 +23,10 @@ Example:
] PATH - verify path
/hd/cmds
] BELL - will invoke /hd/cmds/BELL if present
] HELLO - will invoke /hd/cmds/HELLO if present
```
Notes:
* Allocates a 1 page buffer to store the code
* 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)